feat(platform): add fleet command center

This commit is contained in:
lingniu
2026-07-05 21:34:45 +08:00
parent b892ffce81
commit a26fd71bfa
3 changed files with 183 additions and 0 deletions

View File

@@ -3594,6 +3594,99 @@ button.vp-realtime-command-item:focus-visible {
line-height: 20px;
}
.vp-fleet-command-center {
margin-bottom: 16px;
border: 1px solid rgba(22, 100, 255, 0.18);
border-radius: var(--vp-radius);
background: #fff;
display: grid;
grid-template-columns: minmax(300px, 0.58fr) minmax(0, 1.42fr);
overflow: hidden;
box-shadow: var(--vp-shadow-sm);
}
.vp-fleet-command-copy {
padding: 18px;
border-right: 1px solid var(--vp-border);
background: #f6f9ff;
display: grid;
gap: 12px;
align-content: start;
}
.vp-fleet-command-copy strong {
color: var(--vp-text);
font-size: 20px;
font-weight: 700;
line-height: 28px;
word-break: break-word;
}
.vp-fleet-command-copy span {
color: var(--vp-text-muted);
font-size: 13px;
line-height: 20px;
}
.vp-fleet-command-grid {
padding: 14px;
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 10px;
}
.vp-fleet-command-item {
min-height: 148px;
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-fleet-command-item:disabled {
cursor: not-allowed;
opacity: 0.62;
}
.vp-fleet-command-item:not(:disabled):hover,
.vp-fleet-command-item:not(:disabled):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-fleet-command-item strong {
color: var(--vp-text);
font-size: 20px;
font-weight: 700;
line-height: 26px;
word-break: break-word;
}
.vp-fleet-command-item span {
color: var(--vp-text-muted);
font-size: 12px;
line-height: 18px;
word-break: break-word;
}
.vp-fleet-command-item em {
color: var(--vp-primary);
font-size: 13px;
font-style: normal;
font-weight: 700;
line-height: 20px;
}
.vp-customer-vehicle-service-hub {
margin-bottom: 16px;
border: 1px solid rgba(22, 100, 255, 0.18);
@@ -10370,6 +10463,8 @@ button.vp-realtime-command-item:focus-visible {
.vp-service-entry-grid,
.vp-current-service-board,
.vp-current-service-grid,
.vp-fleet-command-center,
.vp-fleet-command-grid,
.vp-customer-vehicle-service-hub,
.vp-customer-vehicle-service-grid,
.vp-alert-closure-timeline,