feat(platform): add alert closure timeline

This commit is contained in:
lingniu
2026-07-05 21:29:38 +08:00
parent 059e4586a7
commit b892ffce81
3 changed files with 195 additions and 1 deletions

View File

@@ -5329,6 +5329,108 @@ button.vp-realtime-command-item:focus-visible {
line-height: 18px;
}
.vp-alert-closure-timeline {
display: grid;
grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1.42fr);
gap: 16px;
}
.vp-alert-closure-summary {
min-height: 178px;
padding: 14px;
border: 1px solid rgba(22, 100, 255, 0.24);
border-radius: var(--vp-radius);
background: #f6f9ff;
display: grid;
gap: 10px;
align-content: start;
}
.vp-alert-closure-summary strong {
color: var(--vp-text);
font-size: 19px;
line-height: 26px;
word-break: break-word;
}
.vp-alert-closure-summary span {
color: var(--vp-text-muted);
font-size: 13px;
line-height: 20px;
}
.vp-alert-closure-steps {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 10px;
}
.vp-alert-closure-step {
min-height: 178px;
padding: 12px;
border: 1px solid rgba(22, 100, 255, 0.14);
border-radius: 8px;
background: #fff;
color: inherit;
cursor: pointer;
font: inherit;
text-align: left;
display: grid;
grid-template-columns: 32px minmax(0, 1fr);
gap: 10px;
align-content: start;
}
.vp-alert-closure-step:hover,
.vp-alert-closure-step:focus-visible {
border-color: rgba(22, 100, 255, 0.38);
background: #f6f9ff;
box-shadow: var(--vp-shadow-sm);
outline: none;
}
.vp-alert-closure-step > span {
width: 30px;
height: 30px;
border-radius: 999px;
background: #eef4ff;
color: #1664ff;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 13px;
font-weight: 800;
}
.vp-alert-closure-step div {
min-width: 0;
display: grid;
gap: 8px;
align-content: start;
}
.vp-alert-closure-step strong {
color: var(--vp-text);
font-size: 17px;
line-height: 22px;
word-break: break-word;
}
.vp-alert-closure-step small {
color: var(--vp-text-muted);
font-size: 12px;
line-height: 18px;
word-break: break-word;
}
.vp-alert-closure-step em {
color: #1664ff;
font-size: 12px;
font-style: normal;
font-weight: 700;
line-height: 18px;
}
.vp-alert-decision-board {
display: grid;
grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
@@ -10270,6 +10372,8 @@ button.vp-realtime-command-item:focus-visible {
.vp-current-service-grid,
.vp-customer-vehicle-service-hub,
.vp-customer-vehicle-service-grid,
.vp-alert-closure-timeline,
.vp-alert-closure-steps,
.vp-vehicle-asset-console,
.vp-vehicle-asset-console-grid,
.vp-vehicle-service-desk,