C端小程序
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

59 righe
2.4 KiB

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