logistics.wxml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <view class="bg">
  2. <view class="logistics-top__bg">
  3. <view class="logistics-top">
  4. <view class="logistics-top__text">买家信息</view>
  5. <image class="logistics-top__head" src="{{order.wx_user.head}}"></image>
  6. <view class="logistics-top__name">{{order.wx_user.nickname}}</view>
  7. </view>
  8. </view>
  9. <view class="orderDetail-address" wx:key="{{index}}" wx:if="{{order.status !== 'unpay' && order.status !== 'closed'}}">
  10. <view class="orderDetail-address__left"></view>
  11. <view class="orderDetail-address__right">
  12. <view class="orderDetail-address__info">
  13. <view class="orderDetail-address__name">收件人:{{order.contact}}</view>
  14. <view class="orderDetail-address__tel">{{order.tel}}</view>
  15. <view class="clean"></view>
  16. </view>
  17. <view class="orderDetail-address__more ellipsisLn">{{order.address}}</view>
  18. </view>
  19. </view>
  20. <view class="logistics-main">
  21. <view class="logistics-main__line logistics-main__border">
  22. <view class="logistics-main__title">物流公司</view>
  23. <input type="text" class="logistics-main__input" placeholder-class="text-placeholder" placeholder="请填写寄件物流公司名称" value="{{company}}" bindinput="bindCompany" />
  24. </view>
  25. <view class="logistics-main__line">
  26. <view class="logistics-main__title">单号</view>
  27. <view class="logistics-main__qcode" bindtap="getqcode"></view>
  28. <input type="number" class="logistics-main__qcinput" placeholder-class="text-placeholder" placeholder="请填写寄件物流单号" value="{{express}}" bindinput="bindExpress" />
  29. </view>
  30. </view>
  31. <view class="logistics-main" wx:if="{{secondshow}}">
  32. <view class="logistics-main__line logistics-main__border">
  33. <view class="logistics-main__title">物流公司</view>
  34. <input type="text" class="logistics-main__input" placeholder-class="text-placeholder" placeholder="请填写寄件物流公司名称" value="{{company1}}" bindinput="bindCompany1" />
  35. </view>
  36. <view class="logistics-main__line">
  37. <view class="logistics-main__title">单号</view>
  38. <view class="logistics-main__qcode" bindtap="getqcode1"></view>
  39. <input type="number" class="logistics-main__qcinput" placeholder-class="text-placeholder" placeholder="请填写寄件物流单号" value="{{express1}}" bindinput="bindExpress1" />
  40. </view>
  41. </view>
  42. <view class="logistics-main" wx:if="{{thirdshow}}">
  43. <view class="logistics-main__line logistics-main__border">
  44. <view class="logistics-main__title">物流公司</view>
  45. <input type="text" class="logistics-main__input" placeholder-class="text-placeholder" placeholder="请填写寄件物流公司名称" value="{{company2}}" bindinput="bindCompany2" />
  46. </view>
  47. <view class="logistics-main__line">
  48. <view class="logistics-main__title">单号</view>
  49. <view class="logistics-main__qcode" bindtap="getqcode2"></view>
  50. <input type="number" class="logistics-main__qcinput" placeholder-class="text-placeholder" placeholder="请填写寄件物流单号" value="{{express2}}" bindinput="bindExpress2" />
  51. </view>
  52. </view>
  53. <view class="plus-part" bindtap="pluslist" wx:if="{{!thirdshow}}">
  54. <image src="http://fohow.oss-cn-shenzhen.aliyuncs.com/orderlist/lplus.png" class="plus-img" />
  55. <view class="plus-text">添加物流信息</view>
  56. <view class="clear"></view>
  57. </view>
  58. <view class="mius-part" bindtap="miuslist" wx:if="{{secondshow}}">
  59. <image src="http://fohow.oss-cn-shenzhen.aliyuncs.com/orderlist/lmius.png" class="mius-img" />
  60. <view class="mius-text">删减物流信息</view>
  61. <view class="clear"></view>
  62. </view>
  63. <form bindsubmit="setExpress" report-submit="{{true}}" wx:if="{{order.status === 'processing'}}">
  64. <button class="button logistics-button" formType="submit" data-id="{{item.order_id}}">
  65. 确认发货
  66. </button>
  67. </form>
  68. <form bindsubmit="putExpress" report-submit="{{true}}" wx:if="{{order.status === 'dispatch'}}">
  69. <button class="button logistics-button" formType="submit" data-id="{{item.order_id}}">
  70. 修改物流
  71. </button>
  72. </form>
  73. <!-- <view class="logistics-button" bindtap="setExpress" wx:if="{{order.status === 'processing'}}">确认发货</view>
  74. <view class="logistics-button" bindtap="putExpress" wx:if="{{order.status === 'dispatch'}}">修改物流</view> -->
  75. </view>