feat(platform): add vehicle command center
This commit is contained in:
@@ -1064,6 +1064,155 @@ body {
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.vp-vehicle-command-center {
|
||||
margin-bottom: 16px;
|
||||
border: 1px solid rgba(22, 100, 255, 0.18);
|
||||
border-radius: 8px;
|
||||
background: #ffffff;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.25fr) minmax(280px, 0.85fr);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.vp-vehicle-command-map {
|
||||
position: relative;
|
||||
min-width: 0;
|
||||
background: #eef4ff;
|
||||
}
|
||||
|
||||
.vp-vehicle-command-map-canvas {
|
||||
min-height: 360px;
|
||||
}
|
||||
|
||||
.vp-vehicle-command-map-status {
|
||||
position: absolute;
|
||||
left: 12px;
|
||||
top: 12px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.vp-vehicle-command-main {
|
||||
min-width: 0;
|
||||
padding: 18px;
|
||||
border-right: 1px solid var(--vp-border);
|
||||
border-left: 1px solid var(--vp-border);
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
.vp-vehicle-command-main .semi-typography {
|
||||
line-height: 32px;
|
||||
}
|
||||
|
||||
.vp-vehicle-command-actions {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.vp-vehicle-command-action {
|
||||
min-width: 0;
|
||||
min-height: 126px;
|
||||
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-vehicle-command-action:hover,
|
||||
.vp-vehicle-command-action: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-vehicle-command-action strong,
|
||||
.vp-vehicle-command-queue-item strong {
|
||||
color: var(--vp-text);
|
||||
font-size: 18px;
|
||||
line-height: 24px;
|
||||
font-weight: 800;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.vp-vehicle-command-action span,
|
||||
.vp-vehicle-command-queue-item span {
|
||||
color: var(--vp-text-muted);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.vp-vehicle-command-action em,
|
||||
.vp-vehicle-command-queue-item em {
|
||||
align-self: end;
|
||||
color: var(--vp-primary);
|
||||
font-size: 12px;
|
||||
font-style: normal;
|
||||
font-weight: 800;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.vp-vehicle-command-queue {
|
||||
min-width: 0;
|
||||
padding: 14px;
|
||||
background: #fffaf3;
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
.vp-vehicle-command-queue-head {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.vp-vehicle-command-queue-head .semi-typography-secondary {
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.vp-vehicle-command-queue-grid {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.vp-vehicle-command-queue-item {
|
||||
min-width: 0;
|
||||
min-height: 98px;
|
||||
padding: 10px 12px;
|
||||
border: 1px solid rgba(255, 127, 0, 0.2);
|
||||
border-radius: 8px;
|
||||
background: #ffffff;
|
||||
color: inherit;
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
text-align: left;
|
||||
display: grid;
|
||||
gap: 7px;
|
||||
align-content: start;
|
||||
transition: border-color 0.16s ease, box-shadow 0.16s ease;
|
||||
}
|
||||
|
||||
.vp-vehicle-command-queue-item:hover,
|
||||
.vp-vehicle-command-queue-item:focus-visible {
|
||||
border-color: rgba(255, 127, 0, 0.48);
|
||||
box-shadow: 0 0 0 3px rgba(255, 127, 0, 0.08);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.vp-vehicle-priority-queue {
|
||||
padding: 12px;
|
||||
border: 1px solid rgba(255, 127, 0, 0.2);
|
||||
@@ -12765,6 +12914,8 @@ button.vp-realtime-command-item:focus-visible {
|
||||
.vp-dispatch-operations-highlights,
|
||||
.vp-customer-delivery-workbench,
|
||||
.vp-customer-delivery-workbench-grid,
|
||||
.vp-vehicle-command-center,
|
||||
.vp-vehicle-command-actions,
|
||||
.vp-customer-vehicle-service-dashboard,
|
||||
.vp-customer-vehicle-service-dashboard-grid,
|
||||
.vp-customer-vehicle-service-dashboard-status,
|
||||
@@ -13036,6 +13187,17 @@ button.vp-realtime-command-item:focus-visible {
|
||||
border-bottom: 1px solid var(--vp-border);
|
||||
}
|
||||
|
||||
.vp-vehicle-command-main {
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
border-top: 1px solid var(--vp-border);
|
||||
border-bottom: 1px solid var(--vp-border);
|
||||
}
|
||||
|
||||
.vp-vehicle-command-map-canvas {
|
||||
min-height: 280px;
|
||||
}
|
||||
|
||||
.vp-amap-service-foundation-copy {
|
||||
border-right: 0;
|
||||
border-bottom: 1px solid var(--vp-border);
|
||||
|
||||
Reference in New Issue
Block a user