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

50 行
2.3 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="{{couponUrl}}" mode="widthFix" />
  9. <text class="txt001">请您敬请期待</text>
  10. <text class='txt002'>我们正在筹备一大波优惠活动</text>
  11. <navigator class='nav' url="/pages/main/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='{{linessUrl}}' mode="widthFix"></image>
  33. <view class='clearfix'>
  34. <view class='expiretime fl'>
  35. <text class="txt1">有效期至:</text>
  36. <text class="txt2">{{item.expiredTime}}</text>
  37. </view>
  38. <view class='fr found'>
  39. <text class="txt2" wx:if="{{item.autoRefund == 1}}">过期不退款</text>
  40. </view>
  41. </view>
  42. </view>
  43. <image class='sendImg' wx:if="{{item.sendChannelType!=1&&item.sendChannelType!=undefined}}" src='{{wmgive}}' mode='widthFix'></image>
  44. </view>
  45. <view class="loading" wx:if="{{loading}}">
  46. <image src="{{loadingUrl}}" mode="widthFix"></image>{{content}}
  47. </view>
  48. </view>
  49. </view>