C端小程序
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

50 lignes
2.4 KiB

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