From 6fb5049934c619df6b131a00457201b483e89c35 Mon Sep 17 00:00:00 2001 From: JerryYan <792602257@qq.com> Date: Sat, 22 Aug 2020 22:24:34 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=BA=E5=B8=A6=E4=BB=B6=E5=88=9D=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/shundaijian.css | 32 +++++++++++++++++ js/my.js | 3 ++ js/shundaijian.js | 45 ++++++++++++++++++++++++ templete/my.html | 4 +-- templete/shundaijian.html | 73 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 155 insertions(+), 2 deletions(-) create mode 100644 css/shundaijian.css create mode 100644 js/shundaijian.js create mode 100644 templete/shundaijian.html diff --git a/css/shundaijian.css b/css/shundaijian.css new file mode 100644 index 0000000..5890887 --- /dev/null +++ b/css/shundaijian.css @@ -0,0 +1,32 @@ +.row { + background: white; + width: 100%; + height: 120px; + border-bottom: 1px solid #ebebeb; + position: relative; + margin-bottom: 5px; +} + +.block{ + margin-top: 36px; + padding: 0 2%; +} + +.z{ + width: 100%; + height: 50px; +} + +.name { + font-size: 1.2rem; + color: black; + line-height: 36px; + height: 36px; + overflow: hidden; + padding-left: 5px; + font-weight: bolder; +} + +[v-cloak] { + display: none; +} diff --git a/js/my.js b/js/my.js index 4da971a..f97284b 100644 --- a/js/my.js +++ b/js/my.js @@ -280,6 +280,9 @@ var localAuthType = localStorage.getItem("authType"); $('.mydata-content').on('tap', '.shoppingcart', function() { JZL.openWindow('shoppingcart_warp.html', 'shoppingcart_warp.html') }) + $('.mydata-content').on('tap', '.shundaijian', function() { + JZL.openWindow('shundaijian.html', 'shundaijian.html') + }) $('.mydata-content').on('tap', '.shangdu', function() { if (authType == 2) { JZL.openWindow('shangdu.html', 'shangdu.html') diff --git a/js/shundaijian.js b/js/shundaijian.js new file mode 100644 index 0000000..0e6f8ae --- /dev/null +++ b/js/shundaijian.js @@ -0,0 +1,45 @@ +mui.plusReady(function(){ + +}) + +const app = new Vue({ + el: '#app', + data() { + return { + orderList: [ + ], + } + }, + methods: { + loadData() { + // $.ajax({ + // url: qlgUrl("app/note/index"), + // method: "GET", + // dataType: 'json', + // success: (res) => { + // if(res.status == 1){ + // this.noteData = res.data; + // }else{ + // mui.alert(res.msg); + // } + // }, + // error: function(err){ + // mui.alert("请求失败"); + // self.back(); + // } + // }); + this.orderList = [ + { + from_address: '测试dizhi 测试地址测试地址测试地址测试地址测试地址测试地址', + to_address: '测试地址测试地址测试地址测试地址测试地址测试地址', + deliver_fee: '8.00', + fee: '18.00', + before: '2020/20/20 11:20' + } + ] + }, + }, + created() { + this.loadData(); + }, +}) \ No newline at end of file diff --git a/templete/my.html b/templete/my.html index ba32fe6..79fc1af 100644 --- a/templete/my.html +++ b/templete/my.html @@ -170,11 +170,11 @@ -