feat(platform): add customer realtime command center
This commit is contained in:
@@ -2295,6 +2295,89 @@ body {
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.vp-realtime-command-center {
|
||||
margin-bottom: 16px;
|
||||
border: 1px solid rgba(22, 100, 255, 0.16);
|
||||
border-radius: var(--vp-radius);
|
||||
background: #ffffff;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(280px, 0.56fr) minmax(0, 1.44fr);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.vp-realtime-command-center-copy {
|
||||
padding: 18px;
|
||||
border-right: 1px solid var(--vp-border);
|
||||
background: #f8fbff;
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
align-content: center;
|
||||
}
|
||||
|
||||
.vp-realtime-command-center-copy .semi-typography {
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.vp-realtime-command-center-grid {
|
||||
padding: 14px;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(5, minmax(0, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.vp-realtime-command-center-item {
|
||||
min-height: 132px;
|
||||
padding: 12px;
|
||||
border: 1px solid var(--vp-border);
|
||||
border-radius: 8px;
|
||||
background: #fbfcff;
|
||||
color: inherit;
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
text-align: left;
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
align-content: start;
|
||||
transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
|
||||
}
|
||||
|
||||
.vp-realtime-command-center-item:hover,
|
||||
.vp-realtime-command-center-item:focus-visible {
|
||||
border-color: rgba(22, 100, 255, 0.42);
|
||||
background: #f5f9ff;
|
||||
box-shadow: 0 0 0 3px rgba(22, 100, 255, 0.08);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.vp-realtime-command-center-item:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.58;
|
||||
}
|
||||
|
||||
.vp-realtime-command-center-item strong {
|
||||
color: var(--vp-text);
|
||||
font-size: 18px;
|
||||
line-height: 24px;
|
||||
font-weight: 700;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.vp-realtime-command-center-item span {
|
||||
color: var(--vp-text-muted);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.vp-realtime-command-center-item em {
|
||||
align-self: end;
|
||||
color: var(--vp-primary);
|
||||
font-size: 12px;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.vp-realtime-customer-board {
|
||||
margin-bottom: 16px;
|
||||
overflow: hidden;
|
||||
@@ -9145,6 +9228,8 @@ button.vp-realtime-command-item:focus-visible {
|
||||
.vp-time-audit-grid,
|
||||
.vp-time-delivery-strip,
|
||||
.vp-time-delivery-grid,
|
||||
.vp-realtime-command-center,
|
||||
.vp-realtime-command-center-grid,
|
||||
.vp-realtime-customer-board .semi-card-body,
|
||||
.vp-realtime-question-board,
|
||||
.vp-realtime-question-grid,
|
||||
|
||||
Reference in New Issue
Block a user