ソースを参照

隐藏数字长度调整

kk.shi 3 年 前
コミット
ba42a2a7d5
共有3 個のファイルを変更した3 個の追加6 個の削除を含む
  1. 1 1
      pages/welfareMall/historical/historical.wxml
  2. 1 4
      pages/welfareMall/historical/historical.wxss
  3. 1 1
      pages/welfareMall/order/orderCompletion.wxss

+ 1 - 1
pages/welfareMall/historical/historical.wxml

@@ -12,7 +12,7 @@
         <view class="content-middle flex-row">
           <view class="middle-it flex-row">
             <image class="middle-img" src="{{item.goodsList[0].fullCoverImg}}" />
-            <view class="middle-text">{{item.goodsList[0].activityName}}</view>
+            <view class="middle-text over-ellipsis">{{item.goodsList[0].activityName}}</view>
           </view>
           <view class="middle-num flex-column">
             <view class="middle-num-money">¥{{item.payPriceFormatter}}</view>

+ 1 - 4
pages/welfareMall/historical/historical.wxss

@@ -81,15 +81,12 @@ page{
 }
 
 .middle-text{
-  width: 180rpx;
+  width: 240rpx;
   height: 36rpx;
   font-size: 28rpx;
   font-weight: 500;
   color: #444444;
   margin-left: 36rpx;
-  overflow: hidden;
-	white-space: nowrap;
-  text-overflow: ellipsis;
   margin-bottom: 34rpx;
 }
 

+ 1 - 1
pages/welfareMall/order/orderCompletion.wxss

@@ -88,7 +88,7 @@ page{
 }
 
 .middle-text{
-  width: 180rpx;
+  width: 240rpx;
   height: 36rpx;
   font-size: 28rpx;
   font-weight: 500;