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.

89 rivejä
3.6 KiB

  1. <navbar home back text="订单详情"></navbar>
  2. <view class='order' wx:if="{{showPage}}" style="padding-top:{{navigationBarHeight}}">
  3. <view wx:if="{{order.orderStatus==1}}" class='tips'>
  4. <image class='success' src='{{succUrl}}' mode='widthFix'></image>
  5. <view wx:if="{{order.salePrice/100==0}}" class='msg' >
  6. <text>交易成功</text>
  7. <!-- <text>请尽快到门店使用,有效期至{{}}</text> -->
  8. </view>
  9. <view wx:if="{{order.salePrice/100!=0}}" class='msg'>
  10. <text>付款成功</text>
  11. <!-- <text>请尽快到门店使用,有效期至{{}}</text> -->
  12. </view>
  13. </view>
  14. <view class='section'>
  15. <view class='sectionTit'>
  16. <text>{{order.title}}</text>
  17. </view>
  18. <view class='detail_msg'>
  19. <view class='logo'>
  20. <image mode='aspectFill' src='{{order.coverImg}}'></image>
  21. </view>
  22. <view class='info'>
  23. <view>
  24. <text>{{order.subTitle}}</text>
  25. </view>
  26. <view>
  27. <text>下单时间:</text>{{createDate}}</view>
  28. </view>
  29. </view>
  30. </view>
  31. <view class='classif'>
  32. <!--
  33. couponOrderStatus
  34. 0 未使用
  35. 1 已使用
  36. 2 已过期
  37. 3 已经退款
  38. -->
  39. <!--
  40. orderStatus
  41. 1
  42. 只有支付完成的时
  43. 才显示兑换码
  44. -->
  45. <view wx:if="{{order.orderStatus==1&&order.type!=100&&order.type!=5&&order.type!=51}}" 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'>
  46. <view style="width:86%;clear: both;" >
  47. <text class="fl">兑换码:</text>
  48. <text class="fr" wx:if="{{order.validStatus!=0}}">{{order.couponOrderId}}</text>
  49. </view>
  50. <view>
  51. <image class="spcode" src="{{spcodeUrl}}" mode='widthFix'></image>
  52. <image class="rArrow" src="{{chevronUrl}}" mode='widthFix'></image>
  53. </view>
  54. </view>
  55. <!-- <view>
  56. <text>下单时间</text>
  57. <text class='fr'>{{createDate}}</text>
  58. </view> -->
  59. <view class='dhCode'>
  60. <text class='bianhao'>订单编号:</text>
  61. <text>{{order.orderNumber}}</text>
  62. </view>
  63. <!-- <view>
  64. <text wx:if="{{order.type == 8}}">原价</text>
  65. <text wx:if="{{order.type != 8}}">面额</text>
  66. <text class="jine1" wx:if="{{order.unit==0}}">{{order.price/100}}元</text>
  67. <text class="jine1" wx:if="{{order.unit==1}}">{{order.price/100}}小时</text>
  68. </view> -->
  69. <view>
  70. <text class='left'>实付金额:</text>
  71. <view class='right'>
  72. <text class='RMB'>¥</text>
  73. <text class='jine'>{{order.payment/100}}</text>
  74. </view>
  75. </view>
  76. </view>
  77. <!-- 适用门店 -->
  78. <store merchantVoList="{{order.merchantVoList}}"></store>
  79. <!-- 待付款 显示立即购买的按钮 -->
  80. <view wx:if="{{(order.orderStatus==0&&order.salePrice!=0)||(order.orderStatus==7&&order.salePrice!=0)}}" class="buy-view app-border-top">
  81. <button bindtap='orderFunc' hover-class='active' data-couponChannelId="{{order.id}}" disabled='{{showButton}}' class='buy'>立即支付</button>
  82. </view>
  83. <view class='game' bindtap="gotogame" wx-if="{{showIf&&order.orderStatus!=0}}">
  84. <view class='game-entry'>
  85. <image src="{{newUrl}}" class='gameimg' mode='widthFix'></image>
  86. </view>
  87. </view>
  88. <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>
  89. </view>