wangfukang 1 month ago
parent
commit
adb5ff301d
  1. 10
      package1/index/deliveryPersonList.vue

10
package1/index/deliveryPersonList.vue

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

Loading…
Cancel
Save