1
This commit is contained in:
@@ -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 显示标题
|
||||
|
||||
Reference in New Issue
Block a user