This commit is contained in:
张成
2025-11-14 23:43:51 +08:00
parent 0cf5acde1e
commit 53673a41b1
7 changed files with 8 additions and 8 deletions

View File

@@ -127,9 +127,14 @@ const MainPage: React.FC = () => {
/>
);
} else if (currentTab === "message") {
// 消息页:使用 GeneralNavbar与原始消息页一致只传递 title
// 消息页:使用 GeneralNavbar与原始消息页一致显示用户头像和标题
return (
<GeneralNavbar title="消息" />
<GeneralNavbar
title="消息"
titlePosition="left"
showBack={false}
showAvatar={true}
/>
);
} else if (currentTab === "personal") {
// 我的页:使用 GeneralNavbar 显示标题