|
|
@ -11,7 +11,7 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</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> |
|
|
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="title-sort"> |
|
|
<view class="sort-member" style="position: relative;"> |
|
|
<view class="sort-member" style="position: relative;"> |
|
|
@ -135,6 +135,14 @@ |
|
|
this.getShopList(); |
|
|
this.getShopList(); |
|
|
}, |
|
|
}, |
|
|
onLoad(option) { |
|
|
onLoad(option) { |
|
|
|
|
|
uni.getLocation({ |
|
|
|
|
|
type: 'gcj02', |
|
|
|
|
|
isHighAccuracy:true, |
|
|
|
|
|
success: (res) => { |
|
|
|
|
|
this.latitude = res.latitude; |
|
|
|
|
|
this.longitude = res.longitude; |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
this.shopAreaId = option.shopAreaId || ''; |
|
|
this.shopAreaId = option.shopAreaId || ''; |
|
|
this.putAreaId = option.putAreaId || ''; |
|
|
this.putAreaId = option.putAreaId || ''; |
|
|
this.orderType = option.orderType || 0; |
|
|
this.orderType = option.orderType || 0; |
|
|
@ -184,12 +192,12 @@ |
|
|
width: 30, |
|
|
width: 30, |
|
|
height: 30, |
|
|
height: 30, |
|
|
callout: { |
|
|
callout: { |
|
|
content: "状态不对", |
|
|
content: that.workerList[i].workerName, |
|
|
color: '#333333', |
|
|
color: '#333333', |
|
|
fontSize: 14, |
|
|
fontSize: 14, |
|
|
borderRadius: 10, |
|
|
borderRadius: 10, |
|
|
bgColor: '#ffffff', |
|
|
bgColor: '#ffffff', |
|
|
padding: 8, |
|
|
padding: 6, |
|
|
display: 'ALWAYS' // 可选 'BYCLICK'(点击) 或 'ALWAYS'(常显) |
|
|
display: 'ALWAYS' // 可选 'BYCLICK'(点击) 或 'ALWAYS'(常显) |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
|