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, GeneralNavbar } from "@/components";
|
||||
import { withAuth, BackNavbar } from "@/components";
|
||||
import CustomerNavBar from "@/container/listCustomNavbar";
|
||||
import ListPageContent from "./components/ListPageContent";
|
||||
import MessagePageContent from "./components/MessagePageContent";
|
||||
@@ -132,12 +132,13 @@ const MainPage: React.FC = () => {
|
||||
<BackNavbar title="消息" />
|
||||
);
|
||||
} else if (currentTab === "personal") {
|
||||
// 我的页:使用 GeneralNavbar(参考原始实现)
|
||||
// 我的页:使用 CustomerNavBar 显示标题
|
||||
return (
|
||||
<GeneralNavbar
|
||||
title="我的"
|
||||
showBack={false}
|
||||
showLeft={false}
|
||||
<CustomerNavBar
|
||||
config={{
|
||||
showTitle: true,
|
||||
title: "我的",
|
||||
}}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user