feat(platform): add realtime customer monitoring path

This commit is contained in:
lingniu
2026-07-05 04:36:57 +08:00
parent f5cfc86d63
commit 36dbc26ea7
3 changed files with 186 additions and 0 deletions

View File

@@ -909,6 +909,92 @@ body {
gap: 8px;
}
.vp-realtime-customer-board {
margin-bottom: 16px;
overflow: hidden;
}
.vp-realtime-customer-board .semi-card-body {
display: grid;
grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1fr);
}
.vp-realtime-customer-summary {
padding: 18px;
border-right: 1px solid var(--vp-border);
background: #f8fbff;
display: grid;
gap: 12px;
align-content: start;
}
.vp-realtime-customer-steps {
padding: 16px;
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 10px;
background: #ffffff;
}
.vp-realtime-customer-step {
min-height: 152px;
padding: 12px;
border: 1px solid var(--vp-border);
border-radius: 8px;
background: #fbfcff;
text-align: left;
cursor: pointer;
font: inherit;
display: grid;
gap: 8px;
align-content: start;
}
.vp-realtime-customer-step:hover,
.vp-realtime-customer-step:focus-visible {
border-color: rgba(22, 100, 255, 0.45);
box-shadow: var(--vp-shadow-sm);
outline: none;
}
.vp-realtime-customer-step:disabled {
cursor: not-allowed;
opacity: 0.62;
}
.vp-realtime-customer-step > span {
width: 28px;
height: 28px;
border-radius: 50%;
background: #1664ff;
color: #fff;
font-size: 12px;
font-weight: 700;
display: inline-flex;
align-items: center;
justify-content: center;
}
.vp-realtime-customer-step strong {
color: var(--vp-text);
font-size: 18px;
line-height: 24px;
}
.vp-realtime-customer-step small {
color: var(--vp-text-muted);
font-size: 12px;
line-height: 18px;
}
.vp-realtime-customer-step em {
color: #1664ff;
font-style: normal;
font-size: 12px;
font-weight: 600;
align-self: end;
}
.vp-realtime-command-board {
margin-bottom: 16px;
padding: 14px;
@@ -4529,6 +4615,8 @@ button.vp-realtime-command-item:focus-visible {
.vp-time-review-grid,
.vp-time-audit-strip,
.vp-time-audit-grid,
.vp-realtime-customer-board .semi-card-body,
.vp-realtime-customer-steps,
.vp-realtime-command-board,
.vp-realtime-command-grid,
.vp-realtime-impact-board,