feat(platform): prioritize customer vehicle command center

This commit is contained in:
lingniu
2026-07-05 19:43:20 +08:00
parent e1126a6fcc
commit 30bc03a262
3 changed files with 279 additions and 0 deletions

View File

@@ -1195,6 +1195,113 @@ body {
grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
}
.vp-customer-service-command {
margin-bottom: 16px;
border: 1px solid rgba(22, 100, 255, 0.16);
border-radius: var(--vp-radius);
background: #ffffff;
overflow: hidden;
}
.vp-customer-service-command-main {
padding: 18px;
border-bottom: 1px solid var(--vp-border);
background: #f8fbff;
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
gap: 16px;
align-items: stretch;
}
.vp-customer-service-command-copy {
display: grid;
gap: 10px;
align-content: center;
}
.vp-customer-service-command-copy .semi-typography {
line-height: 26px;
}
.vp-customer-service-command-evidence {
padding: 14px;
border: 1px solid rgba(22, 100, 255, 0.14);
border-radius: 8px;
background: #ffffff;
display: grid;
gap: 6px;
align-content: center;
}
.vp-customer-service-command-evidence span,
.vp-customer-service-command-evidence small {
color: var(--vp-text-muted);
font-size: 12px;
line-height: 18px;
}
.vp-customer-service-command-evidence strong {
color: var(--vp-text);
font-size: 20px;
line-height: 26px;
font-weight: 700;
}
.vp-customer-service-command-grid {
padding: 14px;
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 10px;
}
.vp-customer-service-command-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-customer-service-command-item:hover,
.vp-customer-service-command-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-customer-service-command-item strong {
color: var(--vp-text);
font-size: 18px;
line-height: 24px;
font-weight: 700;
word-break: break-word;
}
.vp-customer-service-command-item span {
color: var(--vp-text-muted);
font-size: 12px;
line-height: 18px;
word-break: break-word;
}
.vp-customer-service-command-item em {
align-self: end;
color: var(--vp-primary);
font-size: 12px;
font-style: normal;
font-weight: 700;
line-height: 18px;
}
.vp-customer-cockpit-summary {
padding: 18px;
border-right: 1px solid var(--vp-border);
@@ -9002,6 +9109,8 @@ button.vp-realtime-command-item:focus-visible {
.vp-map-ops-board,
.vp-map-ops-readiness,
.vp-map-ops-work,
.vp-customer-service-command-main,
.vp-customer-service-command-grid,
.vp-customer-cockpit,
.vp-customer-cockpit-actions,
.vp-customer-vehicle-monitor,