From 8da7d1153f6dacf422ea48dc2d1c23ceabfe5f13 Mon Sep 17 00:00:00 2001 From: katelya Date: Mon, 1 Sep 2025 22:06:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=20PageLayout=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=EF=BC=8C=E8=B0=83=E6=95=B4=20TopNavbar=20?= =?UTF-8?q?=E7=9A=84=E5=9B=BA=E5=AE=9A=E5=AE=9A=E4=BD=8D=E5=92=8C=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PageLayout.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/PageLayout.tsx b/src/components/PageLayout.tsx index cb5c932..6546ba9 100644 --- a/src/components/PageLayout.tsx +++ b/src/components/PageLayout.tsx @@ -71,8 +71,10 @@ const TopNavbar = ({ activePath = '/' }: { activePath?: string }) => { }, ]; + // 桌面端:顶部固定导航(fixed) + // 移动端:不显示此组件,改由底部导航 + 轻量顶部条(非固定) return ( -