feat(platform): add alert closure workbench

This commit is contained in:
lingniu
2026-07-06 06:05:01 +08:00
parent 55a65d2bc6
commit 00d416964b
3 changed files with 228 additions and 0 deletions

View File

@@ -8330,6 +8330,98 @@ button.vp-realtime-command-item:focus-visible {
gap: 12px;
}
.vp-alert-closure-workbench {
margin-top: 16px;
margin-bottom: 16px;
border: 1px solid rgba(2, 132, 199, 0.18);
border-radius: var(--vp-radius);
background: #fff;
display: grid;
grid-template-columns: minmax(320px, 0.48fr) minmax(0, 1.52fr);
overflow: hidden;
box-shadow: var(--vp-shadow-sm);
}
.vp-alert-closure-workbench-summary {
padding: 18px;
border-right: 1px solid var(--vp-border);
background: #f0f9ff;
display: grid;
gap: 10px;
align-content: center;
}
.vp-alert-closure-workbench-summary strong {
color: var(--vp-text);
font-size: 18px;
line-height: 26px;
word-break: break-word;
}
.vp-alert-closure-workbench-grid {
padding: 14px;
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 10px;
}
.vp-alert-closure-workbench-item {
min-height: 148px;
padding: 12px;
border: 1px solid rgba(2, 132, 199, 0.16);
border-radius: 8px;
background: #fbfcff;
color: inherit;
cursor: pointer;
font: inherit;
text-align: left;
display: grid;
grid-template-columns: 32px minmax(0, 1fr);
gap: 10px;
}
.vp-alert-closure-workbench-item:hover,
.vp-alert-closure-workbench-item:focus-visible {
border-color: rgba(2, 132, 199, 0.42);
background: #f0f9ff;
box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.08);
outline: none;
}
.vp-alert-closure-workbench-item > span {
width: 32px;
height: 32px;
border-radius: 8px;
background: #e0f2fe;
color: #075985;
display: inline-flex;
align-items: center;
justify-content: center;
font-weight: 800;
}
.vp-alert-closure-workbench-item div {
display: grid;
gap: 8px;
align-content: start;
min-width: 0;
}
.vp-alert-closure-workbench-item strong {
color: var(--vp-text);
font-size: 17px;
line-height: 24px;
font-weight: 800;
word-break: break-word;
}
.vp-alert-closure-workbench-item small {
color: var(--vp-text-muted);
font-size: 12px;
line-height: 18px;
word-break: break-word;
}
.vp-alert-action-conclusion {
margin-top: 16px;
margin-bottom: 16px;
@@ -15142,6 +15234,8 @@ button.vp-realtime-command-item:focus-visible {
.vp-conclusion-grid,
.vp-monitor-layout,
.vp-alert-flow,
.vp-alert-closure-workbench,
.vp-alert-closure-workbench-grid,
.vp-alert-action-conclusion,
.vp-alert-action-conclusion-grid,
.vp-alert-customer-service-desk,