index.wxml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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" wx:if="{{selectInfo.unit>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" wx:if="{{selectInfo.unit>0}}">
  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" wx:if="{{class=='door_stay_list'||class=='stay_list'}}" class="word8-0">封签号:{{item.seal_no}}</text>
  57. <text lines="1" wx:else class="word8-0">订单编号:{{item.order_no}}</text>
  58. <text lines="1" class="word9-0">{{item.status}}</text>
  59. </view>
  60. <view class="box2-0">
  61. <view class="box3-0">
  62. <view wx:for="{{item.order_info}}" wx:key="index" wx:for-item="val" catchtap="openpreview" data-url="{{val.thumb}}" data-urls="{{item.order_info}}" class="box4-0">
  63. <view class="layer1-0">
  64. <image src="{{val.thumb==''?'/image/home/pic.png':val.thumb}}"></image>
  65. </view>
  66. <view class="layer2-0">
  67. <text lines="1" class="txt3-0">x{{val.stock}}件</text>
  68. </view>
  69. </view>
  70. </view>
  71. </view>
  72. <view class="box7-0">
  73. <text lines="1" decode="true" class="info5-0">{{dat}}:{{item.created_at}}</text>
  74. <text lines="1" class="word11-0">共{{item.count}}件</text>
  75. </view>
  76. <view class="box8-0"></view>
  77. <view wx:if="{{class!='collect_list' && class!='stay_list'}}">
  78. <text lines="1" class="info6-0">联系信息</text>
  79. <text lines="1" decode="true" class="word12-0">姓名:{{item.wx_nickname}}&nbsp;&nbsp;|&nbsp;&nbsp;地址:{{item.address}}</text>
  80. </view>
  81. <view class="box9-0">
  82. <text lines="1" bindtap="call" data-phone="{{item.phone}}" class="word13-0">联系用户</text>
  83. </view>
  84. </view>
  85. </view>
  86. </view>
  87. <!-- wx:if="{{selectInfo.unit>0}}" -->
  88. <view class="group10">
  89. <view class="section9">
  90. <view bindtap="operate" data-type="0" class="outer1">
  91. <text lines="1" class="word15">揽收</text>
  92. </view>
  93. <view bindtap="operate" data-type="1" class="outer2">
  94. <text lines="1" class="word15">送回</text>
  95. </view>
  96. </view>
  97. </view>
  98. </view>
  99. <view class="group12"></view>
  100. </view>
  101. <van-popup show="{{ show }}" bind:close="onClose" custom-style="height: 40%;">
  102. <view class="section10">
  103. <view class="layer1">
  104. <text lines="1" class="txt5">输入{{type==0?'存衣码':'取件码'}}</text>
  105. <image src="https://lanhu.oss-cn-beijing.aliyuncs.com/SketchPngd2c9be634e0cc7e1ddf11c942d606b7211edf0ab2cec8c9c33a7b0d12b02c3f0" class="icon2"></image>
  106. </view>
  107. <view class="layer2">
  108. <text lines="1" class="txt6">下方输入用户提供的六位数{{type==0?'存衣码':'取件码'}}</text>
  109. </view>
  110. <view class="layer3">
  111. <view class="pic2">
  112. <view class="input">{{one}}</view>
  113. <view class="input">{{two}}</view>
  114. <view class="input">{{three}}</view>
  115. <view class="input">{{four}}</view>
  116. <view class="input">{{five}}</view>
  117. <view class="input">{{six}}</view>
  118. <input auto-focus="{{focus}}" type="number" maxlength="6" model:value="{{inputValue}}" bindinput="finish"></input>
  119. </view>
  120. </view>
  121. </view>
  122. </van-popup>