Selaa lähdekoodia

抽奖记录数据处理

kk.shi 3 vuotta sitten
vanhempi
commit
682f83c827
2 muutettua tiedostoa jossa 10 lisäystä ja 0 poistoa
  1. 2 0
      pages/luckDraw/recordPrize.wxml
  2. 8 0
      pages/luckDraw/recordPrize.wxss

+ 2 - 0
pages/luckDraw/recordPrize.wxml

@@ -14,6 +14,8 @@
     <image class="record-img-url" src="{{item.fullGoodsSmallImage}}"></image>
   </view>
 </view>
+<view class="no_result" wx:if="{{noResult}}">———— 抱歉,您暂无抽奖记录 ————</view>
+<view class="no_result" wx:if="{{noMore}}">———— 更多抽奖 | 敬请期待 ————</view>
 
 
 <!-- 底部导航 -->

+ 8 - 0
pages/luckDraw/recordPrize.wxss

@@ -91,3 +91,11 @@ page{
   font-weight: 500;
   color: #B01717;
 }
+
+.no_result {
+  font-size: 24rpx;
+  color: #B1B1B1;
+  line-height: 100rpx;
+  font-weight: 1000;
+  text-align: center;
+}