feat: add weight config panel to 新建评估 and weighted_score card to report
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -342,6 +342,34 @@ table.group-table td { border-bottom: 1px solid #f1f5f9; font-variant-numeric: t
|
||||
}
|
||||
.report-switcher-select:focus { outline: none; border-color: var(--petrol); }
|
||||
|
||||
/* ?? ?????? ??????????????????????????????????? */
|
||||
.weight-config-panel { margin-top: 12px; }
|
||||
.weight-section-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
|
||||
.weight-rows { display: flex; flex-direction: column; gap: 6px; }
|
||||
.weight-row {
|
||||
display: flex; align-items: center; gap: 10px;
|
||||
font-size: 13px;
|
||||
}
|
||||
.weight-row-label { min-width: 180px; color: var(--slate); font-family: monospace; }
|
||||
.weight-row-input {
|
||||
width: 80px; padding: 4px 8px; border: 1px solid var(--border);
|
||||
border-radius: 6px; font-size: 13px; text-align: right;
|
||||
}
|
||||
.weight-row-input:focus { outline: none; border-color: #6366f1; }
|
||||
.doc-weight-name {
|
||||
flex: 1; padding: 4px 8px; border: 1px solid var(--border);
|
||||
border-radius: 6px; font-size: 13px; min-width: 0;
|
||||
}
|
||||
.weight-row-remove { color: var(--bad); cursor: pointer; font-size: 14px; background: none; border: none; padding: 2px 6px; }
|
||||
.weight-row-remove:hover { background: #fee2e2; border-radius: 4px; }
|
||||
|
||||
/* weighted_score ???????? */
|
||||
.metric-card.weighted-score-card {
|
||||
border: 2px solid #6366f1;
|
||||
background: #f5f3ff;
|
||||
}
|
||||
.metric-card.weighted-score-card .metric-name { color: #4f46e5; font-weight: 700; }
|
||||
|
||||
/* ================================================================
|
||||
打印样式(导出 PDF 用)
|
||||
浏览器打印时隐藏 UI chrome,保留报告内容,图表 canvas 原样输出
|
||||
|
||||
Reference in New Issue
Block a user