1
This commit is contained in:
@@ -4,7 +4,7 @@ import Taro from "@tarojs/taro";
|
||||
import { check_login_status } from "@/services/loginService";
|
||||
import { useUserActions } from "@/store/userStore";
|
||||
import GuideBar from "@/components/GuideBar";
|
||||
import { withAuth, BackNavbar } from "@/components";
|
||||
import { withAuth, GeneralNavbar } from "@/components";
|
||||
import CustomerNavBar from "@/container/listCustomNavbar";
|
||||
import ListPageContent from "./components/ListPageContent";
|
||||
import MessagePageContent from "./components/MessagePageContent";
|
||||
@@ -127,9 +127,9 @@ const MainPage: React.FC = () => {
|
||||
/>
|
||||
);
|
||||
} else if (currentTab === "message") {
|
||||
// 消息页:使用 BackNavbar(与原始消息页一致,只传递 title)
|
||||
// 消息页:使用 GeneralNavbar(与原始消息页一致,只传递 title)
|
||||
return (
|
||||
<BackNavbar title="消息" />
|
||||
<GeneralNavbar title="消息" />
|
||||
);
|
||||
} else if (currentTab === "personal") {
|
||||
// 我的页:使用 CustomerNavBar 显示标题
|
||||
|
||||
Reference in New Issue
Block a user