修改bug

This commit is contained in:
duan
2024-05-17 09:29:08 +08:00
parent 6ee3d6a8c9
commit ea60344f02
9 changed files with 351 additions and 301 deletions

View File

@@ -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)
})
},
// 跳转