diff --git a/pages/index/components/advertisement.vue b/pages/index/components/advertisement.vue index da5433e..f9f4fc8 100644 --- a/pages/index/components/advertisement.vue +++ b/pages/index/components/advertisement.vue @@ -1,7 +1,10 @@ + \ No newline at end of file diff --git a/pages/product/index.vue b/pages/product/index.vue index d927169..655026a 100644 --- a/pages/product/index.vue +++ b/pages/product/index.vue @@ -64,11 +64,11 @@ 营业时间:{{listdata.businessTime}} - + - {{listdata.distances}}km + {{listdata.distances}} {{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) }) }, // 跳转