index.axml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <view class="list">
  2. <view a:if="{{ isSearch }}" class="list-search">
  3. <view class="list-info-item">
  4. <view class="list-info-item-tit">VID</view>
  5. <input
  6. type="text"
  7. value="{{searchData.data.vid}}"
  8. placeholder="请输入VID"
  9. onInput="getVid"
  10. ></input>
  11. </view>
  12. <view class='list-info-item'>
  13. <view class="list-info-item-tit">姓名</view>
  14. <input value="{{searchData.data.certName}}" placeholder="请输入姓名" onInput="getUserName" />
  15. </view>
  16. <view class='list-info-item'>
  17. <view class="list-info-item-tit">身份证号</view>
  18. <input value="{{searchData.data.certNo}}" placeholder="请输入身份证号" onInput="getCardID" />
  19. </view>
  20. <view class="list-search-footer">
  21. <view class="list-search-btn">
  22. <button onTap="handleClear">清空</button>
  23. </view>
  24. <view class="list-search-btn1">
  25. <button onTap="handleSearch">搜索</button>
  26. </view>
  27. </view>
  28. </view>
  29. <view a:if="{{ !isSearch }}" class="list-top" onTap="openSearch">
  30. <view class="list-top-icon">
  31. <image mode="aspectFill" src="../../static/service/down.png" />
  32. </view>
  33. <view>
  34. 查询
  35. </view>
  36. </view>
  37. <view a:else class="list-top" onTap="closeSearch">
  38. <view class="list-top-icon">
  39. <image mode="aspectFill" src="../../static/service/up.png" />
  40. </view>
  41. </view>
  42. <view a:for="{{ userList }}" class="list-content" a:key="index">
  43. <view class="list-content-tit">
  44. {{item.vid}}
  45. </view>
  46. <view class="list-content-main">
  47. <view class="list-main-left">
  48. <view class="list-main-left-item">
  49. <view class="list-main-left-img">
  50. <image mode="scaleToFill" src="../../static/service/name.png" />
  51. </view>
  52. <view class="list-main-left-name">
  53. {{item.certName}}
  54. </view>
  55. </view>
  56. <view class="list-main-left-item">
  57. <view class="list-main-left-img">
  58. <image mode="scaleToFill" src="../../static/service/card.png" />
  59. </view>
  60. <view class="list-main-left-name">
  61. {{item.certNo}}
  62. </view>
  63. </view>
  64. </view>
  65. <view class="list-main-right" onTap="outStorage" data-item="{{item.vid}}">
  66. <view class="list-main-right-img">
  67. <image mode="scaleToFill" src="../../static/service/outicon.png" />
  68. </view>
  69. </view>
  70. </view>
  71. </view>
  72. </view>