<!-- list.wxml -->
<view class="mycontainer" style="padding:0rpx;">
  <view class="tab-item">
    <view class="item {{tab==1?'item-checked':''}}" bindtap="checkTab" data-type="1">未回复</view>
    <view class="item {{tab==3?'item-checked':''}}" bindtap="checkTab" data-type="3">已回复</view>
    <view class="item {{tab==5?'item-checked':''}}" bindtap="checkTab" data-type="5">全部</view>
  </view>
  <scroll-view scroll-y='true'>
    <block wx:for='{{list}}'>
      <view class="list-item" bindtap="toDetail" data-id="{{item.id}}" hover-class="myhover" hover-start-time="50" hover-stay-time="50">
        <view class="title">主题：{{item.title}}</view>
        <view class="title">{{item.userName}}</view>
        <view class="title">{{item.createDate}}</view>
        <view class="tag">{{item.messageTag}}</view>
      </view>
    </block>
  </scroll-view>
</view>