C端小程序
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

69 wiersze
2.6 KiB

  1. <!-- 券的详情页面 -->
  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'>
  8. <view>
  9. <text class='title'>{{data.title}}</text>
  10. <text class="subTitle">{{data.subTitle}}</text>
  11. <view class='salePriceStr clearfix'>
  12. <view class="fl">售价:
  13. <text class="pri01">{{data.salePriceStr}}</text>
  14. <text class="yuan">元</text>
  15. <text class='throgh'>{{data.priceStr}}元</text>
  16. </view>
  17. <text class="restNum fr">剩余<text>{{data.remainInventory}}件</text></text>
  18. </view>
  19. <view class='rest' wx:if="{{data.endTime!=undefined&&data.endTime>=0&&data.type!=5}}">
  20. <text class='txt01'>距结束:</text>
  21. <text class='time'>{{endtime}}</text>
  22. </view>
  23. <view class="rest" wx:if="{{data.endTime!=undefined&&0>=data.endTime&&data.type!=5}}">剩余时间:
  24. <text class='time'>即将到期</text>
  25. </view>
  26. <view class='rest' wx:if="{{data.endTime==undefined}}">自领取之日起
  27. <text class='time'>{{data.validDays}}</text>天内有效</view>
  28. <view class='rest' wx:if="{{data.type==5}}">
  29. <text class='time'>当次有效</text>
  30. </view>
  31. <view class='rest'>
  32. <text class='txt01'>限购条件:</text>
  33. <text class='time'>每人{{data.useLimitQuantity}}张</text>
  34. </view>
  35. </view>
  36. </view>
  37. <view class='posi'>
  38. <view class='posi_logo'>
  39. <view>
  40. <image src='{{data.merChantImgUrl}}'></image>
  41. </view>
  42. <view>
  43. <text>{{data.merchantName}}</text>
  44. <text>{{data.addr}}{{data.buildingName}}{{data.floorName}}</text>
  45. </view>
  46. <image bindtap='phone' class="tel" src="./../../../assets/img/tel.jpg" mode="widthFix" />
  47. </view>
  48. </view>
  49. <view class='notes'>
  50. <view>
  51. <text>购买须知</text>
  52. </view>
  53. <view>
  54. <text><text class='spot'></text>{{data.remark}}</text>
  55. </view>
  56. </view>
  57. </view>
  58. <view class="buy-view app-border-top">
  59. <button bindtap='orderFunc' hover-class='active' class='buy' wx:if="{{data.salePriceStr!=0&&data.remainInventory!=0}}"><text class='txt'>{{data.salePriceStr}}元</text>马上购买</button>
  60. <button bindtap='orderFunc' class='buy' wx:elif="{{data.salePriceStr==0&&data.remainInventory!=0}}">免费领取</button>
  61. <button class='buy' wx:elif="{{data.remainInventory==0}}" style="background:#999;color: #fff;">已售罄</button>
  62. </view>
  63. </view>