index.wxml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <navbar parameter='{{parameter}}' id="navbar"></navbar>
  2. <view class='order-details'>
  3. <view wx:if="{{isGoodsReturn==false}}">
  4. <view class='address' wx:if="{{orderInfo.shipping_type === 1 }}">
  5. <image src="/images/address_icon_location.png" class="address_img"></image>
  6. <view class="address_a">
  7. <view class='name'>{{orderInfo.real_name}}<text class='phone'>{{orderInfo.user_phone}}</text></view>
  8. <view class="address_p">{{orderInfo.user_address}}</view>
  9. </view>
  10. </view>
  11. <view class='address' wx:else style="margin-top:0;">
  12. <view class='name' bindtap="makePhone">{{orderInfo.system_store.name}}<text class='phone'>{{orderInfo.system_store.name.phone}}</text><text class="iconfont icon-tonghua font-color"></text></view>
  13. <view>{{orderInfo.system_store._detailed_address}}</view>
  14. </view>
  15. </view>
  16. <view class="order_a wrapper">
  17. <orderGoods evaluate='{{evaluate}}' orderId="{{order_id}}" cartInfo="{{cartInfo}}"></orderGoods>
  18. <view class='item acea-row row-between'>
  19. <view>支付金额:</view>
  20. <view class='conter'>¥{{orderInfo.total_price}}</view>
  21. </view>
  22. <view class='item acea-row row-between' wx:if='{{orderInfo.coupon_id}}'>
  23. <view>优惠券抵扣:</view>
  24. <view class='conter'>-¥{{orderInfo.coupon_price}}</view>
  25. </view>
  26. <view class='item acea-row row-between' wx:if='{{orderInfo.use_integral > 0}}'>
  27. <view>积分抵扣:</view>
  28. <view class='conter'>-¥{{orderInfo.deduction_price}}</view>
  29. </view>
  30. <view class='item acea-row row-between' wx:if="{{orderInfo.pay_postage > 0}}">
  31. <view>运费:</view>
  32. <view class='conter'>¥{{orderInfo.pay_postage}}</view>
  33. </view>
  34. <view class='actualPay acea-row row-right'>实付款:<text class='money font-color'>¥{{orderInfo.pay_price}}</text></view>
  35. </view>
  36. <view class='wrapper'>
  37. <view class='item acea-row row-between'>
  38. <view>订单编号:</view>
  39. <view class='conter acea-row row-middle row-right'>{{orderInfo.order_id}}<text class='copy' bindtap='copy'>复制</text></view>
  40. </view>
  41. <view class='item acea-row row-between'>
  42. <view>下单时间:</view>
  43. <view class='conter'>{{orderInfo.add_time_y +' '+orderInfo.add_time_h}}</view>
  44. </view>
  45. <view class='item acea-row row-between'>
  46. <view>支付状态:</view>
  47. <view class='conter' wx:if="{{orderInfo.paid}}">已支付</view>
  48. <view class='conter' wx:else>未支付</view>
  49. </view>
  50. <view class='item acea-row row-between'>
  51. <view>支付方式:</view>
  52. <view class='conter'>{{orderInfo._status._payType}}</view>
  53. </view>
  54. <view class='item acea-row row-between' wx:if="{{orderInfo.mark}}">
  55. <view>买家留言:</view>
  56. <view class='conter'>{{orderInfo.mark}}</view>
  57. </view>
  58. </view>
  59. <!-- 退款订单详情 -->
  60. <view class='wrapper' wx:if="{{isGoodsReturn}}">
  61. <view class='item acea-row row-between'>
  62. <view>收货人:</view>
  63. <view class='conter'>{{orderInfo.real_name}}</view>
  64. </view>
  65. <view class='item acea-row row-between'>
  66. <view>联系电话:</view>
  67. <view class='conter'>{{orderInfo.user_phone}}</view>
  68. </view>
  69. <view class='item acea-row row-between'>
  70. <view>收货地址:</view>
  71. <view class='conter'>{{orderInfo.user_address}}</view>
  72. </view>
  73. </view>
  74. <view wx:if="{{orderInfo.status!=0}}">
  75. <view class='wrapper' wx:if='{{orderInfo.delivery_type=="express" }}'>
  76. <view class='item acea-row row-between'>
  77. <view>配送方式:</view>
  78. <view class='conter'>发货</view>
  79. </view>
  80. <view class='item acea-row row-between'>
  81. <view>快递公司:</view>
  82. <view class='conter'>{{orderInfo.delivery_name || ''}}</view>
  83. </view>
  84. <view class='item acea-row row-between'>
  85. <view>快递号:</view>
  86. <view class='conter'>{{orderInfo.delivery_id || ''}}</view>
  87. </view>
  88. </view>
  89. <view class='wrapper' wx:elif='{{orderInfo.delivery_type=="send"}}'>
  90. <view class='item acea-row row-between'>
  91. <view>配送方式::</view>
  92. <view class='conter'>送货</view>
  93. </view>
  94. <view class='item acea-row row-between'>
  95. <view>配送人姓名:</view>
  96. <view class='conter'>{{orderInfo.delivery_name || ''}}</view>
  97. </view>
  98. <view class='item acea-row row-between'>
  99. <view>联系电话:</view>
  100. <view class='conter acea-row row-middle row-right'>{{orderInfo.delivery_id || ''}}<text class='copy' bindtap='goTel'>拨打</text></view>
  101. </view>
  102. </view>
  103. <view class='wrapper' wx:elif='{{orderInfo.delivery_type=="fictitious"}}'>
  104. <view class='item acea-row row-between'>
  105. <view>虚拟发货:</view>
  106. <view class='conter'>已发货,请注意查收</view>
  107. </view>
  108. </view>
  109. </view>
  110. <!-- <view class='wrapper'>
  111. </view> -->
  112. <view style='height:120rpx;'></view>
  113. <view class='footer acea-row row-right row-middle' wx:if="{{isGoodsReturn==false || status.type == 9}}">
  114. <view class='bnt bg-color' wx:if="{{status.type==0}}" data-order_id='{{orderInfo.order_id}}' bindtap='pay_open'>立即付款</view>
  115. <!-- <navigator class='bnt cancel' wx:elif="{{status.type==1}}" hover-class='none' url='/pages/goods_return/index?orderId={{orderInfo.order_id}}'>申请退款</navigator> -->
  116. <view class='bnt bg-color' wx:if="{{status.class_status==1}}" bindtap='goJoinPink'>查看拼团</view>
  117. <navigator class='bnt cancel' wx:if="{{orderInfo.delivery_type == 'express' && status.class_status==3 && status.type==2}}" hover-class='none' url='/pages/goods_logistics/index?orderId={{orderInfo.order_id}}'>查看物流</navigator>
  118. <view class='bnt bg-color' wx:if="{{status.class_status==3}}" bindtap='confirmOrder'>确认收货</view>
  119. <!-- <view class='bnt cancel' wx:if="{{status.type==4}}" bindtap='delOrder'>删除订单</view> -->
  120. <!-- <view class='bnt bg-color' wx:if="{{status.class_status==5}}" bindtap='goOrderConfirm'>再次购买</view> -->
  121. </view>
  122. </view>
  123. <home></home>
  124. <authorize bind:onLoadFun='onLoadFun'></authorize>
  125. <payment payMode='{{payMode}}' pay_close="{{pay_close}}" bind:onChangeFun='onChangeFun' order_id="{{pay_order_id}}" totalPrice='{{totalPrice}}'></payment>