From dc2feac90dfb28b28cadf94e703ab3a97157da08 Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期五, 30 六月 2023 09:25:56 +0800
Subject: [PATCH] 司机首页去掉无用状态

---
 pages/driver-page/driver-index/driver-index.vue |   29 +++++++++++++++++++++--------
 1 files changed, 21 insertions(+), 8 deletions(-)

diff --git a/pages/driver-page/driver-index/driver-index.vue b/pages/driver-page/driver-index/driver-index.vue
index b00d209..13f4f87 100644
--- a/pages/driver-page/driver-index/driver-index.vue
+++ b/pages/driver-page/driver-index/driver-index.vue
@@ -45,9 +45,6 @@
 								</view>
 							</view>
 						</view>
-						<!-- <view class="second-line">
-							<view class="coal-name">{{ item.coalName }}</view>
-						</view> -->
 						<view class="third-line">
 							<view class="time-icon"><u-icon name="clock"
 									color="#515151"
@@ -58,7 +55,7 @@
 							</view>
 						</view>
 						<view class="fourth-line"
-							@click="qiangDanBtn(item)"
+							@click.stop="qiangDanBtn(item)"
 							v-if="item.carNum - item.taskNum !== 0">
 							<view class="button-img">绔嬪嵆鎶㈠崟</view>
 						</view>
@@ -127,6 +124,11 @@
 											size="40"></u-icon></view>
 								</view>
 							</view>
+							<!-- <view class="status">
+								<u-tag :text="coalStatus[item.statusWeigh] || ''"
+									plain>
+								</u-tag>
+							</view> -->
 							<view class="third-line">
 								<view class="clock">
 									<view class="time-icon"><u-icon name="clock"
@@ -203,6 +205,11 @@
 											size="40"></u-icon></view>
 								</view>
 							</view>
+							<view class="status">
+								<u-tag :text="coalStatus[item.statusWeigh] || ''"
+									plain>
+								</u-tag>
+							</view>
 							<view class="third-line">
 								<view class="clock havedclock">
 									<view class="time-icon"><u-icon name="clock"
@@ -261,7 +268,8 @@
 				qiangDanOrderPlanId: null,
 				fleetId: '',
 				xsUserId: '',
-				customerId: ''
+				customerId: '',
+				coalStatus: ['鏈О閲�', '绉伴噸涓�', '楠岃川涓�', '绉伴噸瀹屾垚']
 			};
 		},
 		onShow() {
@@ -461,7 +469,7 @@
 
 				.collection-form-item {
 					width: vww(345);
-					height: vww(185);
+					height: vww(195);
 					margin-top: vww(5);
 					background: #ffffff;
 					box-shadow: 4rpx 6rpx 25rpx 0rpx rgba(73, 120, 240, 0.15);
@@ -561,8 +569,9 @@
 						align-items: center;
 
 						.coal-name {
+							@include flex;
 							min-width: vww(50);
-							height: 35rpx;
+							height: 100%;
 							font-size: 30rpx;
 							font-weight: 300;
 							color: #515151;
@@ -681,7 +690,7 @@
 
 				.appointment-form-item {
 					@include formItem;
-					height: vww(191);
+					height: vww(220);
 					justify-content: space-between;
 					overflow: hidden;
 
@@ -772,6 +781,10 @@
 						}
 					}
 
+					.status {
+						@include thirdLine;
+					}
+
 					.third-line {
 						@include thirdLine;
 						width: 94%;

--
Gitblit v1.9.1