<!--pages/emergency/s-b/index1/index.wxml-->
<title-bar title="应急事件"></title-bar>
<scroll-view scroll-y style="height: calc(100vh - {{topBarH}}px);" refresher-enabled bindrefresherrefresh="refresh" bindscrolltolower="dropDown" refresher-triggered="{{freshIng}}">
  <view class="content">
    <view class="filter">
      <picker mode="date" value="{{startTime}}" bindchange="startTimeChange">
        <view class="picker">
          开始时间: {{startTime}}
        </view>
      </picker>
      <view class="line"></view>
      <picker mode="date" value="{{endTime}}" bindchange="endTimeChange">
        <view class="picker">
          结束时间: {{endTime}}
        </view>
      </picker>
    </view>
    <!-- 列表 -->
    <view catchtap="toDetail" data-item="{{item}}" class="item h-div" wx:for="{{list}}">
      <view class="content">
        <view class="title">标题：{{item.title}}</view>
        <view class="des">内容：{{item.content}}</view>
        <view class="time">类型：{{item.emerTypeName}}</view>
        <view class="time">时间：{{item.createTime}}</view>
      </view>
    </view>
    <view class="space"></view>
  </view>
</scroll-view>
<view class="option">
  <view catchtap="push" class="btn">应急上报</view>
</view>