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 @@ -
+
-

申请微吧

+

顺带件

diff --git a/templete/shundaijian.html b/templete/shundaijian.html new file mode 100644 index 0000000..cdb532e --- /dev/null +++ b/templete/shundaijian.html @@ -0,0 +1,73 @@ + + + + + + + 顺带件 + + + + +
+
+ + +

顺带件

+
+
+
+ +
+
+
+
+
店铺:{{each.from_address}}
+
送至:{{each.to_address}}
+
+
+ + + + + + +