chore: establish V1.1 recovery baseline
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
<!-- 消息列表页 U23 -->
|
||||
<view class="page">
|
||||
<ui-section-header
|
||||
wx:if="{{conversations.length > 0}}"
|
||||
title="消息"
|
||||
subtitle="{{unreadTotal > 0 ? unreadTotal + ' 条未读' : '全部已读'}}"
|
||||
/>
|
||||
|
||||
<!-- 加载中(首次) -->
|
||||
<ui-loading
|
||||
wx:if="{{loading && conversations.length === 0}}"
|
||||
mode="skeleton"
|
||||
rows="4"
|
||||
/>
|
||||
|
||||
<!-- 会话列表 -->
|
||||
<block wx:elif="{{conversations.length > 0}}">
|
||||
<ui-conversation-item
|
||||
wx:for="{{conversations}}"
|
||||
wx:key="conversationId"
|
||||
conversation="{{item}}"
|
||||
bind:tap="onGoChat"
|
||||
/>
|
||||
<!-- 加载更多 -->
|
||||
<ui-loading
|
||||
wx:if="{{loading && conversations.length > 0}}"
|
||||
mode="spinner"
|
||||
text="加载更多会话…"
|
||||
inline
|
||||
/>
|
||||
</block>
|
||||
|
||||
<!-- 空状态 -->
|
||||
<ui-empty
|
||||
wx:elif="{{!loading}}"
|
||||
illustration="message"
|
||||
title="还没有消息"
|
||||
description="互相喜欢后可以开始聊天。去看看今天为你推荐的人吧。"
|
||||
actions="{{emptyActions}}"
|
||||
bind:action="onEmptyAction"
|
||||
/>
|
||||
</view>
|
||||
Reference in New Issue
Block a user