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.
 

25 lines
1.2 KiB

<view>
<tabs active="{{ 1 }}" />
<scroll-view class="scroll" scroll-y="{{true}}" enable-passive="{{true}}"
bindscrolltolower="loadMore">
<view class="card" wx:for="{{ mails }}" wx:key="id">
<view class="flex between v-center header">
<text class="title" bind:tap="goMailDetail" data-id="{{ item.id }}">{{ item.title }}</text>
<text class="state">{{
MAIL_STATES[item.mailState] || "办理中"
}}</text>
</view>
<view class="content">信件日期:{{ item.createTime }}</view>
<view class="flex v-center between footer" >
<text wx:if="{{ !item.satisfaction }}" style="color: #666">请收到短信后及时进行满意度评价</text>
<text wx:else>本次办理服务</text>
<view style="padding: 16px" wx:if="{{ item.satisfaction }}">
<text>{{ satisfactions[item.satisfaction] }}</text>
</view>
</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>