From 472a1ffc28590479b3f4027cbe8d04e699b6e592 Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期二, 18 七月 2023 16:00:26 +0800 Subject: [PATCH] 修改样式,增加逻辑,修复计算错误 --- pages/driver-page/driver-index/driver-index.vue | 34 ++++++++++++++-------------------- 1 files changed, 14 insertions(+), 20 deletions(-) diff --git a/pages/driver-page/driver-index/driver-index.vue b/pages/driver-page/driver-index/driver-index.vue index c202c4c..4821623 100644 --- a/pages/driver-page/driver-index/driver-index.vue +++ b/pages/driver-page/driver-index/driver-index.vue @@ -2,9 +2,9 @@ <view class=""> <view class="driver-index"> <view class="driver-index-body"> - <!-- 寰呴鍙栨彁鐓ゅ崟 --> + <!-- 寰呴鍙栭�氱煡鍗� --> <view class="wait-collection" - style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/diverbanner.png') no-repeat;background-size:contain"> + :style="{ backgroundImage: `url(${onlineurl}/appimg/image/banner/diverbanner.png)`, backgroundSize: 'contain', backgroundRepeat: 'no-repeat' }"> </view> <view class="collection-form"> <view class="collection-form-item" @@ -45,13 +45,6 @@ </view> </view> </view> - <view class="second-line"> - <view class="coal-name"> - <u-tag :text="coalStatus[item.statusWeigh] || '鏈О閲�'" - plain> - </u-tag> - </view> - </view> <view class="third-line"> <view class="time-icon"><u-icon name="clock" color="#515151" @@ -78,9 +71,9 @@ @cancel="qiangDanCancel"></u-modal> </view> - <!-- 寰呴绾︽彁鐓ゅ崟 --> + <!-- 寰呴绾﹂�氱煡鍗� --> <view class="wait-appointment"> - <combined-title title="寰呴绾︽彁鐓ゅ崟"></combined-title> + <combined-title title="寰呴绾﹂�氱煡鍗�"></combined-title> <u-empty mode="data" icon="http://cdn.uviewui.com/uview/empty/data.png" textSize="30" @@ -131,11 +124,11 @@ size="40"></u-icon></view> </view> </view> - <view class="status"> + <!-- <view class="status"> <u-tag :text="coalStatus[item.statusWeigh] || ''" plain> </u-tag> - </view> + </view> --> <view class="third-line"> <view class="clock"> <view class="time-icon"><u-icon name="clock" @@ -156,9 +149,9 @@ </view> </view> - <!-- 宸查绾︽彁鐓ゅ崟 --> + <!-- 宸查绾﹂�氱煡鍗� --> <view class="Reserved"> - <combined-title title="宸查绾︽彁鐓ゅ崟"></combined-title> + <combined-title title="宸查绾﹂�氱煡鍗�"></combined-title> <u-empty mode="data" icon="http://cdn.uviewui.com/uview/empty/data.png" textSize="30" @@ -241,7 +234,7 @@ <script> import { customerId } from '@/utils/status'; import combinedTitle from '@/components/combined-title/combined-title.vue'; - + import { onlineurl } from '@/api/request.js' export default { components: { combinedTitle @@ -276,7 +269,8 @@ fleetId: '', xsUserId: '', customerId: '', - coalStatus: ['鏈О閲�', '绉伴噸涓�', '楠岃川涓�', '绉伴噸瀹屾垚'] + coalStatus: ['鏈О閲�', '绉伴噸涓�', '楠岃川涓�', '绉伴噸瀹屾垚'], + onlineurl, }; }, onShow() { @@ -353,7 +347,7 @@ url: `/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details?orderPlanId=${value.id}&yyId=${value.yyId}` }); }, - // 鎻愮叅鍗曡鎯� + // 閫氱煡鍗曡鎯� cardBodyClick(name) { uni.navigateTo({ url: `/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details?orderPlanId=${name}` @@ -462,7 +456,7 @@ .driver-index-body { // margin-bottom: vww(56); - // 寰呴鍙栨彁鐓ゅ崟 + // 寰呴鍙栭�氱煡鍗� .wait-collection { width: 100%; height: 600rpx; @@ -476,7 +470,7 @@ .collection-form-item { width: vww(345); - height: vww(220); + height: vww(195); margin-top: vww(5); background: #ffffff; box-shadow: 4rpx 6rpx 25rpx 0rpx rgba(73, 120, 240, 0.15); -- Gitblit v1.9.1