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.

101 line
3.5 KiB

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