From e5150638098776a69f61042c05822d7418e74e69 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 7 Mar 2026 07:09:45 +0000 Subject: [PATCH] fix: strategy-plaza white/light theme matching existing UI style --- frontend/app/strategy-plaza/[id]/page.tsx | 24 +-- frontend/app/strategy-plaza/page.tsx | 194 +++++++++++----------- 2 files changed, 112 insertions(+), 106 deletions(-) diff --git a/frontend/app/strategy-plaza/[id]/page.tsx b/frontend/app/strategy-plaza/[id]/page.tsx index 024ec7d..0b47768 100644 --- a/frontend/app/strategy-plaza/[id]/page.tsx +++ b/frontend/app/strategy-plaza/[id]/page.tsx @@ -126,19 +126,19 @@ export default function StrategyDetailPage() { {/* Summary Bar */} {summary && ( -
+
- - 运行 {fmtDur(summary.started_at)} + + 运行 {fmtDur(summary.started_at)} {summary.cvd_windows && ( - CVD {summary.cvd_windows} + CVD {summary.cvd_windows} )} - - 胜率 = 50 ? "text-emerald-400 font-bold" : "text-yellow-400 font-bold"}>{summary.win_rate}% - 净R {summary.net_r >= 0 ? "+" : ""}{summary.net_r}R - 余额 {summary.current_balance.toLocaleString()} U - 24h = 0 ? "text-emerald-400" : "text-red-400"}`}>{summary.pnl_usdt_24h >= 0 ? "+" : ""}{summary.pnl_usdt_24h} U + + 胜率 = 50 ? "text-emerald-600 font-bold" : "text-amber-600 font-bold"}>{summary.win_rate}% + 净R {summary.net_r >= 0 ? "+" : ""}{summary.net_r}R + 余额 {summary.current_balance.toLocaleString()} U + 24h = 0 ? "text-emerald-600" : "text-red-500"}`}>{summary.pnl_usdt_24h >= 0 ? "+" : ""}{summary.pnl_usdt_24h} U
)} @@ -152,10 +152,10 @@ export default function StrategyDetailPage() {