feat(platform): add customer alert service desk

This commit is contained in:
lingniu
2026-07-05 20:07:19 +08:00
parent dbdce8f312
commit 2765a3c491
3 changed files with 180 additions and 1 deletions

View File

@@ -4661,6 +4661,97 @@ button.vp-realtime-command-item:focus-visible {
gap: 12px;
}
.vp-alert-customer-service-desk {
margin-top: 16px;
margin-bottom: 16px;
border: 1px solid rgba(239, 68, 68, 0.18);
border-radius: var(--vp-radius);
background: #fff;
display: grid;
grid-template-columns: minmax(300px, 0.62fr) minmax(0, 1.38fr);
overflow: hidden;
box-shadow: var(--vp-shadow-sm);
}
.vp-alert-customer-service-summary {
padding: 18px;
border-right: 1px solid var(--vp-border);
background: #fff7f7;
display: grid;
gap: 12px;
align-content: start;
}
.vp-alert-customer-service-summary strong {
color: var(--vp-text);
font-size: 18px;
line-height: 26px;
word-break: break-word;
}
.vp-alert-customer-service-summary span {
color: var(--vp-text-muted);
font-size: 13px;
line-height: 20px;
}
.vp-alert-customer-service-grid {
padding: 16px;
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 10px;
}
.vp-alert-customer-service-item {
min-height: 144px;
padding: 12px;
border: 1px solid rgba(239, 68, 68, 0.14);
border-radius: 8px;
background: #fbfcff;
color: inherit;
cursor: pointer;
font: inherit;
text-align: left;
display: grid;
gap: 8px;
align-content: start;
}
.vp-alert-customer-service-item:hover,
.vp-alert-customer-service-item:focus-visible {
border-color: rgba(239, 68, 68, 0.4);
background: #fff7f7;
box-shadow: var(--vp-shadow-sm);
outline: none;
}
.vp-alert-customer-service-item:disabled {
cursor: not-allowed;
opacity: 0.62;
}
.vp-alert-customer-service-item strong {
color: var(--vp-text);
font-size: 18px;
line-height: 24px;
word-break: break-word;
}
.vp-alert-customer-service-item span {
color: var(--vp-text-muted);
font-size: 12px;
line-height: 18px;
word-break: break-word;
}
.vp-alert-customer-service-item em {
color: #dc2626;
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);
@@ -9446,6 +9537,8 @@ button.vp-realtime-command-item:focus-visible {
.vp-conclusion-grid,
.vp-monitor-layout,
.vp-alert-flow,
.vp-alert-customer-service-desk,
.vp-alert-customer-service-grid,
.vp-alert-decision-board,
.vp-alert-decision-grid,
.vp-alert-sla-board,