From 9ac72304c7b6e85cff5a96e6054d7b58bd56bc2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?TOP=E7=B3=AF=E7=B1=B3?= <1130395124@qq.com> Date: Sat, 1 Apr 2023 22:17:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9C=B0=E5=9B=BE=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/get/detail.vue | 13 +++++++------ src/pages/order/detail.vue | 13 +++++++------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/src/pages/get/detail.vue b/src/pages/get/detail.vue index 46ecc9e..ebf8dcf 100644 --- a/src/pages/get/detail.vue +++ b/src/pages/get/detail.vue @@ -54,7 +54,7 @@ 上门地址 - + @@ -86,7 +86,7 @@ 取货地址 - + @@ -103,7 +103,7 @@ 卸货地址 - + @@ -189,10 +189,11 @@ export default { onReachBottom() {}, onPullDownRefresh() {}, methods: { - openLocation(lng, lat) { + openLocation(address) { uni.openLocation({ - longitude: parseFloat(lng), - latitude: parseFloat(lat), + longitude: parseFloat(address.lng), + latitude: parseFloat(address.lat), + name: address.address + address.detail, }); }, copyOrderId(orderId) { diff --git a/src/pages/order/detail.vue b/src/pages/order/detail.vue index 2d7d38d..51a2dc0 100644 --- a/src/pages/order/detail.vue +++ b/src/pages/order/detail.vue @@ -53,7 +53,7 @@ 上门地址 - + @@ -87,7 +87,7 @@ 取货地址 - + @@ -105,7 +105,7 @@ 卸货地址 - + @@ -189,10 +189,11 @@ export default { onReachBottom() {}, onPullDownRefresh() {}, methods: { - openLocation(lng, lat) { + openLocation(address) { uni.openLocation({ - longitude: parseFloat(lng), - latitude: parseFloat(lat), + longitude: parseFloat(address.lng), + latitude: parseFloat(address.lat), + name: address.address + address.detail, }); }, copyOrderId(orderId) {