<view>
  <view class="flex-box-ce header">
    <view class="{{tabIndex==1? 'tabs':''}} flex-1" onTap="tabAction" data-index="1">未读 <text a:if="{{total}}" class="red">({{total}})</text></view>
    <view class="{{tabIndex==2? 'tabs':''}} flex-1" onTap="tabAction" data-index="2">已读</view>
  </view>
  <scroll-view class="scroll" a:if="{{list.length>0}}" scroll-y="{{true}}" onScrollToLower="onScrollToLower">
    <view a:for="{{list}}">
      <view class="backlog_list_tit">{{item.time}}</view>
      <view class="flex-box-ce item" a:for="{{item.list}}" a:for-item="e" data-item="{{e}}" catchTap="openDetail">
        <img-box name="{{e.userInfo.name}}" id="{{e.userInfo.id}}" height="70rpx" width="70rpx" fSize="24rpx"></img-box>
        <view class="flex-1 center">{{e.content}}</view>
        <text class="iconfont icon-jiantouyou"></text>
      </view>
    </view>
    <view class="noDatas" a:if="{{isData}}">没有更多咯</view>
  </scroll-view>
  <no-data a:if="{{list.length==0}}"></no-data>
</view>