From 3d87bf45986772678752aa2d53a2d2dba51efc0b Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期五, 16 八月 2024 17:22:11 +0800 Subject: [PATCH] feat:货代首页单位显示问题 --- pages/customer-page/customer-index/customer-index.vue | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/pages/customer-page/customer-index/customer-index.vue b/pages/customer-page/customer-index/customer-index.vue index 953c7f0..c07af3a 100644 --- a/pages/customer-page/customer-index/customer-index.vue +++ b/pages/customer-page/customer-index/customer-index.vue @@ -5,7 +5,7 @@ <!-- 寰呴鍙栧拰杞彂鏀跺彂鍗� --> <view class="wait-collection" - style="background: url('https://mx.jzeg.cn:9096/appimg/image/banner/customerbanner.png') no-repeat;background-size:contain"> + style="background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/customerbanner.png') no-repeat;background-size:contain"> </view> <!-- 鑷富閰嶉�佺晫闈� --> <view class="self-deliver" v-if="personnelType === 1"> @@ -50,7 +50,7 @@ </view> <view class="second-line"> <view class="coal-name"> - <view class="">{{ item.productNames || item.productName }}</view> + <view class="coal-name-tag">{{ item.productNames || item.productName }}</view> <view class="black-bar"></view> <view class="coal-type" v-if="item.orderType">{{ item.orderType }}</view> @@ -482,6 +482,9 @@ width: 70%; height: vww(50); margin-right: vww(21); + white-space: nowrap; /* 涓嶆崲琛� */ + overflow: hidden; /* 瓒呭嚭闅愯棌 */ + text-overflow: ellipsis; } .order-type { @@ -614,7 +617,7 @@ .second-line { width: 100%; - height: vww(90); + height: vww(50); margin-left: vww(16); display: flex; align-items: center; @@ -632,6 +635,12 @@ display: flex; margin-top: 20rpx; align-items: center; + .coal-name-tag{ + width: 70%; + white-space: nowrap; /* 涓嶆崲琛� */ + overflow: hidden; /* 瓒呭嚭闅愯棌 */ + text-overflow: ellipsis; + } .black-bar { width: 2rpx; -- Gitblit v1.9.1