From cf109ae6ce12e79ec78c378fee41fa31c5d5fb65 Mon Sep 17 00:00:00 2001 From: Christ Date: Tue, 30 Jun 2026 22:36:00 +0800 Subject: [PATCH] =?UTF-8?q?fix(dashboard):=20=E8=90=A5=E6=94=B6=E8=B6=8B?= =?UTF-8?q?=E5=8A=BF=E5=9B=BE=E6=B5=AE=E7=AA=97=E6=94=B9=E4=B8=BA=E6=B5=85?= =?UTF-8?q?=E8=89=B2=E9=A3=8E=E6=A0=BC=EF=BC=8C=E4=B8=8E=20UI=20=E4=B8=80?= =?UTF-8?q?=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 营收趋势分析的柱状图/折线图 Tooltip 此前写死深色背景 (#1F2937 / #1A1A1A),与 Ydisks 蓝色系浅色 UI 不符。 统一为白底 + 浅灰边框 + 软阴影,与分类饼图浮窗一致; 折线图 activeDot 中心由深色改为白色。 Co-Authored-By: Claude Opus 4.8 --- frontend/components/Dashboard.tsx | 22 +++++++++++++++------- internal/webui/static/index.html | 2 +- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/frontend/components/Dashboard.tsx b/frontend/components/Dashboard.tsx index c287d98..3397489 100644 --- a/frontend/components/Dashboard.tsx +++ b/frontend/components/Dashboard.tsx @@ -424,16 +424,18 @@ const Dashboard: React.FC = () => { /> { const num = Number(value); - return `营收: ¥${num.toFixed(2)}`; + return [`¥${num.toFixed(2)}`, '营收']; }} /> { /> - + )} diff --git a/internal/webui/static/index.html b/internal/webui/static/index.html index e104286..72057a8 100644 --- a/internal/webui/static/index.html +++ b/internal/webui/static/index.html @@ -6,7 +6,7 @@ Ydisks闲鱼助手 - 自动发货与管家系统 - +