From fb4fa76b4c1a93c833cd97f97f41b6158ab1aef7 Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期五, 21 四月 2023 17:24:44 +0800
Subject: [PATCH] 修改bug
---
pages/driver-page/driver-index/bill-of-lading-details/coal-pick-up-bill/coal-pick-up-bill.vue | 31 ++++++++++++++++++++-----------
1 files changed, 20 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 286b841..14413d5 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
@@ -1,15 +1,16 @@
<template>
<view class="coal-pick-up-bill">
- <view class="driver" style="background:url(../../../../../static/image/coalBackgroud/coal-background.png) no-repeat;background-size:100% 100%;">
+ <view class="driver" style="background:url(https://mx.jzeg.cn:9095/appimg/image/coalBackgroud/coal-background.png) no-repeat;background-size:100% 100%;">
<view class="driver-coalOne">鐢靛瓙鎻愮叅鍗�</view>
<view class="driver-coalTwo">
- <view class="">{{ coalData.deptName || '鏆傛棤鎵�灞炵熆' }}</view>
- <view class="">{{ coalData.coalName || '鏆傛棤鐓ょ' }}</view>
- <view class="">{{ coalData.carNo || '鏆傛棤杞︾墝' }}</view>
+ <view>{{ coalData.code || '鏆傛棤璁㈠崟缂栧彿' }}</view>
+ <view class="bigFont">{{ coalData.deptName || '鏆傛棤鎵�灞炵熆' }}</view>
+ <view class="bigFont">{{ coalData.coalName || '鏆傛棤鐓ょ' }}</view>
+ <view class="bigFont">{{ coalData.carNo || '鏆傛棤杞︾墝' }}</view>
</view>
<view class="driver-coalThree">
- <view class="">{{ coalData.customerName || '鏆傛棤鍗曚綅' }}</view>
- <view class="">{{ coalData.yuYueTime || '鏆傛棤鏃堕棿' }}</view>
+ <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>
@@ -42,7 +43,9 @@
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('鍔犺浇澶辫触');
}
});
}
@@ -81,13 +84,19 @@
color: #2e363f;
view:nth-child(2) {
margin-top: vww(15);
+ font-size: 40px;
}
view:nth-child(3) {
margin-top: vww(15);
+ font-size: 40px;
+ }
+ view:nth-child(4) {
+ margin-top: vww(15);
+ font-size: 40px;
}
}
&-coalThree {
- margin-top: vww(76);
+ margin-top: vww(46);
font-size: vww(18);
font-family: Source Han Sans CN, Source Han Sans CN-Bold;
font-weight: 700;
@@ -98,10 +107,10 @@
}
}
&-coalFour {
- margin: vww(68) 0 0 45.5%;
+ margin: vww(59) 0 0 43%;
image {
- width: vww(35);
- height: vww(35);
+ width: vww(52);
+ height: vww(52);
}
}
}
--
Gitblit v1.9.1