feat(wip): 聊天頁面的消息列表, 自己索引消息

This commit is contained in:
CrescentLeaf
2025-09-08 23:17:59 +08:00
parent 5eb7e0018a
commit dfe8b27a12

View File

@@ -4,6 +4,8 @@ import MessageContainer from "./MessageContainer.jsx"
import * as React from 'react'
export default function ChatFragment({ ...props } = {}) {
const messageList = React.useState([])
return (
<div style={{
width: '100%',
@@ -31,11 +33,6 @@ export default function ChatFragment({ ...props } = {}) {
<mdui-button variant="text">加載更多</mdui-button>
</div>
<MessageContainer>
<Message
nickName="Fey"
avatar="https://www.court-records.net/mugshot/aa6-004-maya.png">
Test
</Message>
</MessageContainer>
{
// 输入框