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'(常显) } });