C端小程序
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

99 行
4.3 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}}" 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. <view class='classifShop'>
  78. <view class="clearfix" bindtap='showDoorList'>
  79. <text>适用门店</text>
  80. </view>
  81. <view wx:if="{{order.merchantVoList.length>=1}}" wx:for="{{order.merchantVoList}}" wx:key="{{index}}">
  82. <view class='merchantVoList'>
  83. <image bindtap='gotoDetail' data-id='{{item.id}}' class='merchantImgUrl' src='{{item.merchantImgUrl}}' mode='widthFix'></image>
  84. <view bindtap='gotoDetail' data-id='{{item.id}}' class='merchantName'>{{item.merchantName}} {{item.buildingName}}{{item.floorName}}</view>
  85. <image wx:if="{{item.linkLinePhone}}" bindtap='phone' data-merchantlinkphone='{{item.linkLinePhone}}' class="tel" src="{{teljpgUrl}}" mode="widthFix"></image>
  86. </view>
  87. </view>
  88. </view>
  89. <!-- 待付款 显示立即购买的按钮 -->
  90. <view wx:if="{{order.orderStatus==0&&order.salePrice!=0||order.orderStatus==7&&order.salePrice!=0}}" class="buy-view app-border-top">
  91. <button bindtap='orderFunc' hover-class='active' data-couponChannelId="{{order.id}}" disabled='{{showButton}}' class='buy'>立即支付</button>
  92. </view>
  93. <view class='game' bindtap="gotogame" wx-if="{{showIf&&order.orderStatus!=0}}">
  94. <view class='game-entry'>
  95. <image src="{{newUrl}}" class='gameimg' mode='widthFix'></image>
  96. </view>
  97. </view>
  98. <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>
  99. </view>