feat(platform): advance vehicle operations center

This commit is contained in:
lingniu
2026-07-04 16:22:05 +08:00
parent 775073a95c
commit 33da8ba5a4
6 changed files with 262 additions and 18 deletions

View File

@@ -296,6 +296,13 @@ body {
background: var(--vp-warning);
}
.vp-amap-marker-selected {
border-color: #fff;
box-shadow:
0 0 0 4px rgba(22, 100, 255, 0.28),
0 10px 22px rgba(16, 24, 40, 0.24);
}
.vp-monitor-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) 260px;
@@ -326,9 +333,12 @@ body {
position: absolute;
width: 10px;
height: 10px;
padding: 0;
border: 0;
border-radius: 50%;
background: var(--vp-primary);
box-shadow: 0 0 0 5px rgba(22, 100, 255, 0.16);
cursor: pointer;
}
.vp-map-dot-online {
@@ -355,6 +365,20 @@ body {
box-shadow: 0 0 0 6px rgba(247, 144, 9, 0.18);
}
.vp-map-dot-selected {
width: 16px;
height: 16px;
border: 3px solid #fff;
box-shadow:
0 0 0 7px rgba(22, 100, 255, 0.2),
0 10px 22px rgba(16, 24, 40, 0.2);
}
.vp-map-dot:focus-visible {
outline: 2px solid var(--vp-primary);
outline-offset: 6px;
}
.vp-monitor-side {
display: grid;
gap: 12px;
@@ -437,6 +461,24 @@ body {
background: #fff;
}
.vp-map-service-item-button {
width: 100%;
color: inherit;
text-align: left;
cursor: pointer;
}
.vp-map-service-item-button:focus-visible {
outline: 2px solid rgba(22, 100, 255, 0.45);
outline-offset: 2px;
}
.vp-map-service-item-selected {
border-color: rgba(22, 100, 255, 0.62);
background: #f5f9ff;
box-shadow: 0 0 0 3px rgba(22, 100, 255, 0.08);
}
.vp-map-service-item-main,
.vp-map-service-item-footer {
display: flex;
@@ -450,6 +492,32 @@ body {
min-width: 0;
}
.vp-selected-vehicle-panel {
display: grid;
gap: 8px;
padding: 12px;
border: 1px solid rgba(22, 100, 255, 0.28);
border-radius: var(--vp-radius);
background: #f5f9ff;
}
.vp-selected-vehicle-grid {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
gap: 6px 10px;
font-size: 12px;
}
.vp-selected-vehicle-grid span {
color: var(--vp-text-muted);
}
.vp-selected-vehicle-grid strong {
color: var(--vp-text);
font-weight: 600;
text-align: right;
}
.vp-alert-flow {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));