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.

48 lines
2.1 KiB

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