From 77b829a0969664ca6f797f9099c9e7819071c986 Mon Sep 17 00:00:00 2001 From: shy3130 <415333856@qq.com> Date: Thu, 10 Sep 2026 22:05:32 +0800 Subject: [PATCH] =?UTF-8?q?style(dashboard):=20=E5=B9=BF=E5=BA=A6=E6=9D=A1?= =?UTF-8?q?=E4=B8=8E=E6=B6=A8=E8=B7=8C=E5=88=86=E5=B8=83=E7=BB=9F=E4=B8=80?= =?UTF-8?q?=E4=B8=BA=E5=B7=A6=E7=BB=BF=E5=8F=B3=E7=BA=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/Dashboard.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/frontend/src/pages/Dashboard.tsx b/frontend/src/pages/Dashboard.tsx index e418927..ad1656e 100644 --- a/frontend/src/pages/Dashboard.tsx +++ b/frontend/src/pages/Dashboard.tsx @@ -266,15 +266,16 @@ function BreadthBar({ data }: { data: OverviewMarket['breadth'] }) { const flatW = Math.max(0, 100 - upW - downW) return (
+ {/* 与上方涨跌分布同向: 左跌(绿) 右涨(红) */}
-
-
+
+
-
{data.up}
-
{data.flat}
{data.down}
+
{data.flat}
+
{data.up}
)