junyuanz 4 lat temu
rodzic
commit
2327f07b5d
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      packageUser/pages/user/promotion/promotion.wxml

+ 2 - 1
packageUser/pages/user/promotion/promotion.wxml

@@ -1,6 +1,6 @@
 <view class="bg">
   <view class="radish-main">
-    <view class="radish-main__line" wx:key="{{index}}" bindtap="getDetail" data-val="{{item.id}}" wx:for="{{list}}">
+    <view class="radish-main__line" wx:key="{{index}}" data-val="{{item.id}}" wx:for="{{list}}">
       <view class="radish-main__left">
         <view class="radish-main__text ellipsis">{{item.product_name}}</view>
         <!-- <view class="radish-main__time"><format-time type="formatTime" value="{{item.ctime}}" ></format-time></view> -->
@@ -9,5 +9,6 @@
       </view>
       <view class="radish-main__count">{{item.source_name}}</view>
     </view>
+	<view wx:if="{{list.length == 0}}" style="text-align: center;padding: 120rpx;">你暂时没有赠券</view>
   </view>
 </view>