feat(platform): add realtime priority queue
This commit is contained in:
@@ -2732,6 +2732,138 @@ body {
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.vp-realtime-priority-board {
|
||||
margin-bottom: 16px;
|
||||
border: 1px solid rgba(255, 122, 69, 0.22);
|
||||
border-radius: var(--vp-radius);
|
||||
background: #fff;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(300px, 0.48fr) minmax(0, 1.52fr);
|
||||
overflow: hidden;
|
||||
box-shadow: var(--vp-shadow-sm);
|
||||
}
|
||||
|
||||
.vp-realtime-priority-summary {
|
||||
padding: 18px;
|
||||
border-right: 1px solid var(--vp-border);
|
||||
background: #fff8f3;
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
.vp-realtime-priority-summary .semi-typography-secondary {
|
||||
font-size: 13px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.vp-realtime-priority-grid {
|
||||
min-width: 0;
|
||||
padding: 14px;
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.vp-realtime-priority-item {
|
||||
min-width: 0;
|
||||
padding: 12px;
|
||||
border: 1px solid rgba(255, 122, 69, 0.22);
|
||||
border-radius: 8px;
|
||||
background: #fffdfb;
|
||||
display: grid;
|
||||
grid-template-columns: 36px minmax(0, 1fr) auto;
|
||||
gap: 12px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.vp-realtime-priority-rank {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 8px;
|
||||
background: #fff1e8;
|
||||
color: #d25f00;
|
||||
font-size: 15px;
|
||||
font-weight: 800;
|
||||
line-height: 32px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.vp-realtime-priority-main {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.vp-realtime-priority-main strong {
|
||||
color: var(--vp-text);
|
||||
font-size: 17px;
|
||||
line-height: 23px;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.vp-realtime-priority-main span,
|
||||
.vp-realtime-priority-main small {
|
||||
color: var(--vp-text-muted);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.vp-realtime-priority-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.vp-realtime-priority-actions button {
|
||||
min-height: 30px;
|
||||
padding: 0 10px;
|
||||
border: 1px solid rgba(22, 100, 255, 0.22);
|
||||
border-radius: 8px;
|
||||
background: #f8fbff;
|
||||
color: var(--vp-primary);
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.vp-realtime-priority-actions button:hover,
|
||||
.vp-realtime-priority-actions button:focus-visible {
|
||||
border-color: rgba(22, 100, 255, 0.45);
|
||||
background: #eef5ff;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.vp-realtime-priority-actions button:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.55;
|
||||
}
|
||||
|
||||
.vp-realtime-priority-empty {
|
||||
min-height: 118px;
|
||||
padding: 14px;
|
||||
border: 1px solid rgba(67, 160, 71, 0.2);
|
||||
border-radius: 8px;
|
||||
background: #f8fff8;
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
align-content: center;
|
||||
}
|
||||
|
||||
.vp-realtime-priority-empty strong {
|
||||
color: var(--vp-text);
|
||||
font-size: 17px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.vp-realtime-priority-empty span {
|
||||
color: var(--vp-text-muted);
|
||||
font-size: 13px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.vp-realtime-customer-board {
|
||||
margin-bottom: 16px;
|
||||
overflow: hidden;
|
||||
@@ -10159,6 +10291,7 @@ button.vp-realtime-command-item:focus-visible {
|
||||
.vp-time-delivery-grid,
|
||||
.vp-realtime-command-center,
|
||||
.vp-realtime-command-center-grid,
|
||||
.vp-realtime-priority-board,
|
||||
.vp-realtime-customer-board .semi-card-body,
|
||||
.vp-realtime-question-board,
|
||||
.vp-realtime-question-grid,
|
||||
@@ -10357,6 +10490,18 @@ button.vp-realtime-command-item:focus-visible {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.vp-realtime-priority-item {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.vp-realtime-priority-rank {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.vp-realtime-priority-actions {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.vp-map-commandbar,
|
||||
.vp-mileage-console-head,
|
||||
.vp-map-canvas-toolbar {
|
||||
|
||||
Reference in New Issue
Block a user