C端小程序
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.7 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 style='padding-top:90rpx;'>
  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='detail_msg'>
  17. <view class='logo'>
  18. <image src='{{item.coverImg}}'></image>
  19. </view>
  20. <view class='info'>
  21. <view>
  22. <text>{{item.title}}</text>
  23. </view>
  24. <view>
  25. <text class="txt1">有效期至:</text>
  26. <text class="txt2">{{item.expiredTime}}</text>
  27. </view>
  28. <view wx:if="{{item.couponOrderStatus==0}}" class="btns">立即使用</view>
  29. <view wx:elif="{{item.couponOrderStatus==1||item.couponOrderStatus==2||item.couponOrderStatus==3}}" class="btns">查看</view>
  30. </view>
  31. </view>
  32. </view>
  33. <view class="loading" wx:if="{{loading}}">
  34. <image src="./../../../assets/img/loading.gif" mode="widthFix"></image>{{content}}
  35. </view>
  36. </view>
  37. </view>