index.wxml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <view class="page">
  2. <view class="group1">
  3. <view class="group4">
  4. <view class="bd1">
  5. <text lines="1" class="word2">{{selectInfo.title}}</text>
  6. <view class="bd2">
  7. <view class="section3-0" >
  8. <view class="main1-0">
  9. <text lines="1" class="word3-0">{{selectInfo.door_Collect_num}}</text>
  10. <text lines="1" class="word4-0">上门待收</text>
  11. </view>
  12. </view>
  13. <view class="section3-1">
  14. <view class="main1-1">
  15. <text lines="1" class="word3-1">{{selectInfo.door_stay_num}}</text>
  16. <text lines="1" class="word4-1">上门待送</text>
  17. </view>
  18. </view>
  19. <view class="section3-2">
  20. <view class="main1-2">
  21. <text lines="1" class="word3-2">{{selectInfo.collect_num}}</text>
  22. <text lines="1" class="word4-2">已揽收</text>
  23. </view>
  24. </view>
  25. <view class="section3-3">
  26. <view class="main1-3">
  27. <text lines="1" class="word3-3">{{selectInfo.stay_num}}</text>
  28. <text lines="1" class="word4-3">待送回</text>
  29. </view>
  30. </view>
  31. </view>
  32. </view>
  33. </view>
  34. <view class="group5">
  35. <view class="section4" wx:for="{{head_clas}}" wx:key="index">
  36. <view class="wrap1" bindtap="click" data-class="{{item.data_class}}">
  37. <text lines="1" class="{{class==item.data_class?'word5':'info3'}}">{{item.title}}</text>
  38. <view class="group6" wx:if="{{class==item.data_class}}"></view>
  39. </view>
  40. </view>
  41. </view>
  42. <view class="group7">
  43. <view class="group8">
  44. <view class="bd3">
  45. <input type="text" class="word7" value="{{inpval}}" bindinput="serach" placeholder="按订单号、手机号搜索"></input>
  46. </view>
  47. <button bindtap="getData" class="bd4">
  48. <text lines="1" class="txt2">搜索</text>
  49. </button>
  50. </view>
  51. </view>
  52. <view class="group9">
  53. <view wx:for="{{selectInfo[class]}}" class="section8-0">
  54. <view class="main2-0">
  55. <view class="box1-0">
  56. <text lines="1" class="word8-0">订单编号:{{item.order_no}}</text>
  57. <text lines="1" class="word9-0">{{item.status}}</text>
  58. </view>
  59. <view class="box2-0">
  60. <view class="box3-0">
  61. <view wx:for="{{item.order_info}}" wx:key="index" wx:for-item="val" class="box4-0">
  62. <view class="layer1-0">
  63. <image src="{{val.thumb==''?'/image/home/pic.png':val.thumb}}"></image>
  64. </view>
  65. <view class="layer2-0">
  66. <text lines="1" class="txt3-0">x{{val.stock}}件</text>
  67. </view>
  68. </view>
  69. </view>
  70. </view>
  71. <view class="box7-0">
  72. <text lines="1" decode="true" class="info5-0">{{dat}}:{{item.created_at}}</text>
  73. <text lines="1" class="word11-0">共{{item.count}}件</text>
  74. </view>
  75. <view class="box8-0"></view>
  76. <view wx:if="{{class!='collect_list' && class!='stay_list'}}">
  77. <text lines="1" class="info6-0">联系信息</text>
  78. <text lines="1" decode="true" class="word12-0">姓名:{{item.wx_nickname}}&nbsp;&nbsp;|&nbsp;&nbsp;地址:{{item.address}}</text>
  79. </view>
  80. <view class="box9-0">
  81. <text lines="1" bindtap="call" data-phone="{{item.phone}}" class="word13-0">联系用户</text>
  82. </view>
  83. </view>
  84. </view>
  85. </view>
  86. <view class="group10" wx:if="{{selectInfo.unit>0}}">
  87. <view class="section9">
  88. <view bindtap="operate" data-type="0" class="outer1">
  89. <text lines="1" class="word15">揽收</text>
  90. </view>
  91. <view bindtap="operate" data-type="1" class="outer2">
  92. <text lines="1" class="word15">送回</text>
  93. </view>
  94. </view>
  95. </view>
  96. </view>
  97. <view class="group12"></view>
  98. </view>
  99. <van-popup show="{{ show }}" bind:close="onClose" custom-style="height: 40%;">
  100. <view class="section10">
  101. <view class="layer1">
  102. <text lines="1" class="txt5">输入{{type==0?'存衣码':'取件码'}}</text>
  103. <image src="https://lanhu.oss-cn-beijing.aliyuncs.com/SketchPngd2c9be634e0cc7e1ddf11c942d606b7211edf0ab2cec8c9c33a7b0d12b02c3f0" class="icon2"></image>
  104. </view>
  105. <view class="layer2">
  106. <text lines="1" class="txt6">下方输入用户提供的六位数{{type==0?'存衣码':'取件码'}}</text>
  107. </view>
  108. <view class="layer3">
  109. <view class="pic2">
  110. <view class="input">{{one}}</view>
  111. <view class="input">{{two}}</view>
  112. <view class="input">{{three}}</view>
  113. <view class="input">{{four}}</view>
  114. <view class="input">{{five}}</view>
  115. <view class="input">{{six}}</view>
  116. <input auto-focus="{{focus}}" type="number" maxlength="6" model:value="{{inputValue}}" bindinput="finish"></input>
  117. </view>
  118. </view>
  119. </view>
  120. </van-popup>