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.

64 lines
2.7 KiB

  1. <view wx:if="{{showPage}}">
  2. <view class='coupons'>
  3. <view class="coupons-body">
  4. <view class='banner'>
  5. <image src='{{data.coverImg}}'></image>
  6. </view>
  7. <view class='coupons_info' style='position:relative;z-index:9'>
  8. <view class='fenxiang'>
  9. <image class="fenxiang" src='{{fenxiangUrl}}' mode="widthFix"></image>
  10. <button class='share user-motto' data-id='{{data.id}}' data-couponId='{{data.couponId}}' data-title='{{data.title}}' id="shareBtn" open-type="share" hover-class="other-button-hover"></button>
  11. </view>
  12. <view>
  13. <text class='title'>{{data.title}}</text>
  14. <text class="subTitle">{{data.subTitle}}</text>
  15. <view class='salePriceStr clearfix'>
  16. <view class="fl">售价:
  17. <text class="pri01">{{data.salePriceStr}}</text>
  18. <text class="yuan">元</text>
  19. <text class='throgh' wx:if="{{data.unit==0}}">{{data.priceStr}}元</text>
  20. <text wx:if="{{data.unit==1}}">{{data.priceStr}}小时</text>
  21. </view>
  22. <text class="restNum fr">剩余<text>{{data.remainInventory}}件</text></text>
  23. </view>
  24. <view class='rest' wx:if="{{data.validType==2}}">有效期:自领取之日起
  25. <text class='time'>{{validDays}}</text>天内有效</view>
  26. <view class='rest' wx:if="{{data.validType==1}}">有效期:
  27. <text class='time'>{{validStartDate}}至{{validEndDate}}</text>
  28. </view>
  29. <view class='rest' wx:if="{{data.type==5}}">
  30. <text class='time'>当次有效</text>
  31. </view>
  32. <view class='rest' wx:if="{{data.type==1}}">
  33. <text class='txt01'>使用条件:</text>
  34. <text class='time'>满{{data.usePriceStr}}元可用</text>
  35. </view>
  36. <view class='rest'>
  37. <text class='txt01'>限购条件:</text>
  38. <text class='time'>每人{{data.useLimitQuantity}}张</text>
  39. </view>
  40. </view>
  41. </view>
  42. <view class='posi'>
  43. <view class='posi_logo' wx:for="{{data.merchantVoList}}" wx:key="index">
  44. <view>
  45. <image src='{{item.merchantImgUrl}}'></image>
  46. </view>
  47. <view>
  48. <text>{{item.merchantName}}</text>
  49. <text>{{item.addr}}{{item.buildingName}}{{item.floorName}}</text>
  50. </view>
  51. <image bindtap='phone' data-merchantLinkPhone='{{item.merchantLinkPhone}}' class="tel" src="{{teljpgUrl}}" mode="widthFix" />
  52. </view>
  53. </view>
  54. <view class='notes'>
  55. <view>
  56. <text>购买须知</text>
  57. </view>
  58. <view>
  59. <text><text class='spot'></text>{{data.remark}}</text>
  60. </view>
  61. </view>
  62. </view>
  63. </view>
  64. </view>