feat: improve Banban UI and binding diagnostics

This commit is contained in:
stu2not
2026-09-23 20:19:14 +08:00
parent da3f71a2e3
commit 3fd750989f
34 changed files with 4247 additions and 61 deletions
+5 -4
View File
@@ -1,4 +1,5 @@
import { getParticipantArtwork } from '@/utils/artwork'
import { formatConversationPreview } from '@/utils/chat-preview'
import PageTitle from '@/components/page-title'
import { getPageStyle } from '@/utils/page-style'
import { setActiveTabRoute } from '@/utils/tab-bar'
@@ -172,7 +173,7 @@ export default function Chat() {
<Text className='empty-title'>当前宝贝暂无会话</Text>
</View>
) : (
<ScrollView className='conversation-list' scrollY>
<ScrollView className='conversation-list' scrollY enhanced showScrollbar={false}>
{conversations.map((conversation) => (
<View
key={conversation.key}
@@ -191,9 +192,9 @@ export default function Chat() {
<Text className='conversation-time'>{conversation.time}</Text>
</View>
<View className='conversation-footer'>
<Text className='last-message' numberOfLines={1}>
{conversation.lastMessage}
</Text>
<View className='last-message'>
{formatConversationPreview(conversation.lastMessage)}
</View>
</View>
{conversation.childName && <Text className='conversation-meta'>{conversation.childName}</Text>}
</View>