From 6de89918d7b61efbc66f491d66dc302e1c1cc474 Mon Sep 17 00:00:00 2001 From: admin <1297598740@qq.com> Date: Mon, 26 Jan 2026 09:47:34 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E6=94=AF=E5=87=BA?= =?UTF-8?q?=E8=B6=8B=E5=8A=BF=E5=9B=BE=E8=A1=A8=E5=92=8C=E8=B4=A2=E5=8A=A1?= =?UTF-8?q?=E6=A6=82=E8=A7=88=E5=8A=9F=E8=83=BD=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/charts/SpendingTrendChart.tsx | 34 ++++----- src/pages/Home/Home.tsx | 73 ++++++++++---------- 2 files changed, 50 insertions(+), 57 deletions(-) diff --git a/src/components/charts/SpendingTrendChart.tsx b/src/components/charts/SpendingTrendChart.tsx index fb08c94..6ef5119 100644 --- a/src/components/charts/SpendingTrendChart.tsx +++ b/src/components/charts/SpendingTrendChart.tsx @@ -115,25 +115,21 @@ export const SpendingTrendChart: React.FC = ({ }; return ( -
-

- - 近7日支出趋势 -

- +
+
+

+ 近7日支出趋势 +

+
+
); }; diff --git a/src/pages/Home/Home.tsx b/src/pages/Home/Home.tsx index cb92f24..d08cf42 100644 --- a/src/pages/Home/Home.tsx +++ b/src/pages/Home/Home.tsx @@ -260,46 +260,43 @@ function Home() { return (
-
-
-
-
setLedgerSelectorOpen(true)}> - {currentLedger && ( - <> - - {currentLedger.name} - - - )} -
- {new Date().toLocaleDateString('zh-CN', { weekday: 'short', month: 'long', day: 'numeric' })} +
+
+
setLedgerSelectorOpen(true)}> + {currentLedger && ( + <> + + {currentLedger.name} + + + )}
-

- {greeting},保持节奏 -

-

- - {insight} -

+ {new Date().toLocaleDateString('zh-CN', { weekday: 'short', month: 'long', day: 'numeric' })}
-
- - -
-
- +

+ {greeting},保持节奏 +

+

+ + {insight} +

+
+
+ + +