From 7c35ab19240a46c39f2bbf91414b69a39bb0e211 Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期三, 19 七月 2023 14:40:38 +0800 Subject: [PATCH] no message --- uniapp/components/rowGoods.vue | 20 +++++++++++++------- 1 files changed, 13 insertions(+), 7 deletions(-) diff --git a/uniapp/components/rowGoods.vue b/uniapp/components/rowGoods.vue index 6a2d257..d2dde21 100644 --- a/uniapp/components/rowGoods.vue +++ b/uniapp/components/rowGoods.vue @@ -17,12 +17,12 @@ <view class="cardbottom-container colCenEnd"> <view class="discounts-container rowCen borderBox"> - <view class="coupon-box rowCenCen" v-if="items.couponPrice>0 || items.sourceType=='wph'"> + <view class="coupon-box rowCenCen" style="border: 1px solid #f50d49;width:auto;color: #f50d49; background: none;" v-if="items.couponPrice>0 || items.sourceType=='wph'"> <view> {{items.sourceType=='wph'?items.discount+'鎶�':items.couponPrice+'鍏冨埜'}} </view> </view> - <view class="back-box rowCenCen" v-if="items.fanli"> + <view class="back-box rowCenCen" style="background: #f50d49;" v-if="items.fanli"> <view> 杩攞{items.fanli}}鍏� </view> @@ -89,21 +89,27 @@ .goodsnameinfo-content { width: 100%; - + position: relative; .typeIcon-content { width: 60rpx; height: 24rpx; - margin-right: 5rpx; + position: absolute; + top: 7rpx; } .tradename { flex: 1; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; font-size: 28rpx; font-weight: 500; + text-indent: 2.5em; color: #333333; + text-overflow: -o-ellipsis-lastline; + overflow: hidden; + text-overflow: ellipsis; + display: -webkit-box; + -webkit-line-clamp: 2; + line-clamp: 2; + -webkit-box-orient: vertical; } } -- Gitblit v1.9.3