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 lines
1.4 KiB

  1. <!-- 折扣卡list页面 -->
  2. <view class='content'>
  3. <view class="market clearfix">
  4. <i-tabs current="{{current_scroll}}" scroll bindchange="handleChangeScroll">
  5. <i-tab wx:for="{{tabs}}" wx:key="unique" key="{{item.id}}" title="{{item.title}}"></i-tab>
  6. </i-tabs>
  7. <view class='cards'>
  8. <view class="nocoupon" wx:if="{{list.length==0}}">
  9. <image src="{{couponUrl}}" mode="widthFix" lazy-load="true" />
  10. <text class="txt001">请您敬请期待</text>
  11. <text class='txt002'>我们正在筹备一大波优惠活动</text>
  12. <navigator class='nav' url="/pages/index/index" open-type="switchTab" hover-class="other-navigator-hover">
  13. <button hover-class='active'>前往首页看看</button>
  14. </navigator>
  15. </view>
  16. <view class='section' wx:for='{{list}}' wx:key='{{index}}' bindtap="gotouse" data-couponId='{{item.couponId}}' data-type="{{item.type}}" data-quancode="{{item.id}}">
  17. <view class='mms'>
  18. <view class='detail_msg'>
  19. <image mode="aspectFill" src='{{item.coverImg}}' mode='widthFix'></image>
  20. <text>{{item.title}}</text>
  21. </view>
  22. <view class='buycardbtn'>
  23. <button>{{item.salePriceStr}}元 <text>购买</text></button>
  24. </view>
  25. </view>
  26. </view>
  27. </view>
  28. </view>
  29. <view class="loading" wx:if="{{loading}}">
  30. <image src="{{loadingUrl}}" mode="widthFix"></image>{{content}}
  31. </view>
  32. </view>