<!--pages/t-j/g-z/index/index.wxml-->
<title-bar title="困难诉求"></title-bar>
<!-- 筛选 -->
<scroll-view scroll-x class="bg-white nav">
  <view class="flex text-center">
    <view class="cu-item flex-sub {{index==curTab?'text-blue cur':''}}" wx:for="{{tabs}}" wx:key catchtap="tabSelect" data-item="{{item}}" data-index="{{index}}">
      {{item.lab}}
    </view>
  </view>
</scroll-view>
<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.difficultyState==1?"待处置":item.difficultyState==2?"已处置":"已取消"}}</view>
        <!-- <view class="des">{{item.title}}11</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>