C端小程序
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

44 行
2.1 KiB

  1. <view class="market" wx:if="{{showPage}}">
  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 style='padding-top:120rpx;'>
  7. <view class="nocoupon" wx:if="{{list.length==0}}">
  8. <image src="./../../../assets/img/coupon.png" mode="widthFix" />
  9. <text class="txt001">请您敬请期待</text>
  10. <text class='txt002'>我们正在筹备一大波优惠活动</text>
  11. <navigator class='nav' url="/pages/index/index" open-type="switchTab" hover-class="other-navigator-hover">
  12. <button hover-class='active'>前往首页看看</button>
  13. </navigator>
  14. </view>
  15. <view class='section' wx:for='{{list}}' wx:key='{{index}}' bindtap="gotouse" data-quancode="{{item.id}}" data-couponorderstatus="{{item.couponOrderStatus}}">
  16. <view class='mms'>
  17. <view class='detail_msg'>
  18. <view class='logo'>
  19. <image mode="aspectFill" src='{{item.coverImg}}'></image>
  20. </view>
  21. <view class='info'>
  22. <view class='title'>
  23. <text>{{item.title}}</text>
  24. </view>
  25. <view class='subtitle'>
  26. <text>{{item.subTitle}}</text>
  27. </view>
  28. <view hover-class='active' wx:if="{{item.couponOrderStatus==0}}" class="btns">去使用</view>
  29. <view hover-class='active' wx:elif="{{item.couponOrderStatus==1||item.couponOrderStatus==2||item.couponOrderStatus==3}}" class="btns">查看</view>
  30. </view>
  31. </view>
  32. <image class="liness" src='./../../../assets/img/liness.png' mode="widthFix"></image>
  33. <view class='expiretime'>
  34. <text class="txt1">有效期至:</text>
  35. <text class="txt2">{{item.expiredTime}}</text>
  36. </view>
  37. </view>
  38. </view>
  39. <view class="loading" wx:if="{{loading}}">
  40. <image src="./../../../assets/img/loading.gif" mode="widthFix"></image>{{content}}
  41. </view>
  42. </view>
  43. </view>