From ea2d0f75f19a4bef8cdf2880d7aafb6782ddd82e Mon Sep 17 00:00:00 2001 From: yuxuanhui Date: Tue, 1 Sep 2026 22:40:24 +0800 Subject: [PATCH] refactor(web): adjust layout and styling for improved responsiveness and visual consistency --- zhixing-web/src/app/layout/app-layout.tsx | 4 +-- .../selection/components/pattern-score.tsx | 7 ++-- .../selection-results-workbench.tsx | 2 +- .../components/signal-record-list.tsx | 36 +++++++++---------- .../pages/selection-results-page.test.tsx | 1 - 5 files changed, 23 insertions(+), 27 deletions(-) diff --git a/zhixing-web/src/app/layout/app-layout.tsx b/zhixing-web/src/app/layout/app-layout.tsx index d81b6c8..283b20f 100644 --- a/zhixing-web/src/app/layout/app-layout.tsx +++ b/zhixing-web/src/app/layout/app-layout.tsx @@ -37,7 +37,7 @@ export function AppLayout() { const [moreOpen, setMoreOpen] = useState(false) return ( -
+
diff --git a/zhixing-web/src/features/selection/components/pattern-score.tsx b/zhixing-web/src/features/selection/components/pattern-score.tsx index e2fec77..b0b5428 100644 --- a/zhixing-web/src/features/selection/components/pattern-score.tsx +++ b/zhixing-web/src/features/selection/components/pattern-score.tsx @@ -19,13 +19,10 @@ export function PatternScoreSummary({ score }: PatternScoreProps) { return 评分暂不可用 } return ( - - + + {formatScore(score.value)} 分 - - {score.case?.name ?? "最佳案例未知"} - {score.status === "below_threshold" ? ( 低于阈值 ) : null} diff --git a/zhixing-web/src/features/selection/components/selection-results-workbench.tsx b/zhixing-web/src/features/selection/components/selection-results-workbench.tsx index b53d82f..9bb998b 100644 --- a/zhixing-web/src/features/selection/components/selection-results-workbench.tsx +++ b/zhixing-web/src/features/selection/components/selection-results-workbench.tsx @@ -105,7 +105,7 @@ export function SelectionResultsWorkbench({ } return ( -
+