You've already forked qlg.frontend
顺带件样式
This commit is contained in:
@ -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) {
|
||||
|
||||
})
|
||||
},
|
||||
})
|
Reference in New Issue
Block a user