This commit is contained in:
nyoung 2024-08-23 18:44:56 +08:00
parent 40dc3c5e9c
commit 7bd4bf6037

View File

@ -2,11 +2,11 @@
<view class="container">
<!-- #ifdef APP-PLUS || H5 -->
<view class="c-top">
<view style="width: 10px; height: 100%;" @click="getback()">
<uni-icons type="left" size="18"></uni-icons>
<view style="width: 10px; height: 100%;" >
<!-- <uni-icons type="left" size="18"></uni-icons>-->
</view>
<view class="c-title">运力中心</view>
<view style="width: 10px; height: 100%;"></view>
<view style="width: 10px; height: 100%;font-size: 16px;font-weight: bold;padding-right: 10px">···</view>
</view>
<!-- #endif -->
<!-- #ifdef MP-WEIXIN -->
@ -63,10 +63,10 @@
<view class="list">
<view class="c-box" v-for="(item,index) in arrlist" :key="index">
<view class="inline" style="padding: 15px 15px 0 15px;">
<view v-if="item.driverStatus == 1" class="item-state state-blue">空闲</view>
<view v-if="item.driverStatus == 2" class="item-state state-orange">暂停</view>
<view v-if="item.driverStatus == 3" class="item-state state-red">忙碌</view>
<view v-if="item.driverStatus == 4" class="item-state state-grey">离线</view>
<view v-if="item.driverStatus == 4" class="item-state state-blue">空闲</view>
<view v-if="item.driverStatus == 3" class="item-state state-orange">暂停</view>
<view v-if="item.driverStatus == 2" class="item-state state-red">忙碌</view>
<view v-if="item.driverStatus == 1" class="item-state state-grey">离线</view>
<view class="inline-item"> {{item.realName || ''}} | {{item.rescueCarNum|| ''}}</view>
</view>
@ -211,7 +211,9 @@
},
getback(){
this.destroyTimer();
uni.navigateBack()
uni.navigateBack({
delta: 1,
})
},
zhankai() {