From af436aa050f76584cd5cb88e413e45cd08c15d50 Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期三, 17 五月 2023 14:14:04 +0800
Subject: [PATCH] 修改部分错误,增加新功能

---
 pages/driver-page/driver-index/driver-index.vue |   38 ++++++++++++++++++++++++++++++++------
 1 files changed, 32 insertions(+), 6 deletions(-)

diff --git a/pages/driver-page/driver-index/driver-index.vue b/pages/driver-page/driver-index/driver-index.vue
index 65ca4f9..116235f 100644
--- a/pages/driver-page/driver-index/driver-index.vue
+++ b/pages/driver-page/driver-index/driver-index.vue
@@ -31,12 +31,15 @@
 								</view>
 							</view>
 						</view>
-						<view class="second-line">
+						<!-- <view class="second-line">
 							<view class="coal-name">{{ item.coalName }}</view>
-						</view>
+						</view> -->
 						<view class="third-line">
 							<view class="time-icon"><u-icon name="clock" color="#515151" size="40"></u-icon></view>
 							<view class="send-date">{{ item.sendDate }}</view>
+							<view class="type">
+								<view class="coal-name">{{ item.coalName }}</view>
+							</view>
 						</view>
 						<view class="fourth-line" @click="qiangDanBtn(item)" v-if="item.carNum - item.taskNum !== 0"><view class="button-img">绔嬪嵆鎶㈠崟</view></view>
 					</view>
@@ -505,10 +508,33 @@
 						width: 148rpx;
 						height: 24rpx;
 						margin-left: vww(14);
+						margin-right: vww(56);
 						line-height: 24rpx;
 						font-size: 28rpx;
 						font-weight: 300;
 						color: #515151;
+					}
+					.type {
+						flex: 1;
+						margin-right: vww(10);
+						display: flex;
+						justify-content: center;
+						align-items: center;
+						.coal-name {
+							width: 120rpx;
+							height: 42rpx;
+							line-height: 42rpx;
+							border: 2px solid #035cfb;
+							border-radius: 4rpx;
+							font-size: 28rpx;
+							font-weight: 300;
+							color: #035cfb;
+							text-align: center;
+							padding: vww(3) vww(11);
+							white-space: nowrap;
+							overflow: hidden;
+							text-overflow: ellipsis;
+						}
 					}
 				}
 				.fourth-line {
@@ -518,8 +544,8 @@
 					display: flex;
 					justify-content: flex-end;
 					position: relative;
-					left: vww(190);
-					bottom: vww(10);
+					left: vww(203);
+					bottom: vww(3);
 					.button-img {
 						width: 100%;
 						height: 100%;
@@ -608,9 +634,9 @@
 					justify-content: flex-start;
 					margin-left: vww(18);
 					.clock {
-						width: 33%;
+						width: 40%;
 						height: vww(21);
-						margin-right: vww(70);
+						margin-right: vww(50);
 						line-height: vww(21);
 						@include flex;
 						justify-content: flex-start;

--
Gitblit v1.9.1