顺带件样式

This commit is contained in:
2020-08-23 23:09:56 +08:00
parent 6fb5049934
commit 17b4415c12
3 changed files with 89 additions and 4 deletions

View File

@ -8,6 +8,7 @@ const app = new Vue({
return {
orderList: [
],
location: [0,0],
}
},
methods: {
@ -34,12 +35,22 @@ const app = new Vue({
to_address: '测试地址测试地址测试地址测试地址测试地址测试地址',
deliver_fee: '8.00',
fee: '18.00',
before: '2020/20/20 11:20'
before: '2020/20/20 11:20',
shop_phone: '15270565303',
buyer_phone: '15270565304',
}
]
},
},
created() {
this.loadData();
plus.geolocation.getCurrentPosition((p) => {
console.log(p.coords.latitude);
console.log(p.coords.longitude);
this.location=[p.coords.latitude, p.coords.longitude];
},function (err) {
})
},
})