C端小程序
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

98 Zeilen
4.2 KiB

  1. <view class='order' wx:if="{{showPage}}">
  2. <view wx:if="{{order.orderStatus==1}}" class='tips'>
  3. <image class='success' src='{{succUrl}}' mode='widthFix'></image>
  4. <view wx:if="{{order.salePrice/100==0}}" class='msg' >
  5. <text>交易成功</text>
  6. <!-- <text>请尽快到门店使用,有效期至{{}}</text> -->
  7. </view>
  8. <view wx:if="{{order.salePrice/100!=0}}" class='msg'>
  9. <text>付款成功</text>
  10. <!-- <text>请尽快到门店使用,有效期至{{}}</text> -->
  11. </view>
  12. </view>
  13. <view class='section'>
  14. <view class='sectionTit'>
  15. <text>{{order.title}}</text>
  16. </view>
  17. <view class='detail_msg'>
  18. <view class='logo'>
  19. <image mode='aspectFill' src='{{order.coverImg}}'></image>
  20. </view>
  21. <view class='info'>
  22. <view>
  23. <text>{{order.subTitle}}</text>
  24. </view>
  25. <view>
  26. <text>下单时间:</text>{{createDate}}</view>
  27. </view>
  28. </view>
  29. </view>
  30. <view class='classif'>
  31. <!--
  32. couponOrderStatus
  33. 0 未使用
  34. 1 已使用
  35. 2 已过期
  36. 3 已经退款
  37. -->
  38. <!--
  39. orderStatus
  40. 1
  41. 只有支付完成的时
  42. 才显示兑换码
  43. -->
  44. <view wx:if="{{order.orderStatus==1&&order.type!=100&&order.type!=5}}" data-couponOrderStatus="{{order.couponOrderStatus}}" data-title="{{order.title}}" data-subtitle="{{order.subTitle}}" data-remark="{{order.remark}}" data-quancode="{{order.couponOrderId}}" data-validstatus="{{order.validStatus}}" bindtap="powerDrawer" class='dhCode'>
  45. <view style="width:86%;clear: both;" >
  46. <text class="fl">兑换码:</text>
  47. <text class="fr" wx:if="{{order.validStatus!=0}}">{{order.couponOrderId}}</text>
  48. </view>
  49. <view>
  50. <image class="spcode" src="{{spcodeUrl}}" mode='widthFix'></image>
  51. <image class="rArrow" src="{{chevronUrl}}" mode='widthFix'></image>
  52. </view>
  53. </view>
  54. <!-- <view>
  55. <text>下单时间</text>
  56. <text class='fr'>{{createDate}}</text>
  57. </view> -->
  58. <view class='dhCode'>
  59. <text class='bianhao'>订单编号:</text>
  60. <text>{{order.orderNumber}}</text>
  61. </view>
  62. <!-- <view>
  63. <text wx:if="{{order.type == 8}}">原价</text>
  64. <text wx:if="{{order.type != 8}}">面额</text>
  65. <text class="jine1" wx:if="{{order.unit==0}}">{{order.price/100}}元</text>
  66. <text class="jine1" wx:if="{{order.unit==1}}">{{order.price/100}}小时</text>
  67. </view> -->
  68. <view>
  69. <text class='left'>实付金额:</text>
  70. <view class='right'>
  71. <text class='RMB'>¥</text>
  72. <text class='jine'>{{order.payment/100}}</text>
  73. </view>
  74. </view>
  75. </view>
  76. <view class='classifShop'>
  77. <view class="clearfix" bindtap='showDoorList'>
  78. <text>适用门店</text>
  79. </view>
  80. <view wx:if="{{order.merchantVoList.length>=1}}" wx:for="{{order.merchantVoList}}" wx:key="{{index}}">
  81. <view class='merchantVoList'>
  82. <image bindtap='gotoDetail' data-id='{{item.id}}' class='merchantImgUrl' src='{{item.merchantImgUrl}}' mode='widthFix'></image>
  83. <view bindtap='gotoDetail' data-id='{{item.id}}' class='merchantName'>{{item.merchantName}} {{item.buildingName}}{{item.floorName}}</view>
  84. <image wx:if="{{item.linkLinePhone}}" bindtap='phone' data-merchantlinkphone='{{item.linkLinePhone}}' class="tel" src="{{teljpgUrl}}" mode="widthFix"></image>
  85. </view>
  86. </view>
  87. </view>
  88. <!-- 待付款 显示立即购买的按钮 -->
  89. <view wx:if="{{order.orderStatus==0&&order.salePrice!=0||order.orderStatus==7&&order.salePrice!=0}}" class="buy-view app-border-top">
  90. <button bindtap='orderFunc' hover-class='active' data-couponChannelId="{{order.id}}" disabled='{{showButton}}' class='buy'>立即支付</button>
  91. </view>
  92. <view class='game' bindtap="gotogame" wx-if="{{showIf&&order.orderStatus!=0}}">
  93. <view class='game-entry'>
  94. <image src="{{newUrl}}" class='gameimg' mode='widthFix'></image>
  95. </view>
  96. </view>
  97. <button type="primary" open-type="share" wx:if="{{order.type == 100 && supportTransfer==1&&cardIf}}" class='support-tansfer'><image src="{{weixinTitle}}" class='share' mode="widthFix"></image>转赠给微信好友</button>
  98. </view>