feat(platform): surface selected vehicle map actions

This commit is contained in:
lingniu
2026-07-05 13:28:07 +08:00
parent 2453d3e467
commit b3ec3def14
3 changed files with 125 additions and 0 deletions

View File

@@ -1937,6 +1937,76 @@ button.vp-realtime-command-item:focus-visible {
line-height: 18px;
}
.vp-map-selected-service-strip {
padding: 14px;
border: 1px solid rgba(22, 100, 255, 0.18);
border-radius: var(--vp-radius);
background: #ffffff;
display: grid;
grid-template-columns: minmax(280px, 0.64fr) minmax(0, 1.36fr);
gap: 14px;
align-items: stretch;
}
.vp-map-selected-service-summary {
min-width: 0;
display: grid;
align-content: start;
gap: 8px;
}
.vp-map-selected-service-summary .semi-typography {
font-size: 13px;
line-height: 20px;
}
.vp-map-selected-service-actions {
min-width: 0;
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 10px;
}
.vp-map-selected-service-action {
min-width: 0;
min-height: 104px;
padding: 12px;
border: 1px solid var(--vp-border);
border-radius: 8px;
background: #fbfcff;
cursor: pointer;
text-align: left;
font: inherit;
display: grid;
align-content: space-between;
gap: 8px;
}
.vp-map-selected-service-action:hover,
.vp-map-selected-service-action:focus-visible {
border-color: rgba(22, 100, 255, 0.45);
background: #f5f9ff;
outline: none;
}
.vp-map-selected-service-action:disabled {
cursor: not-allowed;
opacity: 0.58;
}
.vp-map-selected-service-action strong {
color: var(--vp-primary);
font-size: 14px;
line-height: 20px;
}
.vp-map-selected-service-action span {
color: var(--vp-text-muted);
font-size: 12px;
line-height: 18px;
word-break: break-word;
}
.vp-map-task-strip {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
@@ -5242,6 +5312,8 @@ button.vp-realtime-command-item:focus-visible {
.vp-map-decision-board,
.vp-map-decision-grid,
.vp-map-kpi-strip,
.vp-map-selected-service-strip,
.vp-map-selected-service-actions,
.vp-map-task-strip,
.vp-map-customer-package,
.vp-map-customer-package-grid,