From 21fb37c7162d5b47a14d6438870377c85fcc0b52 Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期六, 07 十月 2023 10:23:21 +0800
Subject: [PATCH] 修改装卸员页面 调整websocket逻辑

---
 pages/driver-page/driver-index/bill-of-lading-details/coal-pick-up-bill/coal-pick-up-bill.vue |   26 +++++++++++++++-----------
 1 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/pages/driver-page/driver-index/bill-of-lading-details/coal-pick-up-bill/coal-pick-up-bill.vue b/pages/driver-page/driver-index/bill-of-lading-details/coal-pick-up-bill/coal-pick-up-bill.vue
index e0fdead..833583d 100644
--- a/pages/driver-page/driver-index/bill-of-lading-details/coal-pick-up-bill/coal-pick-up-bill.vue
+++ b/pages/driver-page/driver-index/bill-of-lading-details/coal-pick-up-bill/coal-pick-up-bill.vue
@@ -12,7 +12,7 @@
 				<view>{{ coalData.customerName || '鏆傛棤鍗曚綅' }}</view>
 				<view>{{ coalData.yuYueTime ? coalData.yuYueTime.slice(0, 10) + ' ' + coalData.yuYueTime.slice(11, 22) : '鏆傛棤鏃堕棿' }}</view>
 			</view>
-			<view class="driver-coalFour"><image src="@/static/logo.gif" mode=""></image></view>
+			<view class="driver-coalFour"><image src="https://mx.jzeg.cn:9095/appimg/logo.gif" mode=""></image></view>
 		</view>
 	</view>
 </template>
@@ -43,7 +43,7 @@
 			this.$reqGet('getTakeCoal', { takeCoalId: this.orderPlanId }).then(res => {
 				console.log('鑾峰彇鎻愮叅鍗曡鎯�', res);
 				if (res.code == 0) {
-					this.coalData = res.data[0];
+					this.coalData = res.data;
 				} else {
 					this.$u.toast('鍔犺浇澶辫触');
 				}
@@ -71,43 +71,47 @@
 			margin-top: 19%;
 			text-align: center;
 			font-size: vww(40);
-			font-family: Source Han Sans CN, Source Han Sans CN-Bold;
 			font-weight: 700;
 			color: #896227;
 		}
 		&-coalTwo {
+			width: 80%;
 			margin-top: 20%;
+			margin: 20% auto 0;
 			font-size: vww(20);
-			font-family: Source Han Sans CN, Source Han Sans CN-Bold;
 			font-weight: 700;
 			text-align: center;
 			color: #2e363f;
 			view:nth-child(2) {
 				margin-top: vww(15);
-				font-size: 40px;
+				font-size: 30px;
 			}
 			view:nth-child(3) {
 				margin-top: vww(15);
-				font-size: 40px;
+				font-size: 30px;
 			}
 			view:nth-child(4) {
 				margin-top: vww(15);
-				font-size: 40px;
+				font-size: 30px;
 			}
 		}
 		&-coalThree {
-			margin-top: vww(46);
+			margin-top: vww(15);
 			font-size: vww(18);
-			font-family: Source Han Sans CN, Source Han Sans CN-Bold;
 			font-weight: 700;
 			text-align: center;
 			color: #2e363f;
 			view:nth-child(2) {
-				margin-top: vww(8);
+				margin-top: vww(15);
 			}
 		}
 		&-coalFour {
-			margin: vww(59) 0 0 43%;
+			display: flex;
+			justify-content: center;
+			align-items: center;
+			position: absolute;
+			width: 100%;
+			bottom: 161rpx;
 			image {
 				width: vww(52);
 				height: vww(52);

--
Gitblit v1.9.1