|
|
@ -90,7 +90,7 @@ |
|
|
<view class="worker-remark"> |
|
|
<view class="worker-remark"> |
|
|
备注:<text style="color: #000;">{{worker.remark || '无'}}</text> |
|
|
备注:<text style="color: #000;">{{worker.remark || '无'}}</text> |
|
|
</view> |
|
|
</view> |
|
|
<view class="delivery-location"> |
|
|
<view class="delivery-location" :class="{'delivery-location--disabled': worker.deliveryLocation == 1}"> |
|
|
{{formatDeliveryLocation(worker.deliveryLocation)}} |
|
|
{{formatDeliveryLocation(worker.deliveryLocation)}} |
|
|
</view> |
|
|
</view> |
|
|
<view class="location-btn" @tap.stop="getLoca(worker)"> |
|
|
<view class="location-btn" @tap.stop="getLoca(worker)"> |
|
|
@ -275,7 +275,7 @@ |
|
|
this.longitude = this.markers[0].longitude |
|
|
this.longitude = this.markers[0].longitude |
|
|
}, |
|
|
}, |
|
|
formatDeliveryLocation(value) { |
|
|
formatDeliveryLocation(value) { |
|
|
return value == 1 ? '送到宿舍门口' : '送上楼' |
|
|
return value == 1 ? '不送上楼' : '送上楼' |
|
|
}, |
|
|
}, |
|
|
getShopList() { |
|
|
getShopList() { |
|
|
this.loadStatus = 'loading'; |
|
|
this.loadStatus = 'loading'; |
|
|
@ -617,6 +617,12 @@ |
|
|
white-space: nowrap; |
|
|
white-space: nowrap; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.delivery-location--disabled { |
|
|
|
|
|
background: rgba(255, 77, 0, 0.1); |
|
|
|
|
|
border-color: rgba(255, 77, 0, 0.45); |
|
|
|
|
|
color: #f0441f; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.location-btn { |
|
|
.location-btn { |
|
|
height: 44rpx; |
|
|
height: 44rpx; |
|
|
line-height: 44rpx; |
|
|
line-height: 44rpx; |
|
|
|