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.

33 lines
1.6 KiB

  1. <navigator url="/pages/coupon/detail/index?id={{data.couponId}}&targetAd={{data.targetAd}}">
  2. <!-- 首页优惠券列表页面 -->
  3. <view class="coupons">
  4. <view class="coupons-img">
  5. <image src="{{data.coverImg}}"></image>
  6. </view>
  7. <view class="coupons-info">
  8. <view class="coupons-info-name tit">{{data.title}}</view>
  9. <view class="coupons-info-name subtitle">{{data.subTitle}}</view>
  10. <view class="coupons-info-price-p">
  11. <text class="i">¥</text>{{data.salePriceStr}}
  12. <view class="coupons-info-manjian" style="margin-top:10rpx;" wx:if="{{data.type == 1}}">
  13. 满¥{{data.usePriceStr}}可用
  14. </view>
  15. <view class="coupons-info-manjian" wx:elif="{{data.type == 2||data.type == 3||data.type==4||data.type==5}}">
  16. 仅限本店使用
  17. </view>
  18. </view>
  19. </view>
  20. <view class="coupons-btn">
  21. <!-- 优惠券价格 -->
  22. <view class="coupons-info-price">
  23. <view class="coupons-info-name subtitle sy">剩余: {{data.remainInventory}}</view>
  24. <!-- <text class="coupons-info-price-o"><text class='i'>¥</text>{{data.priceStr}}</text> -->
  25. </view>
  26. <i-button i-class="coupons-btn-gm" wx:if="{{data.type==4}}" data-date='{{data}}'>领取</i-button>
  27. <i-button i-class="coupons-btn-gm" wx:elif="{{data.type == 1||data.type == 2||data.type==3||data.type==4}}" data-date='{{data}}'>购买</i-button>
  28. </view>
  29. <view class="coupons-border"></view>
  30. </view>
  31. </navigator>
  32. <view class="loading" hidden="{{!searchLoading}}">正在载入更多...</view>
  33. <view class="loading complete" hidden="{{!searchLoadingComplete}}">已加载全部</view>