From 51391a1195fac2937eebd6a5c09b2f1f3b500e91 Mon Sep 17 00:00:00 2001 From: admin <1297598740@qq.com> Date: Fri, 30 Jan 2026 16:59:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E4=B8=BB=E9=A1=B5?= =?UTF-8?q?=EF=BC=88Home=EF=BC=89=E5=92=8C=E9=80=9A=E7=94=A8=E5=AF=BC?= =?UTF-8?q?=E8=88=AA=EF=BC=88Navigation=EF=BC=89=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/Navigation/Navigation.tsx | 2 ++ src/pages/Home/Home.tsx | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/common/Navigation/Navigation.tsx b/src/components/common/Navigation/Navigation.tsx index ff62332..6b751dc 100644 --- a/src/components/common/Navigation/Navigation.tsx +++ b/src/components/common/Navigation/Navigation.tsx @@ -75,12 +75,14 @@ const navItems: NavItem[] = [ label: '汇率', ariaLabel: '汇率管理 - 管理货币汇率', }, + /* { path: '/ledgers/manage', icon: 'solar:notebook-bold-duotone', label: '账本', ariaLabel: '账本管理 - 切换和管理账本', }, + */ { path: '/settings', icon: 'solar:settings-bold-duotone', diff --git a/src/pages/Home/Home.tsx b/src/pages/Home/Home.tsx index a5b989a..4119286 100644 --- a/src/pages/Home/Home.tsx +++ b/src/pages/Home/Home.tsx @@ -279,10 +279,9 @@ function Home() {
-
setLedgerSelectorOpen(true)} style={{ display: 'inline-flex', alignItems: 'center', gap: '6px', background: 'rgba(255,255,255,0.4)', padding: '4px 10px', borderRadius: '20px', fontSize: '0.8rem', cursor: 'pointer', border: '1px solid rgba(255,255,255,0.5)' }}> +
{currentLedger?.name || '默认账本'} -
{new Date().toLocaleDateString('zh-CN', { weekday: 'short', month: 'long', day: 'numeric' })}