From d32524bb1a566c0b6fd59b2d9f99e4d2a196bd5e Mon Sep 17 00:00:00 2001 From: tianyi <13521030702@163.com> Date: Mon, 11 May 2026 15:07:47 +0800 Subject: [PATCH] 1 --- package1/index/deliveryPersonList.vue | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/package1/index/deliveryPersonList.vue b/package1/index/deliveryPersonList.vue index 7d5e383..ba4c0d2 100644 --- a/package1/index/deliveryPersonList.vue +++ b/package1/index/deliveryPersonList.vue @@ -11,7 +11,7 @@ - @@ -135,6 +135,14 @@ this.getShopList(); }, onLoad(option) { + uni.getLocation({ + type: 'gcj02', + isHighAccuracy:true, + success: (res) => { + this.latitude = res.latitude; + this.longitude = res.longitude; + } + }); this.shopAreaId = option.shopAreaId || ''; this.putAreaId = option.putAreaId || ''; this.orderType = option.orderType || 0; @@ -184,12 +192,12 @@ width: 30, height: 30, callout: { - content: "状态不对", + content: that.workerList[i].workerName, color: '#333333', fontSize: 14, borderRadius: 10, bgColor: '#ffffff', - padding: 8, + padding: 6, display: 'ALWAYS' // 可选 'BYCLICK'(点击) 或 'ALWAYS'(常显) } });