feat(platform): add vehicle health energy board

This commit is contained in:
lingniu
2026-07-05 23:27:11 +08:00
parent 4294ba424f
commit 2e6d62c493
3 changed files with 139 additions and 0 deletions

View File

@@ -2223,6 +2223,74 @@ body {
font-weight: 700;
}
.vp-vehicle-health-energy {
margin-bottom: 16px;
padding: 18px;
border: 1px solid rgba(18, 183, 106, 0.22);
border-radius: 8px;
background: #ffffff;
display: grid;
grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.5fr);
gap: 16px;
}
.vp-vehicle-health-energy-copy {
min-width: 0;
display: grid;
align-content: start;
gap: 10px;
}
.vp-vehicle-health-energy-grid {
min-width: 0;
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 10px;
}
.vp-vehicle-health-energy-item {
min-height: 136px;
padding: 13px;
border: 1px solid var(--vp-border);
border-radius: 8px;
background: linear-gradient(180deg, #ffffff 0%, #f5fff9 100%);
color: inherit;
cursor: pointer;
text-align: left;
font: inherit;
display: grid;
align-content: space-between;
gap: 8px;
}
.vp-vehicle-health-energy-item:hover,
.vp-vehicle-health-energy-item:focus-visible {
border-color: rgba(18, 183, 106, 0.42);
box-shadow: var(--vp-shadow-sm);
outline: none;
}
.vp-vehicle-health-energy-item strong {
color: var(--vp-text);
font-size: 20px;
line-height: 25px;
word-break: break-word;
}
.vp-vehicle-health-energy-item span {
color: var(--vp-text-muted);
font-size: 12px;
line-height: 18px;
word-break: break-word;
}
.vp-vehicle-health-energy-item em {
color: #1664ff;
font-style: normal;
font-size: 12px;
font-weight: 700;
}
.vp-customer-cockpit-summary {
padding: 18px;
border-right: 1px solid var(--vp-border);
@@ -11676,6 +11744,8 @@ button.vp-realtime-command-item:focus-visible {
.vp-customer-fleet-groups-grid,
.vp-customer-service-sla,
.vp-customer-service-sla-grid,
.vp-vehicle-health-energy,
.vp-vehicle-health-energy-grid,
.vp-customer-cockpit,
.vp-customer-cockpit-actions,
.vp-amap-service-foundation,