C端小程序
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

90 rindas
3.6 KiB

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