You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
1.0 KiB
20 lines
1.0 KiB
<view> |
|
<tabs active="{{ 2 }}" /> |
|
<scroll-view class="scroll" scroll-y="{{true}}" enable-passive="{{true}}" |
|
refresher-triggered="{{isRefreshing}}" bindrefresherrefresh="handleRefresh" bindscrolltolower="loadMore"> |
|
<view class="card" wx:for="{{ mails }}" wx:key="id"> |
|
<view class="flex between v-center" style="padding-right: var(--cell-horizontal-padding,16px);"> |
|
<view> |
|
<view class="header"> |
|
<text class="title" bind:tap="goWrite" data-id="{{ item.id }}">{{ item.title }}</text> |
|
</view> |
|
<view class="content">信件日期:{{ item.createTime }}</view> |
|
</view> |
|
<van-button icon="delete-o" type="danger" plain round custom-style="border: none" data-id="{{ item.id }}" bindtap="handleDel"></van-button> |
|
</view> |
|
</view> |
|
<view wx:if="{{isLoading}}" class="tips">数据加载中...</view> |
|
<view wx:if="{{noData && mails.length}}" class="tips">没有数据啦~</view> |
|
<van-empty wx:if="{{ !mails.length }}" description="无信件" /> |
|
</scroll-view> |
|
</view> |