From ac6ff4eb2bb23f0d75428c677705bc264559846f Mon Sep 17 00:00:00 2001
From: aaron <>
Date: Thu, 30 Apr 2026 17:01:13 +0800
Subject: [PATCH] 1
---
frontend/src/app/(auth)/dashboard/page.tsx | 28 +++++++++++++++-------
1 file changed, 19 insertions(+), 9 deletions(-)
diff --git a/frontend/src/app/(auth)/dashboard/page.tsx b/frontend/src/app/(auth)/dashboard/page.tsx
index fd5a7503..29c27766 100644
--- a/frontend/src/app/(auth)/dashboard/page.tsx
+++ b/frontend/src/app/(auth)/dashboard/page.tsx
@@ -440,20 +440,23 @@ function MarketSnapshot({
) : null}
{leadingSectors.length ? (
-
-
今日盯住的板块
-
+
+
+
{leadingSectors.map((sector) => {
const pct = sector.realtime_pct_change ?? sector.pct_change;
return (
-
-
-
{sector.sector_name}
-
+
+
+
{sector.sector_name}
+
{sector.limit_up_count > 0 ? `${sector.limit_up_count} 涨停` : "无涨停"} · {sector.stage || "mid"}
-
= 0 ? "text-red-400" : "text-emerald-400"}`}>
+ = 0 ? "text-red-400" : "text-emerald-400"}`}>
{pct >= 0 ? "+" : ""}{pct.toFixed(2)}%
@@ -645,7 +648,14 @@ function FocusStockCard({ rec }: { rec: RecommendationData }) {
{rec.name}
{rec.action_plan ?? "观察"}
-
{rec.ts_code} · {rec.sector}
+
+ {rec.ts_code}
+ {rec.sector ? (
+
+ {rec.sector}
+
+ ) : null}
+