feat(platform): add customer vehicle monitor desk

This commit is contained in:
lingniu
2026-07-05 17:53:50 +08:00
parent 493834b834
commit 680006e36f
3 changed files with 168 additions and 0 deletions

View File

@@ -969,6 +969,91 @@ body {
line-height: 22px;
}
.vp-customer-vehicle-monitor {
margin-bottom: 16px;
border: 1px solid rgba(11, 159, 119, 0.18);
border-radius: var(--vp-radius);
background: #ffffff;
display: grid;
grid-template-columns: minmax(300px, 0.66fr) minmax(0, 1.34fr);
overflow: hidden;
}
.vp-customer-vehicle-monitor-copy {
padding: 18px;
border-right: 1px solid var(--vp-border);
background: #f6fbf9;
display: grid;
gap: 10px;
align-content: start;
}
.vp-customer-vehicle-monitor-copy strong {
color: var(--vp-text);
font-size: 18px;
line-height: 26px;
}
.vp-customer-vehicle-monitor-copy span {
color: var(--vp-text-muted);
font-size: 13px;
line-height: 20px;
}
.vp-customer-vehicle-monitor-grid {
padding: 14px;
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 10px;
}
.vp-customer-vehicle-monitor-item {
min-height: 136px;
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;
transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.vp-customer-vehicle-monitor-item:hover,
.vp-customer-vehicle-monitor-item:focus-visible {
border-color: rgba(11, 159, 119, 0.38);
background: #f5fbf9;
box-shadow: var(--vp-shadow-sm);
outline: none;
}
.vp-customer-vehicle-monitor-item strong {
color: var(--vp-text);
font-size: 18px;
line-height: 24px;
word-break: break-word;
}
.vp-customer-vehicle-monitor-item span {
color: var(--vp-text-muted);
font-size: 12px;
line-height: 18px;
word-break: break-word;
}
.vp-customer-vehicle-monitor-item em {
align-self: end;
color: var(--vp-primary);
font-size: 12px;
font-style: normal;
font-weight: 700;
line-height: 18px;
}
.vp-customer-cockpit .semi-card-body {
display: grid;
grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
@@ -8007,6 +8092,8 @@ button.vp-realtime-command-item:focus-visible {
.vp-map-ops-work,
.vp-customer-cockpit,
.vp-customer-cockpit-actions,
.vp-customer-vehicle-monitor,
.vp-customer-vehicle-monitor-grid,
.vp-customer-cockpit .semi-card-body,
.vp-customer-cockpit-metrics,
.vp-customer-cockpit-trust,
@@ -8173,6 +8260,11 @@ button.vp-realtime-command-item:focus-visible {
border-bottom: 1px solid var(--vp-border);
}
.vp-customer-vehicle-monitor-copy {
border-right: 0;
border-bottom: 1px solid var(--vp-border);
}
.vp-vehicle-asset-console-summary {
border-right: 0;
border-bottom: 1px solid var(--vp-border);