From 6087ba7d24f2353c2d01a5e5a384d5a20f97a19b Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期一, 15 五月 2023 08:10:53 +0800 Subject: [PATCH] 增加路线规划,样式修改 --- 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..dc142ea 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: 84%; 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; + bottom: 161rpx; + left: 42.5%; image { width: vww(52); height: vww(52); -- Gitblit v1.9.1