C端小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 line
1.2 KiB

  1. <view class="market">
  2. <!-- 券包 我的优惠券 -->
  3. <i-tabs class='tabs' current="{{ current_scroll }}" scroll bindchange="handleChangeScroll">
  4. <i-tab class='i-tab' wx:for="{{tabs}}" wx:key="unique" key="{{item.key}}" title="{{item.name}}"></i-tab>
  5. </i-tabs>
  6. <view>
  7. <view class="nocoupon" wx:if="{{list.length==0}}">
  8. <image src="./../../../assets/img/cou.png" mode="widthFix" />
  9. <text>没有优惠券哦</text>
  10. </view>
  11. <view class='section' wx:for='{{list}}' wx:key='{{index}}'>
  12. <view class='detail_msg'>
  13. <view class='logo'>
  14. <image src='{{item.coverImg}}'></image>
  15. </view>
  16. <view class='info'>
  17. <view>
  18. <text>{{item.title}}</text>
  19. </view>
  20. <view>
  21. <text class="txt1">有效期至:</text>
  22. <text class="txt2">{{item.expiredTime}}</text>
  23. </view>
  24. <view wx:if="{{item.couponOrderStatus==0}}" class="btns" bindtap="gotouse" data-quancode="{{item.id}}">立即使用</view>
  25. <view wx:elif="{{item.couponOrderStatus==1||item.couponOrderStatus==2||item.couponOrderStatus==3}}" class="btns" bindtap="gotouse" data-quancode="{{item.id}}">查看</view>
  26. </view>
  27. </view>
  28. </view>
  29. </view>
  30. </view>