index.wxml 1.4 KB

1234567891011121314151617181920212223242526272829
  1. <view class="page">
  2. <view class="search">
  3. <input class="search_input" placeholder="请输入区域名称" placeholder-class="input-placeholder" bindinput="getVaule"/>
  4. <button class="query" bindtap="getList">
  5. <image class="query_img" src="../../../static/function-bar/Vector.png" ></image>
  6. 查询
  7. </button>
  8. </view>
  9. <view class="content" bindtap="gotoFun" wx:for="{{list}}" wx:key="index" data-item="{{item}}" data-type="details">
  10. <view class="tit">{{item.disinfectAreaName}}
  11. <text>{{item.todayDisinfectNum}}/{{item.todayTotalDisinfectNum}}</text>
  12. </view>
  13. <view class="today">今日消杀次数:
  14. <text wx:for="{{item.disinfectAreaTimeVOList}}" wx:key="disinfectAreaTimeId" wx:for-item="num" class="{{num.disinfectAreaTimeType===1?'blue':num.disinfectAreaTimeType===2?'red':''}}"></text>
  15. </view>
  16. <view class="time">
  17. {{item.waitDisinfect}}</view>
  18. <view class="place">
  19. 具体消杀地点:{{item.disinfectAreaAddress}}
  20. </view>
  21. <view class="button" wx:if="{{checkAuth}}">
  22. <view class="remind" catchtap="remindFun" data-index="{{index}}">提醒消杀</view>
  23. <view class="update" bindtap="gotoFun" data-item="{{item}}" data-type="edit">编辑</view>
  24. </view>
  25. </view>
  26. <view class="tip-area" wx:if="{{list.length<=0}}">
  27. <text>~暂无更多~</text>
  28. </view>
  29. </view>