From df14d215c569aadd4515a6033d09739bbb8eff64 Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期二, 03 九月 2024 08:41:25 +0800 Subject: [PATCH] feat:PCV库管补充细节 --- pages/doorkeeper-page/doorkeeper-index/doorkeeper-index.vue | 29 ++++++++++++++++------------- 1 files changed, 16 insertions(+), 13 deletions(-) diff --git a/pages/doorkeeper-page/doorkeeper-index/doorkeeper-index.vue b/pages/doorkeeper-page/doorkeeper-index/doorkeeper-index.vue index a253c4d..212e9a8 100644 --- a/pages/doorkeeper-page/doorkeeper-index/doorkeeper-index.vue +++ b/pages/doorkeeper-page/doorkeeper-index/doorkeeper-index.vue @@ -23,7 +23,7 @@ <view class="dispatch">{{ item.customerName ||'' }}</view> </view> <view class="point-number"> - <text class="order-type">{{ item.productNames || '' }}</text> + <text class="order-type">{{ item.productNames?limitString(item.productNames,20,'...'):'' || '' }}</text> </view> </view> <view class="second-line"> @@ -38,7 +38,7 @@ <view class="third-line"> <view class="time-icon"> <view - style="width: 24rpx;height: 24rpx;li ne-height: 24rpx;background: url('https://mx.jzeg.cn:9096/appimg/image/banner/clock.png') no-repeat;background-size: cover"> + style="width: 24rpx;height: 24rpx;line-height: 24rpx;background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/clock.png') no-repeat;background-size: cover"> </view> </view> <view class="send-date">{{ item.sendDate }} {{ item.startTime || '' }}-{{item.endTime || ""}}</view> @@ -47,7 +47,7 @@ <view class="receive" v-if="item.roadTransportId" @click.stop="lookRoad(item)"> - <view class="button-image">閬撹矾杩愯緭璇�</view> + <view class="button-image">鍓ф瘨杩愯緭璇�</view> </view> <view class="forward" @click.stop="yuYueBtnClick(item)"> @@ -64,7 +64,7 @@ <view class="imgrPopup"> <u--image :showLoading="true" :src="certificateImg != null ? BaseUrl + certificateImg : ''" - width="700rpx" + width="100%" height="400rpx" @click="imageClick(certificateImg)"> <view slot="error" @@ -166,6 +166,10 @@ this.init(); }, methods: { + limitString(str, limit, suffix = '...') { + if (str.length <= limit) return str; + return str.slice(0, limit) + suffix; + }, falseConfirm(){ this.inspectData=[] uni.showLoading({ title: '鍔犺浇涓�...' }); @@ -353,7 +357,7 @@ } } .imgrPopup{ - width: 700rpx; + width: 80vw; background-color: #ffffff; .driveruser{ display: flex; @@ -362,9 +366,10 @@ } .receiverPopup { height: vww(153); - width: 500rpx; + width: 60vw; .receiverPopup__title { + font-size: 1.4vw; margin: vww(10) auto 0; width: 80%; text-align: center; @@ -424,7 +429,7 @@ line-height: vww(20); padding: vww(5) vww(10); color: #111111; - font-size: vww(18); + font-size: 2vw; font-weight: 550; background: #ffffff; } @@ -433,7 +438,7 @@ height: vww(32); line-height: vww(20); padding: vww(5) vww(5); - font-size: vww(16); + font-size: 1.5vw; color: #111111; background: #ffffff; .u-button { @@ -456,7 +461,7 @@ } .collection-form-item { margin: 0 vww(15); - width: 690rpx; + width: 95%; height: 370rpx; background: #ffffff; box-shadow: 4rpx 6rpx 25rpx 0rpx rgba(73, 120, 240, 0.15); @@ -503,12 +508,10 @@ } .point-number { - width: 15%; + width: 33%; .order-type { color: #035cfb; - border: 2px solid #035cfb; border-radius: 4rpx; - padding: vww(2) vww(4); text-align: center; } // text { @@ -585,7 +588,7 @@ justify-content: flex-start; position: relative; bottom: vww(10); - left: 25%; + left: 30%; .receive, .forward { -- Gitblit v1.9.1