index.axml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <view class='page' ref='saveChildRef0'>
  2. <view class='search'>
  3. <custom-input
  4. class='search_input'
  5. placeholder='请输入区域名称'
  6. placeholder-class='input-placeholder'
  7. onInput='getVaule'
  8. >
  9. </custom-input>
  10. <btn class='query' onTap='antmoveAction' data-antmove-tap='getList'>
  11. <image class='query_img' src='../../../static/function-bar/Vector.png'>
  12. </image>
  13. 查询
  14. </btn>
  15. </view>
  16. <view
  17. a:for='{{list}}'
  18. class='content'
  19. a:key='{{index}}'
  20. data-item='{{item}}'
  21. data-type='details'
  22. ref-numbers='{{list}}'
  23. onTap='antmoveAction'
  24. data-antmove-tap='gotoFun'
  25. >
  26. <view class='tit'>
  27. {{item.disinfectAreaName}}
  28. <text>
  29. {{item.todayDisinfectNum}}/{{item.todayTotalDisinfectNum}}
  30. </text>
  31. </view>
  32. <view class='today'>
  33. 今日消杀次数:
  34. <text
  35. a:for='{{item.disinfectAreaTimeVOList}}'
  36. a:for-item='num'
  37. a:key='{{disinfectAreaTimeId}}'
  38. class="{{num.disinfectAreaTimeType===1?'blue':num.disinfectAreaTimeType===2?'red':''}}"
  39. ref-numbers='{{item.disinfectAreaTimeVOList}}'
  40. >
  41. </text>
  42. </view>
  43. <view class='time'>
  44. {{item.waitDisinfect}}
  45. </view>
  46. <view class='place'>
  47. 具体消杀地点:{{item.disinfectAreaAddress}}
  48. </view>
  49. <view a:if='{{checkAuth}}' class='button'>
  50. <view
  51. class='remind'
  52. data-index='{{index}}'
  53. catchTap='antmoveAction'
  54. data-antmove-tap='remindFun'
  55. >
  56. 提醒消杀
  57. </view>
  58. <view
  59. class='update'
  60. data-item='{{item}}'
  61. data-type='edit'
  62. onTap='antmoveAction'
  63. data-antmove-tap='gotoFun'
  64. >
  65. 编辑
  66. </view>
  67. </view>
  68. </view>
  69. <view a:if='{{list.length<=0}}' class='tip-area'>
  70. <text>
  71. ~暂无更多~
  72. </text>
  73. </view>
  74. </view>