From 714e9d58ba65ab2791548a2744566ecd74df648c Mon Sep 17 00:00:00 2001 From: CrescentLeaf Date: Sat, 19 Apr 2025 00:59:43 +0800 Subject: [PATCH] =?UTF-8?q?ui:=20=E5=88=9D=E6=AD=A5=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E4=BE=A7=E8=BE=B9=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/ui/App.jsx | 42 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/client/ui/App.jsx b/client/ui/App.jsx index 2c787b5..fd0d69c 100644 --- a/client/ui/App.jsx +++ b/client/ui/App.jsx @@ -1,9 +1,47 @@ +import Avatar from "./Avatar.js" import Message from "./chat/Message.js" import MessageContainer from "./chat/MessageContainer.js" +function ListItem({ title, avatar, content }) { + return ( + + {title} + + {content} + + ) +} + export default function App() { return ( -
+
+ { + // 侧边列表 + // 囊括内容: 最近, 联系人 + // 最近 对应 聊天页面 + // 联系人 对应 ??? + } + + + + {/* */} -
+
) } \ No newline at end of file