From 292019d23db79aa99535735e13e6b3c129d87251 Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期四, 02 十一月 2023 13:56:11 +0800 Subject: [PATCH] 验质员页面tabbarg高亮bug --- pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue | 26 +++++++++++++++++++------- 1 files changed, 19 insertions(+), 7 deletions(-) diff --git a/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue b/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue index f68f8af..ed5eef2 100644 --- a/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue +++ b/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue @@ -19,7 +19,7 @@ <view class="block-information"> <view class="block-main"> <view class="basic"> - <view class="coalName">{{ coalDetailsData.coalName||'' }}</view> + <view class="coalName"><text> {{ coalDetailsData.coalName||'' }}</text></view> <view class="status-button" :style="{ backgroundImage: `url(${onlineurl}/appimg/image/banner/statusbutton.png)`, backgroundSize: 'cover', backgroundRepeat: 'no-repeat' }"> {{ coalStatus[coalDetailsData.statusWeigh] || '' }} @@ -59,7 +59,7 @@ </view> <view class="utilsBox"> - <view class="utils_chil utils_chilTop"> + <view class="utils_chil utils_chilTop" v-if="!isReservation"> <view class="top-button"> <u-button text="绛惧埌" type="primary" @@ -90,12 +90,14 @@ </view> </view> </view> - <view class="weigh-ability"> + <view class="weigh-ability" v-if="!isReservation"> <view class="weigh-button"><u-button text="灞曠ず閫氱煡鍗�" @click="showCaolPickUpBill" type="primary" shape="circle"></u-button></view> - <view class="weigh-button"><u-button text="涓婄璁¢噺" + <view class="weigh-button"><u-button + :disabled="!isapproach" + text="涓婄璁¢噺" @click="cengZhongClick" type="primary" shape="circle"></u-button></view> @@ -140,6 +142,7 @@ return { orderPlanId: null, yyId: null, + chengZhongFlag:true, // 涓婃绉伴噸鐘舵�� dayRZ: [], coalDetailsData: {}, // 閫氱煡鍗曡鎯� currentPageCoalStatus: 0, // 褰撳墠椤甸潰閫氱煡鍗曠姸鎬� @@ -197,6 +200,7 @@ clean: "" }, completeOutSaleShow: false, + reservationIsShow:false, overTmWaixiao: null, // 鍒よ缃戠粶鐘舵�侊紝 normalCode: true, @@ -240,6 +244,10 @@ // 灞曠ず鐨瘺鍑� showWeigh() { return this.coalDetailsData.tmTaskCoalItems ? this.coalDetailsData.tmTaskCoalItems : [] + }, + //鍙告満棰嗗彇鐘舵�佹寜閽叏涓嶅睍绀� + isReservation(){ + return this.reservationIsShow < 1; } }, methods: { @@ -308,6 +316,7 @@ this.getServiceOpenid.filedId = this.coalDetailsData.filedId; // 鑾峰彇閫氱煡鍗曠姸鎬� this.currentPageCoalStatus = this.coalDetailsData.statusWeigh; + this.reservationIsShow = this.coalDetailsData.status; // 鑾峰彇鍘熷彂淇℃伅 this.primarySkin = this.coalDetailsData.skinTwo; this.primaryHair = this.coalDetailsData.hairTwo; @@ -491,7 +500,7 @@ // 鏌ョ湅璐ㄩ噺鏄庣粏 jumpWeighDetail() { uni.navigateTo({ - url: `/pages/driver-page/driver-index/bill-of-lading-details/weighDetail/weighDetail?orderPlanId=${this.orderPlanId}` + url: `/pages/driver-page/driver-index/bill-of-lading-details/weighDetail/weighDetail?orderPlanId=${this.orderPlanId}&flag=${true}` }) } } @@ -611,12 +620,15 @@ .coalName, .order-type { - width: 45%; - height: 30rpx; + width: 370rpx; + height: 55rpx; font-size: 30rpx; font-weight: 300; color: #515151; position: relative; + overflow: hidden; //婧㈠嚭闅愯棌 + text-overflow: ellipsis; //瓒呭嚭閮ㄥ垎鐪佺暐鍙� + white-space: nowrap; //涓嶆崲琛� } .black-block { -- Gitblit v1.9.1