From 465845b2a1667f9322960040ca7f5153adb215e4 Mon Sep 17 00:00:00 2001 From: wangwei Date: Thu, 2 Jul 2026 17:03:02 +0800 Subject: [PATCH] =?UTF-8?q?feat(advisor-comparison):=20add=20=E7=9B=B8?= =?UTF-8?q?=E6=AF=94=E4=B8=8A=E6=AC=A1=E8=BF=90=E8=A1=8C=20panel=20to=20re?= =?UTF-8?q?port=20detail=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- webapp/static/css/app.css | 18 ++++++++++++ webapp/static/index.html | 11 ++++++++ webapp/static/js/report.js | 56 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 85 insertions(+) diff --git a/webapp/static/css/app.css b/webapp/static/css/app.css index 5661e8b..15f70ef 100644 --- a/webapp/static/css/app.css +++ b/webapp/static/css/app.css @@ -270,6 +270,24 @@ table.history-table td { font-variant-numeric: tabular-nums; } .hist-delta.delta-bad { color: #dc2626; } .hist-delta.delta-flat { color: var(--slate-light); } +.advisor-comparison-panel { border-left: 3px solid #0ea5e9; } +.advisor-comparison-header { + display: flex; align-items: baseline; justify-content: space-between; gap: 10px; + margin-bottom: 10px; +} +.advisor-comparison-row { + display: flex; align-items: center; gap: 10px; + padding: 6px 0; border-bottom: 1px solid var(--line); + font-size: 13px; +} +.advisor-comparison-row:last-of-type { border-bottom: none; } +.advisor-comparison-status { font-weight: 600; white-space: nowrap; } +.advisor-comparison-metric { flex: 1; color: var(--slate); } +.advisor-comparison-scores { font-variant-numeric: tabular-nums; white-space: nowrap; } +.advisor-comparison-status.delta-good { color: #16a34a; } +.advisor-comparison-status.delta-bad { color: #dc2626; } +.advisor-comparison-status.delta-flat { color: var(--slate); } + .empty { text-align: center; padding: 60px 20px; color: var(--slate); } .empty p { margin-bottom: 8px; } diff --git a/webapp/static/index.html b/webapp/static/index.html index b48180b..6ac4748 100644 --- a/webapp/static/index.html +++ b/webapp/static/index.html @@ -174,6 +174,17 @@
④ 最低分样本(点击展开逐条复核)
+ + +