<!--pages/msg/index/index.wxml-->
<title-bar title="通知列表"></title-bar>
<scroll-view scroll-y style="height: calc(100vh - 90rpx - {{topBarH}}px);" refresher-enabled bindrefresherrefresh="refresh" bindscrolltolower="getList" refresher-triggered="{{freshIng}}">
  <!-- 列表 -->
  <view catchtap="toDetail" data-item="{{item}}" class="item" wx:for="{{list}}">
    <view class="h-div v-center header">
      <text class="point"></text>
      <text class="title flex">{{TypeData[item.type-1]||''}}</text>
      <text class="time">{{item.createTime}}</text>
    </view>
    <text class="content">{{item.content}}</text>
  </view>
  <empty wx:if="{{list.length==0}}" />
  <view class="space"></view>
</scroll-view>