list.wxml 1.1 KB

123456789101112131415161718192021
  1. <view class="toptip {{tipStaus}} text-white {{tipType}}" style='top:{{CustomBar}}px;'>{{tipText}}</view>
  2. <cu-custom bgColor="bg-color" isBack="{{true}}" title="设备列表">
  3. <!-- <view slot="content">设备列表</view> -->
  4. </cu-custom>
  5. <view class="worker_search">
  6. <view class="worker_search_con">
  7. <image src="../../img/scan.png" bindtap="goInstructConfig"></image>
  8. <input type="text" placeholder="请输入IMEI编号" value="{{keyword}}" bindinput="setKeyword"></input>
  9. <view class="text-color" bindtap="searchList">
  10. <text class="cuIcon-search"></text>
  11. 搜索
  12. </view>
  13. </view>
  14. </view>
  15. <view class="query_list">
  16. <navigator class="query_item" url="{{'/pages/instruct/config?imei='+item}}" wx:for="{{list}}" wx:for-item="item" wx:key="index">
  17. <view class="query_item_txt"><text class="query_item_label">IMEI编号: </text> {{item || "N/A"}}</view>
  18. <!-- <view class="query_item_txt"><text class="query_item_label">设备地址: </text> {{item.address || "N/A"}}</view>
  19. <view class="query_item_txt"><text class="query_item_label">负责人: </text> {{item.person || "N/A"}}</view> -->
  20. </navigator>
  21. </view>