Kaynağa Gözat

使用明细调整

kk.shi 3 yıl önce
ebeveyn
işleme
54ba0c2db2

+ 3 - 1
pages/signIn/record/record.wxml

@@ -69,7 +69,9 @@
               <view class="detailed-sign-text">{{item.source =='1'?'签到':'任务'}}</view>
               <view class="detailed-sign-date">{{item.crateTime}}</view>
             </view>
-            <view class="detailed-coupon flex-column">{{item.coupon.couponTitle}}</view>
+            <view class="detailed-coupon flex-column">
+              <view class="detailed-coupon-text">{{item.coupon.couponTitle}}</view>
+            </view>
           </view>
           
         </view>

+ 10 - 1
pages/signIn/record/record.wxss

@@ -300,10 +300,19 @@
 }
 
 .detailed-coupon{
+  justify-content: center;
+}
+
+.detailed-coupon-text{
+  width: 90%;
+  height: 30px;
   font-size: 20px;
   font-family: Source Han Sans CN;
   font-weight: 500;
   color: #BF2637;
-  justify-content: center;
+  text-align: center;
+  overflow: hidden;
+	white-space: nowrap;
+	text-overflow: ellipsis;
 }