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.

122 wiersze
5.2 KiB

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