index.wxml 4.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <navbar parameter='{{parameter}}'></navbar>
  2. <view class="pos-order-list" ref="container">
  3. <view class="nav acea-row row-around row-middle" style='top:{{navH}}rpx'>
  4. <view class="item" class="{{orderStatus == 0 ? 'active':''}}" bindtap="changeStatus" data-status="0">
  5. 待付款
  6. </view>
  7. <view class="item" class="{{orderStatus == 1 ? 'active':''}}" bindtap="changeStatus" data-status="1">
  8. 待发货
  9. </view>
  10. <view class="item" class="{{orderStatus == 2 ? 'active':''}}" bindtap="changeStatus" data-status="2">
  11. 待收货
  12. </view>
  13. <view class="item" class="{{orderStatus == 3 ? 'active':''}}" bindtap="changeStatus" data-status="3">
  14. 待评价
  15. </view>
  16. <view class="item" class="{{orderStatus == 4 ? 'active':''}}" bindtap="changeStatus" data-status="4">
  17. 已完成
  18. </view>
  19. <view class="item" class="{{orderStatus == -3 ? 'active':''}}" bindtap="changeStatus" data-status="-3">
  20. 退款
  21. </view>
  22. </view>
  23. <view class="list">
  24. <view class="item" wx:for="{{orderList}}" wx:key='index'>
  25. <view class="order-num acea-row row-middle" bindtap='goOrderDetails' data-order_id="{{item.order_id}}">
  26. 订单号:{{ item.order_id }}
  27. <span class="time">下单时间:{{ item.add_time }}</span>
  28. </view>
  29. <view class="pos-order-goods" wx:for="{{item._info}}" wx:key='index' wx:for-item='itemn' wx:for-index='indexn'>
  30. <view class="goods acea-row row-between-wrapper">
  31. <view class="picTxt acea-row row-between-wrapper" bindtap='goOrderDetails' data-order_id="{{item.order_id}}">
  32. <view class="pictrue">
  33. <image src='{{itemn.cart_info.productInfo.image}}'></image>
  34. </view>
  35. <view class="text acea-row row-between row-column">
  36. <view class="info line2">
  37. {{ itemn.cart_info.productInfo.store_name }}
  38. </view>
  39. <view class="attr" wx:if='{{itemn.cart_info.productInfo.suk}}'>
  40. {{ itemn.cart_info.productInfo.suk }}
  41. </view>
  42. </view>
  43. </view>
  44. <view class="money">
  45. <view class="x-money">¥{{ itemn.cart_info.productInfo.price }}</view>
  46. <view class="num">x{{ itemn.cart_info.cart_num }}</view>
  47. <view class="y-money">
  48. ¥{{ itemn.cart_info.productInfo.ot_price }}
  49. </view>
  50. </view>
  51. </view>
  52. </view>
  53. <view class="public-total">
  54. 共{{ item.total_num }}件商品,应支付
  55. <span class="money">¥{{ item.pay_price }}</span> ( 邮费 ¥{{item.total_postage}})
  56. </view>
  57. <view class="operation acea-row row-between-wrapper">
  58. <view class="more">
  59. <!-- <div class="iconfont icon-gengduo" @click="more(index)"></div>-->
  60. <!-- <div class="order" v-show="current === index">-->
  61. <!-- <div class="items">-->
  62. <!-- {{ where.status > 0 ? "删除" : "取消" }}订单-->
  63. <!-- </div>-->
  64. <!-- <div class="arrow"></div>-->
  65. <!-- </div>-->
  66. </view>
  67. <view class="acea-row row-middle">
  68. <view class="bnt" wx:if="{{orderStatus == 0}}" bindtap="modify" data-status="0" data-orderInfo="{{item}}">
  69. 一键改价
  70. </view>
  71. <view class="bnt" bindtap="modify" data-status="1" data-orderInfo="{{item}}">订单备注</view>
  72. <view class="bnt" wx:if="{{orderStatus == -3 && item.refund_status === 1}}" bindtap="modify" data-status="0" data-orderInfo="{{item}}">
  73. 立即退款
  74. </view>
  75. <view class="bnt cancel" wx:if="{{item.pay_type === 'offline' && item.paid === 0}}" bindtap="offlinePay" data-orderInfo="{{item}}">
  76. 确认付款
  77. </view>
  78. <navigator class="bnt" url='/pages/admin/order_deliver/index?order_id={{item.order_id}}' wx:if="{{orderStatus == 1}}" hover-class='none'>去发货</navigator>
  79. </view>
  80. </view>
  81. </view>
  82. </view>
  83. <view class='loadingicon acea-row row-center-wrapper' wx:if="{{loading}}">
  84. <text class='loading iconfont icon-jiazai' hidden='{{loading==false}}'></text>{{loadTitle}}
  85. </view>
  86. </view>
  87. <authorize bind:onLoadFun='onLoadFun'></authorize>
  88. <priceChange status="{{status}}" change="{{change}}" orderInfo="{{orderInfo}}" bind:onChangeFun='onChangeFun' bind:getIndex='getIndex' wx:if="{{orderInfo}}"></priceChange>