This commit is contained in:
张成
2025-11-14 22:21:54 +08:00
parent d6349d14e8
commit 6b560da897
9 changed files with 81 additions and 29 deletions

View File

@@ -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: "我的",
}}
/>
);
}