feat(platform): add realtime next actions

This commit is contained in:
lingniu
2026-07-05 14:07:29 +08:00
parent 2574a3bfa0
commit 4c110566f9
3 changed files with 119 additions and 0 deletions

View File

@@ -1414,6 +1414,70 @@ body {
align-content: start;
}
.vp-realtime-next-actions {
padding: 16px;
border-bottom: 1px solid var(--vp-border);
background: #ffffff;
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 10px;
}
.vp-realtime-next-action {
min-height: 126px;
padding: 12px;
border: 1px solid rgba(22, 100, 255, 0.16);
border-radius: var(--vp-radius);
background: #fbfcff;
color: inherit;
text-align: left;
cursor: pointer;
font: inherit;
display: grid;
gap: 7px;
align-content: start;
}
.vp-realtime-next-action:hover,
.vp-realtime-next-action:focus-visible {
border-color: rgba(22, 100, 255, 0.42);
background: #f5f9ff;
outline: none;
}
.vp-realtime-next-action:disabled {
cursor: not-allowed;
opacity: 0.58;
}
.vp-realtime-next-action strong {
color: var(--vp-text);
font-size: 15px;
line-height: 22px;
}
.vp-realtime-next-action span {
color: var(--vp-primary);
font-size: 14px;
line-height: 20px;
font-weight: 700;
word-break: break-word;
}
.vp-realtime-next-action small {
color: var(--vp-text-muted);
font-size: 12px;
line-height: 18px;
}
.vp-realtime-next-action em {
color: var(--vp-primary);
font-size: 12px;
font-style: normal;
font-weight: 700;
line-height: 18px;
}
.vp-realtime-customer-steps {
padding: 16px;
display: grid;
@@ -5883,6 +5947,7 @@ button.vp-realtime-command-item:focus-visible {
.vp-time-audit-strip,
.vp-time-audit-grid,
.vp-realtime-customer-board .semi-card-body,
.vp-realtime-next-actions,
.vp-realtime-customer-steps,
.vp-time-window-monitor .semi-card-body,
.vp-time-window-controls,