index.wxml 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <view class="page">
  2. <view class="box1">
  3. <view class="mod3">
  4. <text lines="1" class="word2">请先选择需要查看的柜子</text>
  5. </view>
  6. <view class="mod4">
  7. <view class="outer2">
  8. <view class="city" bindtap="city">
  9. <text lines="1" class="info2">{{vtype}}</text>
  10. <image src="https://636c-cloud1-7g2wlwzh596f43b6-1306306616.tcb.qcloud.la/ic_xiajiantou%402x.png?sign=0f88c28f4bb4eb880a6af2fb54468091&t=1645189205" class="icon2"></image>
  11. </view>
  12. <view class="section1">
  13. <view class="group2">
  14. <view class="mod5"></view>
  15. <input type="text" name="serch" value="" bindinput="bindinput" placeholder-style="font-size:12px" placeholder="扫描下单码或输入柜名、编号"></input>
  16. </view>
  17. <view class="group3">
  18. <view class="section2"></view>
  19. </view>
  20. </view>
  21. <button bindtap="gettasklist" class="section3">
  22. <text lines="1" class="info3" >搜索</text>
  23. </button>
  24. </view>
  25. </view>
  26. <view class="mod6">
  27. <view class="layer1">
  28. <view class="group4">
  29. <text lines="1" class="word4">柜子列表</text>
  30. <text lines="1" class="txt3">共{{taskInfo.length}}组</text>
  31. </view>
  32. <view class="group5"></view>
  33. </view>
  34. </view>
  35. <view class="item_view" wx:for="{{taskInfo}}" wx:key="index">
  36. <navigator url="/pages/cabinet/cell?id={{item.id}}" >
  37. <image src="{{'/image/home/pic.png'}}" class="item_image"></image>
  38. <view class="item_right">
  39. <view>
  40. <view class="item_right_t">
  41. <view>No.{{item.device_no}}{{item.title}}</view>
  42. <view wx:if="{{index==0}}">距离最近</view>
  43. </view>
  44. <view class="item_right_b">
  45. <view>
  46. <view class="{{item.is_online==1?'bggree_pot':''}}"></view>
  47. <view class="{{item.is_online==1?'colorgree':''}}">{{item.is_online==1?'在线':'离线'}}</view>
  48. </view>
  49. <view>{{item.address}}</view>
  50. </view>
  51. </view>
  52. <view>{{item.distance}}m</view>
  53. </view>
  54. <!-- <view class="group6">
  55. <view class="bd1">
  56. <view class="mod8">
  57. <van-image width="80rpx" height="80rpx" lazy-load src="{{'/image/home/pic.png'}}" />
  58. </view>
  59. </view>
  60. <view class="bd2">
  61. <text lines="1" class="txt4">{{item.title}}</text>
  62. <view class="group7">
  63. <view class="mod9"></view>
  64. <text lines="1" class="{{item.is_online==1?'word5':'word8-0'}}">{{item.is_online==1?'在线':'离线'}}</text>
  65. <text lines="1" class="info4">{{item.address}}</text>
  66. </view>
  67. </view>
  68. <view class="bd3" wx:if="{{index==0}}">
  69. <text lines="1" class="word6">距离最近</text>
  70. </view>
  71. <text lines="1" class="word7">{{item.distance}}m</text>
  72. </view>
  73. <view class="group8">
  74. <view class="group9"></view>
  75. </view> -->
  76. </navigator>
  77. </view>
  78. <view class="mod13"></view>
  79. </view>
  80. </view>
  81. <van-popup show="{{ show }}" position="bottom" bind:close="onClose">
  82. <van-picker show="{{ show }}" columns="{{ columns }}" default-index="{{ 1 }}" bind:change="onChange" />
  83. </van-popup>