index.wxml 1.2 KB

123456789101112131415161718192021222324
  1. <view class='coupon-window {{window==true?"on":""}}'>
  2. <view class='couponWinList'>
  3. <view class='item acea-row row-center-wrapper' wx:for="{{couponList}}" wx:key='index'>
  4. <view class='money font-color acea-row row-column row-center-wrapper'>
  5. <view>¥<text class='num'>{{item.coupon_price}}</text></view>
  6. <view class="pic-num">满{{item.use_min_price}}元可用</view>
  7. </view>
  8. <view class="text acea-row row-between">
  9. <view class='pic acea-row row-column row-center'>
  10. <view class='name line1'>{{item.title}}</view>
  11. <view>{{item.start_time ? item.start_time+'-' : ''}}{{item.end_time}}</view>
  12. </view>
  13. <view class="type" wx:if="{{item.type===0}}">通用劵</view>
  14. <view class="type" wx:elif="{{item.type===1}}">品类券</view>
  15. <view class="type" wx:else>商品券</view>
  16. </view>
  17. </view>
  18. </view>
  19. <view class='lid'>
  20. <navigator hover-class='none' url='/pages/user_get_coupon/index' class='bnt font-color'>立即领取</navigator>
  21. <view class='iconfont icon-guanbi3' bindtap='close'></view>
  22. </view>
  23. </view>
  24. <view class='mask' catchtouchmove="true" hidden='{{window==false}}'></view>