C端小程序
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

110 řádky
4.1 KiB

  1. <view class="container page">
  2. <view class="coupon_detail clearfix">
  3. <view class="fl wmfl">
  4. <image src="{{data.coverImg}}" mode='aspectFill' />
  5. </view>
  6. <view class="fr">
  7. <text class="title">{{data.title}}</text>
  8. <view class="time">{{data.subTitle}}</view>
  9. <view class="money">
  10. <text wx:if="{{data.type == 8&&data.price == data.couponPrice}}">¥{{data.couponPrice/100}}</text>
  11. <text wx:if="{{data.type == 8&&data.price != data.couponPrice}}">¥{{data.salePrice/100}}</text>
  12. <text wx:if="{{data.type != 8}}">¥{{data.salePrice/100}}</text>
  13. <del>¥{{data.price/100}}</del>
  14. <text wx:if="{{data.usePrice!=undefined}}" class="manjian">满{{data.usePrice/100}}元可用</text>
  15. <text wx:if="{{data.usePrice==undefined}}" class="manjian">仅限本店使用</text>
  16. </view>
  17. </view>
  18. </view>
  19. <view class="timevalidity" wx:if="{{data.validStatus != 0}}">
  20. <text>有效期至:</text>
  21. <text>{{expiredTime}}</text>
  22. </view>
  23. <view class="timevalidity" wx:if="{{data.validStatus == 0}}">
  24. <text>有效期:</text>
  25. <text>{{validStartDate}}</text>
  26. <i>至</i>
  27. <text>{{validEndDate}}</text>
  28. </view>
  29. <view class="refund">
  30. <text wx:if="{{data.autoRefund == 0}}">(支持过期自动退款)</text>
  31. <text wx:if="{{data.autoRefund == 1}}">(不支持过期自动退款)</text>
  32. </view>
  33. <image class='line' mode="widthFix" src="{{lineUrl}}"></image>
  34. <view class="zhuangtai">
  35. <image wx:if="{{data.couponOrderStatus==1}}" src="{{wm01Url}}" mode='widthFix'></image>
  36. <image wx:if="{{data.couponOrderStatus==2}}" src="{{wm02Url}}" mode='widthFix'></image>
  37. <image wx:if="{{data.couponOrderStatus==3}}" src="{{wm03Url}}" mode='widthFix'></image>
  38. <image wx:if="{{data.couponOrderStatus==0&&data.validStatus==0}}" src="{{wm04Url}}" mode='widthFix'></image>
  39. <view class="panel" wx:if="{{data.couponOrderStatus==0&&data.validStatus!=0}}">
  40. <view class="qrcode">
  41. <canvas canvas-id="qrcode" />
  42. </view>
  43. <view class="barnum buy">
  44. <text>优惠券码:</text>{{code}}</view>
  45. </view>
  46. </view>
  47. <view class="posi">
  48. <view class="tit">
  49. 适用门店
  50. </view>
  51. <view wx:for="{{data.merchantVoList}}" wx:key="{{index}}">
  52. <view class='posi_logo'>
  53. <view>
  54. <image src='{{item.merchantImgUrl}}'></image>
  55. </view>
  56. <view>
  57. <text>{{item.merchantName}}</text>
  58. <text>{{item.addr}}{{item.buildingName}}{{item.floorName}}</text>
  59. </view>
  60. <view bindtap='phone' data-merchantLinkPhone='{{item.merchantLinkPhone}}'>
  61. <image class="tel" src="{{teljpgUrl}}" mode="widthFix" />
  62. </view>
  63. </view>
  64. </view>
  65. </view>
  66. <image class='line' mode="widthFix" src="{{lineUrl}}"></image>
  67. <view class='note'>
  68. <view style='height:60rpx;line-height:60rpx;'>
  69. <text class="shiji">实付金额:</text>
  70. <text class='moneys'>{{data.couponPrice/100}}</text>
  71. <text style='font-size:24rpx;text-align:right;color: #FF4949;'>元</text>
  72. </view>
  73. <view wx:if="{{data.couponOrderStatus==0}}">
  74. <text>下单时间:</text>
  75. <text>{{createDate}}</text>
  76. </view>
  77. <view wx:if="{{data.couponOrderStatus==1}}">
  78. <text>核销时间:</text>
  79. <text>{{updateDate}}</text>
  80. </view>
  81. <view wx:if="{{data.couponOrderStatus==2}}">
  82. <text>过期时间:</text>
  83. <text>{{updateDate}}</text>
  84. </view>
  85. <view wx:if="{{data.couponOrderStatus==3}}">
  86. <text>退款时间:</text>
  87. <text>{{updateDate}}</text>
  88. </view>
  89. <view>
  90. <text>订单编号:</text>
  91. <text>{{data.orderId}}</text>
  92. </view>
  93. <!-- <view><text>手机号</text><text>2018.05.25</text></view> -->
  94. </view>
  95. <view class='notes' style="border-bottom:0">
  96. <view>
  97. <text>购买须知</text>
  98. </view>
  99. <view>
  100. <text><text class='spot'></text>{{data.remark}}</text>
  101. </view>
  102. </view>
  103. </view>
  104. <view class='game' bindtap="gotogame" wx-if="{{showIf}}">
  105. <view class='game-entry'>
  106. <image src="{{newUrl}}" class='gameimg' mode='widthFix'></image>
  107. </view>
  108. </view>