feat(platform): add trajectory playback workspace

This commit is contained in:
lingniu
2026-07-04 10:38:10 +08:00
parent 89c4fffd5d
commit be5a0cf92c
3 changed files with 200 additions and 5 deletions

View File

@@ -297,6 +297,20 @@ body {
box-shadow: 0 0 0 5px rgba(247, 144, 9, 0.16);
}
.vp-map-dot-start {
width: 12px;
height: 12px;
background: var(--vp-success);
box-shadow: 0 0 0 6px rgba(18, 183, 106, 0.18);
}
.vp-map-dot-end {
width: 12px;
height: 12px;
background: var(--vp-warning);
box-shadow: 0 0 0 6px rgba(247, 144, 9, 0.18);
}
.vp-monitor-side {
display: grid;
gap: 12px;
@@ -336,6 +350,41 @@ body {
align-content: start;
}
.vp-playback-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) 260px;
gap: 16px;
}
.vp-playback-map {
min-height: 430px;
border: 1px solid var(--vp-border);
border-radius: var(--vp-radius);
overflow: hidden;
background: var(--vp-surface);
}
.vp-playback-side {
display: grid;
gap: 12px;
align-content: start;
}
.vp-playback-timeline {
margin-top: 16px;
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 12px;
}
.vp-playback-step {
min-height: 112px;
padding: 12px;
border: 1px solid var(--vp-border);
border-radius: var(--vp-radius);
background: #fbfcff;
}
.vp-json {
margin: 0;
padding: 16px;
@@ -472,7 +521,9 @@ body {
.vp-action-grid,
.vp-conclusion-grid,
.vp-monitor-layout,
.vp-alert-flow {
.vp-alert-flow,
.vp-playback-layout,
.vp-playback-timeline {
grid-template-columns: 1fr;
}
}