修改bug
This commit is contained in:
@@ -64,11 +64,11 @@
|
||||
<view class="theretherecontent">
|
||||
营业时间:{{listdata.businessTime}}
|
||||
</view>
|
||||
<view class="fourtherecontent flex-start" @click="goMap">
|
||||
<view class="fourtherecontent flex-start" @click="goMap(listdata)">
|
||||
<image class="fourtherecontentimage"
|
||||
src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/product/d.png" mode="aspectFill"></image>
|
||||
<view class="fourtherecontent_o">
|
||||
{{listdata.distances}}km
|
||||
{{listdata.distances}}
|
||||
</view>
|
||||
<view class="fourtherecontent_t">
|
||||
{{listdata.address}}
|
||||
@@ -403,10 +403,10 @@
|
||||
name
|
||||
})
|
||||
},
|
||||
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)
|
||||
})
|
||||
},
|
||||
// 跳转
|
||||
|
||||
Reference in New Issue
Block a user