feat(platform): add mileage delivery console

This commit is contained in:
lingniu
2026-07-05 17:48:18 +08:00
parent 67fe8567ef
commit 493834b834
3 changed files with 179 additions and 0 deletions

View File

@@ -4780,6 +4780,92 @@ button.vp-realtime-command-item:focus-visible {
gap: 16px;
}
.vp-mileage-delivery-console {
margin-top: 16px;
margin-bottom: 16px;
border: 1px solid rgba(22, 100, 255, 0.16);
border-radius: var(--vp-radius);
background: #fff;
display: grid;
grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1.42fr);
overflow: hidden;
}
.vp-mileage-delivery-console-summary {
padding: 18px;
border-right: 1px solid var(--vp-border);
background: #f7fbff;
display: grid;
gap: 10px;
align-content: start;
}
.vp-mileage-delivery-console-summary strong {
color: var(--vp-text);
font-size: 18px;
line-height: 26px;
}
.vp-mileage-delivery-console-summary span {
color: var(--vp-text-muted);
font-size: 13px;
line-height: 20px;
}
.vp-mileage-delivery-console-grid {
padding: 16px;
background: #fff;
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 10px;
}
.vp-mileage-delivery-console-item {
min-height: 142px;
padding: 12px;
border: 1px solid rgba(22, 100, 255, 0.14);
border-radius: 8px;
background: #fbfcff;
color: inherit;
cursor: pointer;
font: inherit;
text-align: left;
display: grid;
gap: 8px;
align-content: start;
}
.vp-mileage-delivery-console-item:hover,
.vp-mileage-delivery-console-item:focus-visible {
border-color: rgba(22, 100, 255, 0.42);
background: #f5f9ff;
box-shadow: var(--vp-shadow-sm);
outline: none;
}
.vp-mileage-delivery-console-item strong {
color: var(--vp-text);
font-size: 18px;
line-height: 24px;
word-break: break-word;
}
.vp-mileage-delivery-console-item span {
color: var(--vp-text-muted);
font-size: 12px;
line-height: 18px;
word-break: break-word;
}
.vp-mileage-delivery-console-item em {
color: var(--vp-primary);
font-size: 12px;
font-style: normal;
font-weight: 700;
line-height: 18px;
align-self: end;
}
.vp-mileage-customer-query-board {
margin-top: 16px;
overflow: hidden;
@@ -8023,6 +8109,8 @@ button.vp-realtime-command-item:focus-visible {
.vp-online-ops-board,
.vp-online-ops-grid,
.vp-stat-insight-grid,
.vp-mileage-delivery-console,
.vp-mileage-delivery-console-grid,
.vp-mileage-next-actions,
.vp-mileage-next-grid,
.vp-mileage-question-grid,
@@ -8090,6 +8178,11 @@ button.vp-realtime-command-item:focus-visible {
border-bottom: 1px solid var(--vp-border);
}
.vp-mileage-delivery-console-summary {
border-right: 0;
border-bottom: 1px solid var(--vp-border);
}
.vp-customer-cockpit-workflow {
grid-template-columns: 1fr;
}