tianyi 4 weeks ago
parent
commit
d32524bb1a
  1. 14
      package1/index/deliveryPersonList.vue

14
package1/index/deliveryPersonList.vue

@ -11,7 +11,7 @@
</view>
</view>
</view>
<map id="map" :latitude="latitude" :longitude="longitude" :markers="markers"
<map id="map" :latitude="latitude" scale="18" :longitude="longitude" :markers="markers"
style="width: 95%;height: 300rpx;margin: 0 auto;border-radius: 20rpx;overflow: hidden;position: absolute;top: 200rpx;left: 1%;border: 4rpx solid #fff;"></map>
<view class="title-sort">
<view class="sort-member" style="position: relative;">
@ -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'()
}
});

Loading…
Cancel
Save