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

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