From 79993be468244e6cc16ce9c1d7e8736bd359c600 Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期五, 05 五月 2023 14:48:51 +0800 Subject: [PATCH] 样式全面修改,所有页面焕然一新 --- pages/driver-page/driver-index/bill-of-lading-details/coal-pick-up-bill/coal-pick-up-bill.vue | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 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 5a8dfa7..fa878bb 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,6 +1,6 @@ <template> <view class="coal-pick-up-bill"> - <view class="driver" style="background:url(https://hesuancj.cn:9095/appimg/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>{{ coalData.code || '鏆傛棤璁㈠崟缂栧彿' }}</view> @@ -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,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('鍔犺浇澶辫触'); } }); } @@ -105,7 +107,10 @@ } } &-coalFour { - margin: vww(59) 0 0 43%; + display: flex; + justify-content: center; + align-items: center; + margin-top: vww(78); image { width: vww(52); height: vww(52); -- Gitblit v1.9.1