feat(platform): add history report templates

This commit is contained in:
lingniu
2026-07-05 14:25:41 +08:00
parent e94ccc37d8
commit 109ba09934
3 changed files with 211 additions and 0 deletions

View File

@@ -4629,6 +4629,76 @@ button.vp-realtime-command-item:focus-visible {
align-self: end;
}
.vp-history-report-templates {
display: grid;
grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
gap: 14px;
}
.vp-history-report-summary {
padding: 14px;
border: 1px solid rgba(22, 100, 255, 0.18);
border-radius: var(--vp-radius);
background: #f7faff;
display: grid;
gap: 10px;
align-content: start;
}
.vp-history-report-template-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 12px;
}
.vp-history-report-template {
min-height: 158px;
padding: 12px;
border: 1px solid var(--vp-border);
border-radius: var(--vp-radius);
background: #fbfcff;
color: inherit;
text-align: left;
font: inherit;
cursor: pointer;
display: grid;
gap: 8px;
align-content: start;
}
.vp-history-report-template:hover,
.vp-history-report-template:focus-visible {
border-color: rgba(22, 100, 255, 0.42);
box-shadow: 0 10px 24px rgba(24, 39, 75, 0.08);
outline: none;
}
.vp-history-report-template:disabled {
cursor: not-allowed;
opacity: 0.62;
}
.vp-history-report-template strong {
color: var(--vp-text);
font-size: 18px;
line-height: 24px;
font-weight: 700;
word-break: break-word;
}
.vp-history-report-template span {
color: var(--vp-text-muted);
font-size: 12px;
line-height: 18px;
}
.vp-history-report-template em {
color: var(--vp-primary);
font-size: 12px;
font-style: normal;
font-weight: 700;
}
.vp-history-query-workbench {
display: grid;
grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
@@ -6170,6 +6240,8 @@ button.vp-realtime-command-item:focus-visible {
.vp-trajectory-impact-grid,
.vp-history-customer-export-board .semi-card-body,
.vp-history-customer-export-steps,
.vp-history-report-templates,
.vp-history-report-template-grid,
.vp-history-query-workbench,
.vp-history-query-grid,
.vp-history-package-board,