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.

99 lines
3.5 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">
  20. <text>有效期至:</text>
  21. <text>{{expiredTime}}</text>
  22. </view>
  23. <image class='line' mode="widthFix" src="{{lineUrl}}"></image>
  24. <view class="zhuangtai">
  25. <image wx:if="{{data.couponOrderStatus==1}}" src="{{wm01Url}}" mode='widthFix'></image>
  26. <image wx:if="{{data.couponOrderStatus==2}}" src="{{wm02Url}}" mode='widthFix'></image>
  27. <image wx:if="{{data.couponOrderStatus==3}}" src="{{wm03Url}}" mode='widthFix'></image>
  28. <view class="panel" wx:if="{{data.couponOrderStatus==0}}">
  29. <view class="qrcode">
  30. <canvas canvas-id="qrcode" />
  31. </view>
  32. <view class="barnum buy">
  33. <text>优惠券码:</text>{{code}}</view>
  34. </view>
  35. </view>
  36. <view class="posi">
  37. <view class="tit">
  38. 适用门店
  39. </view>
  40. <view wx:for="{{data.merchantVoList}}" wx:key="{{index}}">
  41. <view class='posi_logo'>
  42. <view>
  43. <image src='{{item.merchantImgUrl}}'></image>
  44. </view>
  45. <view>
  46. <text>{{item.merchantName}}</text>
  47. <text>{{item.addr}}{{item.buildingName}}{{item.floorName}}</text>
  48. </view>
  49. <view bindtap='phone' data-merchantLinkPhone='{{item.merchantLinkPhone}}'>
  50. <image class="tel" src="{{teljpgUrl}}" mode="widthFix" />
  51. </view>
  52. </view>
  53. </view>
  54. </view>
  55. <image class='line' mode="widthFix" src="{{lineUrl}}"></image>
  56. <view class='note'>
  57. <view style='height:60rpx;line-height:60rpx;'>
  58. <text class="shiji">实付金额:</text>
  59. <text class='moneys'>{{data.couponPrice/100}}</text>
  60. <text style='font-size:24rpx;text-align:right;color: #FF4949;'>元</text>
  61. </view>
  62. <view wx:if="{{data.couponOrderStatus==0}}">
  63. <text>下单时间:</text>
  64. <text>{{createDate}}</text>
  65. </view>
  66. <view wx:if="{{data.couponOrderStatus==1}}">
  67. <text>核销时间:</text>
  68. <text>{{updateDate}}</text>
  69. </view>
  70. <view wx:if="{{data.couponOrderStatus==2}}">
  71. <text>过期时间:</text>
  72. <text>{{updateDate}}</text>
  73. </view>
  74. <view wx:if="{{data.couponOrderStatus==3}}">
  75. <text>退款时间:</text>
  76. <text>{{updateDate}}</text>
  77. </view>
  78. <view>
  79. <text>订单编号:</text>
  80. <text>{{data.orderId}}</text>
  81. </view>
  82. <!-- <view><text>手机号</text><text>2018.05.25</text></view> -->
  83. </view>
  84. <view class='notes' style="border-bottom:0">
  85. <view>
  86. <text>购买须知</text>
  87. </view>
  88. <view>
  89. <text><text class='spot'></text>{{data.remark}}</text>
  90. </view>
  91. </view>
  92. </view>
  93. <view class='game' bindtap="gotogame" wx-if="{{showIf}}">
  94. <view class='game-entry'>
  95. <image src="{{newUrl}}" class='gameimg' mode='widthFix'></image>
  96. </view>
  97. </view>