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.

58 rivejä
2.4 KiB

  1. <button class='goback' bindtap='goback'><image src='{{wmhome}}' mode="widthFix"></image></button>
  2. <!-- banner活动详情页面 -->
  3. <view class='coupons'>
  4. <view class="coupons-body">
  5. <view class='banner'>
  6. <image src='{{data.coverImg}}'></image>
  7. </view>
  8. <view class='act'>
  9. <text class='txt001'>{{data.title}}</text>
  10. <text class='txt002'>{{data.subTitle}}</text>
  11. <view class="proct">
  12. <text>活动说明</text>
  13. <text>{{data.detail}}</text>
  14. </view>
  15. </view>
  16. <view class='notes' style='display:none;'>
  17. <view>
  18. <text>活动详情</text>
  19. </view>
  20. <view>
  21. <text><text class='spot'></text>{{data.detail}}</text>
  22. </view>
  23. </view>
  24. </view>
  25. <view class='contain clearfix'>
  26. <!-- 优惠券 -->
  27. <navigator wx:for="{{data.coupons}}" wx:key="{{index}}" url="/pages/coupon/detail/index?couponChannelId={{item.id}}&couponId={{item.couponId}}">
  28. <!-- 首页优惠券列表页面 -->
  29. <view class="coupons1">
  30. <view class="coupons1-img">
  31. <image src="{{item.coverImg}}"></image>
  32. </view>
  33. <view class="coupons1-info">
  34. <view class="coupons1-info-name tit">{{item.title}}</view>
  35. <view class="coupons1-info-name subtitle">{{item.subTitle}}</view>
  36. <view class="coupons1-info-price-p">
  37. <text class="i">¥</text>{{item.salePriceStr}}
  38. <view class="coupons-info-manjian" style="margin-top:10rpx;font-size:28rpx;" wx:if="{{item.type == 1}}">
  39. 满¥{{item.usePriceStr}}可用
  40. </view>
  41. <view class="coupons-info-manjian" style="font-size:28rpx;" wx:if="{{item.type == 2||item.type == 3||item.type==4||item.type==5||item.type==6||item.type==7}}">
  42. 仅限本店使用
  43. </view>
  44. </view>
  45. </view>
  46. <!-- <view class="coupons1-info-name subtitle sy">剩余{{item.remainInventory}}</view> -->
  47. <view class="coupons1-btn">
  48. <!-- 优惠券价格 -->
  49. <i-button class="buy" hover-class='active' wx:if="{{item.salePriceStr==0}}" data-date='{{data}}'>免费领</i-button>
  50. <i-button class="buy" hover-class='active' wx:elif="{{item.salePriceStr!=0}}" data-date='{{data}}'>马上购</i-button>
  51. </view>
  52. <!-- <view class="coupons1-border"></view> -->
  53. </view>
  54. </navigator>
  55. </view>
  56. </view>