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.

index.wxml 2.5 KiB

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