feat(platform): add custom time window monitor

This commit is contained in:
lingniu
2026-07-05 17:23:12 +08:00
parent afbe29b8de
commit 2e20ec5c81
3 changed files with 168 additions and 0 deletions

View File

@@ -5665,6 +5665,84 @@ button.vp-realtime-command-item:focus-visible {
word-break: break-word;
}
.vp-history-time-window-board {
display: grid;
grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
gap: 16px;
}
.vp-history-time-window-summary {
min-height: 176px;
padding: 14px;
border: 1px solid rgba(22, 100, 255, 0.2);
border-radius: var(--vp-radius);
background: #f5f9ff;
display: grid;
gap: 12px;
align-content: start;
}
.vp-history-time-window-summary .semi-typography {
font-size: 13px;
line-height: 20px;
}
.vp-history-time-window-grid {
min-width: 0;
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 12px;
}
.vp-history-time-window-item {
min-height: 176px;
padding: 12px;
border: 1px solid var(--vp-border);
border-radius: var(--vp-radius);
background: #fff;
color: inherit;
cursor: pointer;
font: inherit;
text-align: left;
display: grid;
gap: 8px;
align-content: start;
}
.vp-history-time-window-item:disabled {
cursor: not-allowed;
opacity: 0.58;
}
.vp-history-time-window-item:not(:disabled):hover,
.vp-history-time-window-item:not(:disabled):focus-visible {
border-color: rgba(22, 100, 255, 0.42);
background: #f5f9ff;
outline: none;
}
.vp-history-time-window-item strong {
color: var(--vp-text);
font-size: 18px;
line-height: 24px;
font-weight: 700;
word-break: break-word;
}
.vp-history-time-window-item span {
color: var(--vp-text-muted);
font-size: 12px;
line-height: 18px;
}
.vp-history-time-window-item em {
color: var(--vp-primary);
font-size: 12px;
font-style: normal;
font-weight: 700;
line-height: 18px;
}
.vp-history-customer-export-board {
margin-top: 16px;
overflow: hidden;
@@ -7729,6 +7807,8 @@ button.vp-realtime-command-item:focus-visible {
.vp-trajectory-anomaly-grid,
.vp-trajectory-impact-board,
.vp-trajectory-impact-grid,
.vp-history-time-window-board,
.vp-history-time-window-grid,
.vp-history-customer-export-board .semi-card-body,
.vp-history-customer-export-steps,
.vp-history-report-templates,