From 9630389e2214c232ef17824b62a31e16693c393a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AC=94=E8=AE=B0=E6=9C=AC=E9=87=8C=E7=9A=84=E6=B0=B8?= =?UTF-8?q?=E5=B9=B3?= Date: Sat, 19 Jul 2025 09:27:49 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9C=AC=E6=AC=A1=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=86=85=E5=AE=B9=E5=A6=82=E4=B8=8B=20?= =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=90=9E=E5=AE=9A=EF=BC=8C=E5=BC=80=E5=A7=8B?= =?UTF-8?q?=E5=9C=BA=E6=99=AF=E8=8E=B7=E5=AE=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nkebao/src/components/Layout/layout.module.scss | 1 + nkebao/src/pages/home/index.module.scss | 2 +- nkebao/src/pages/home/index.tsx | 8 ++++---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/nkebao/src/components/Layout/layout.module.scss b/nkebao/src/components/Layout/layout.module.scss index e6e6cb0b4..796b26365 100644 --- a/nkebao/src/components/Layout/layout.module.scss +++ b/nkebao/src/components/Layout/layout.module.scss @@ -2,6 +2,7 @@ display: flex; height: 100vh; flex-direction: column; + background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); } .container main { diff --git a/nkebao/src/pages/home/index.module.scss b/nkebao/src/pages/home/index.module.scss index 9aa1cc1a9..5ead01a4c 100644 --- a/nkebao/src/pages/home/index.module.scss +++ b/nkebao/src/pages/home/index.module.scss @@ -1,6 +1,6 @@ .home-page { padding: 12px; - background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); + } // 导航栏样式 diff --git a/nkebao/src/pages/home/index.tsx b/nkebao/src/pages/home/index.tsx index fd95fce7c..d7f2002ab 100644 --- a/nkebao/src/pages/home/index.tsx +++ b/nkebao/src/pages/home/index.tsx @@ -36,25 +36,25 @@ const Home: React.FC = () => { getTodayStats().then((res: any) => { const todayStatsData = [ { - label: "朋友圈", + label: "同步朋友圈", value: res.momentsNum, icon: , color: "#ff6b35", }, { - label: "群发", + label: "群发任务", value: res.groupPushNum, icon: , color: "#ffd700", }, { - label: "转化率", + label: "获客转化率", value: res.passRate, icon: , color: "#4caf50", }, { - label: "活跃度", + label: "系统活跃度", value: res.sysActive, icon: (