修改bug
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
{{item.shopName}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="fivecontent_itemoneboxtow flex-start" @click="goMap">
|
||||
<view class="fivecontent_itemoneboxtow flex-start" @click="goMap(item)">
|
||||
<image class="fivecontent_itemoneboxtowimage"
|
||||
src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/dw.png" mode="widthFix"></image>
|
||||
<view class="fivecontent_itemoneboxtow_o">
|
||||
@@ -81,11 +81,15 @@
|
||||
this.distiricttopCommon()
|
||||
},
|
||||
methods: {
|
||||
goMap() {
|
||||
goMap(d) {
|
||||
uni.openLocation({
|
||||
longitude: uni.cache.get('getLocationstorage').lng,
|
||||
latitude: uni.cache.get('getLocationstorage').lat
|
||||
longitude: (d.lng * 1),
|
||||
latitude: (d.lat * 1)
|
||||
})
|
||||
// uni.openLocation({
|
||||
// longitude: uni.cache.get('getLocationstorage').lng,
|
||||
// latitude: uni.cache.get('getLocationstorage').lat
|
||||
// })
|
||||
},
|
||||
init_fn(e) {
|
||||
this.list = []
|
||||
|
||||
Reference in New Issue
Block a user