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

49 行
2.2 KiB

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