feat(platform): add time window service path

This commit is contained in:
lingniu
2026-07-05 21:44:10 +08:00
parent a26fd71bfa
commit 52a73cba2d
3 changed files with 265 additions and 1 deletions

View File

@@ -2392,6 +2392,100 @@ body {
line-height: 20px;
}
.vp-time-service-path {
margin-top: 14px;
display: grid;
grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1.42fr);
gap: 12px;
}
.vp-time-service-path-copy {
min-height: 174px;
padding: 14px;
border: 1px solid rgba(22, 100, 255, 0.24);
border-radius: 8px;
background: #f6f9ff;
display: grid;
gap: 10px;
align-content: start;
}
.vp-time-service-path-copy .semi-typography {
line-height: 21px;
}
.vp-time-service-path-grid {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 10px;
}
.vp-time-service-path-item {
min-height: 174px;
padding: 12px;
border: 1px solid var(--vp-border);
border-radius: 8px;
background: #fff;
color: inherit;
cursor: pointer;
font: inherit;
text-align: left;
display: grid;
grid-template-columns: 30px minmax(0, 1fr);
gap: 10px;
align-content: start;
}
.vp-time-service-path-item:hover,
.vp-time-service-path-item:focus-visible {
border-color: rgba(22, 100, 255, 0.42);
background: #f7fbff;
box-shadow: var(--vp-shadow-sm);
outline: none;
}
.vp-time-service-path-item > span {
width: 28px;
height: 28px;
border-radius: 999px;
background: #eef4ff;
color: var(--vp-primary);
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 12px;
font-weight: 800;
}
.vp-time-service-path-item div {
min-width: 0;
display: grid;
gap: 8px;
align-content: start;
}
.vp-time-service-path-item strong {
color: var(--vp-text);
font-size: 17px;
line-height: 22px;
word-break: break-word;
}
.vp-time-service-path-item small {
color: var(--vp-text-muted);
font-size: 12px;
line-height: 18px;
word-break: break-word;
}
.vp-time-service-path-item em {
color: var(--vp-primary);
font-size: 12px;
font-style: normal;
font-weight: 700;
line-height: 18px;
}
.vp-time-audit-strip {
margin-top: 14px;
padding: 14px;
@@ -10643,6 +10737,8 @@ button.vp-realtime-command-item:focus-visible {
.vp-mileage-kpi-grid,
.vp-mileage-task-grid,
.vp-mileage-mini-charts,
.vp-time-service-path,
.vp-time-service-path-grid,
.vp-playback-layout,
.vp-playback-timeline {
grid-template-columns: 1fr;