index.wxml 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <nav type="back" background-color="{{activeColor}}" title="订单详情" frontColor="#ffffff" />
  2. <view class="box">
  3. <view class="order-number">
  4. <view class="number">订单号:{{shopOrder.orderNum}}</view>
  5. <view class="state">待支付</view>
  6. </view>
  7. <view class="order-txt">
  8. <image class="order-image" src="{{shopOrder.image}}" />
  9. <view class="order-name">
  10. <view>{{shopOrder.name}}</view>
  11. <view class="order-price" style="color: {{activeColor}};">¥{{shopOrder.price}}</view>
  12. </view>
  13. </view>
  14. </view>
  15. <view class="box">
  16. <view class="name">{{shopOrder.shopStore.storeName}}</view>
  17. <view class="time">营业时间:{{shopOrder.shopStore.workingTime}}</view>
  18. <view class="time">地址:{{shopOrder.shopStore.address}}</view>
  19. <view class="taxi">
  20. <view class="taxi-box" bindtap="taxi">
  21. <view class="taxi-phone">
  22. <van-icon size="60rpx" name="https://file-cloud.fmode.cn/sHNeVwSaAg/20220413/5oaona032247.png" />
  23. </view>
  24. <view class="taxi-name">打车</view>
  25. </view>
  26. <view class="taxi-boxs" bindtap="phone">
  27. <view class="taxi-phone">
  28. <van-icon size="60rpx" name="https://file-cloud.fmode.cn/sHNeVwSaAg/20220413/jip51n032425.png" />
  29. </view>
  30. <view class="taxi-name">电话</view>
  31. </view>
  32. </view>
  33. </view>
  34. <block wx:if="{{shopOrder.status==200}}">
  35. <view class="box">
  36. <view class="name">凭证信息</view>
  37. <view class="code">
  38. <image class="code-img" src="{{qrcode}}" />
  39. </view>
  40. </view>
  41. </block>
  42. <view class="box">
  43. <view class="name">卡券内容</view>
  44. <rich-text nodes="{{shopOrder.goods.details}}" style="width: 92%;height: 100%; margin-right: 0 auto;"></rich-text>
  45. </view>
  46. <view class="box">
  47. <view class="name">温馨提示</view>
  48. <block wx:for="{{shopOrder.goods.services}}" wx:key="index">
  49. <view class="voucher">{{item.value}}</view>
  50. </block>
  51. </view>
  52. <view class="box">
  53. <view class="name">订单信息</view>
  54. <view class="order-details">
  55. 订单编号:
  56. <view class="number">{{shopOrder.orderNum}}</view>
  57. </view>
  58. <view class="order-details">
  59. 下单时间:
  60. <view class="number">{{orderTime}}</view>
  61. </view>
  62. <view class="order-details">
  63. 数量:
  64. <view class="number">{{shopOrder.count}}</view>
  65. </view>
  66. <view class="order-details">
  67. 总价:
  68. <view class="number">{{shopOrder.price}}</view>
  69. </view>
  70. </view>
  71. <block wx:if="{{shopOrder.status==100}}">
  72. <view class="bommon">
  73. <view class="bommon-price" style="color: {{activeColor}};">¥{{shopOrder.price}}</view>
  74. <view class="bommon-pay" bindtap="storepackage" style="background-color: {{activeColor}};">立即支付</view>
  75. </view>
  76. <payment style="z-index: 99999;" id='payMent' show="{{show}}" tradeNo="{{tradeNo}}" price="{{shopOrder.price}}" bind:payResult='acceptResult' showType="wxpay"/>
  77. </block>