couponSelect.wxml 976 B

1234567891011121314151617181920212223242526
  1. <view class="container">
  2. <scroll-view class="coupon-list" scroll-y="true" scroll-top="{{scrollTop}}">
  3. <view class="unselect" bindtap='unselectCoupon'>不选择优惠券</view>
  4. <view class="item" wx:for="{{couponList}}" wx:for-index="index" wx:for-item="item" wx:key="id" bindtap="selectCoupon" data-id="{{item.id}}" data-cid="{{item.cid}}">
  5. <view class="tag">{{item.tag}}</view>
  6. <view class="content">
  7. <view class="left">
  8. <view class="discount">{{item.discount}}元</view>
  9. <view class="min"> 满{{item.min}}元使用</view>
  10. </view>
  11. <view class="right">
  12. <view class="name">{{item.name}}</view>
  13. <view class="time"> 有效期:{{item.startTime}} - {{item.endTime}}</view>
  14. </view>
  15. </view>
  16. <view class="condition">
  17. <text class="txt">{{item.desc}}</text>
  18. <image src="{{item.pic}}" class="icon"></image>
  19. </view>
  20. </view>
  21. </scroll-view>
  22. </view>