feat(platform): add customer mileage review console
This commit is contained in:
@@ -1496,6 +1496,160 @@ button.vp-realtime-command-item:focus-visible {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.vp-mileage-console {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 300px;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.vp-mileage-console-main {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.vp-mileage-console-head {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.vp-mileage-kpi-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.vp-mileage-kpi-item {
|
||||
min-height: 112px;
|
||||
padding: 14px;
|
||||
border: 1px solid var(--vp-border);
|
||||
border-radius: var(--vp-radius);
|
||||
background: #fbfcff;
|
||||
color: inherit;
|
||||
text-align: left;
|
||||
font: inherit;
|
||||
cursor: pointer;
|
||||
display: grid;
|
||||
align-content: space-between;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.vp-mileage-kpi-item:hover,
|
||||
.vp-mileage-kpi-item:focus-visible {
|
||||
border-color: rgba(22, 100, 255, 0.42);
|
||||
background: #f5f9ff;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.vp-mileage-kpi-item strong {
|
||||
color: var(--vp-text);
|
||||
font-size: 24px;
|
||||
line-height: 30px;
|
||||
font-weight: 700;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.vp-mileage-kpi-item span {
|
||||
color: var(--vp-text-muted);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.vp-mileage-mini-charts {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.vp-mileage-mini-title {
|
||||
margin-bottom: 8px;
|
||||
color: var(--vp-text);
|
||||
font-size: 13px;
|
||||
line-height: 20px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.vp-mileage-mini-chart {
|
||||
min-height: 170px;
|
||||
padding: 12px;
|
||||
border: 1px solid var(--vp-border);
|
||||
border-radius: var(--vp-radius);
|
||||
background: #fbfcff;
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
.vp-mileage-mini-row {
|
||||
display: grid;
|
||||
grid-template-columns: 92px minmax(0, 1fr) 86px;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
color: var(--vp-text-muted);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.vp-mileage-mini-row span,
|
||||
.vp-mileage-mini-row strong {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.vp-mileage-mini-row strong {
|
||||
color: var(--vp-text);
|
||||
font-weight: 600;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.vp-mileage-mini-row div {
|
||||
height: 8px;
|
||||
border-radius: 999px;
|
||||
background: rgba(22, 100, 255, 0.08);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.vp-mileage-mini-row i {
|
||||
display: block;
|
||||
height: 100%;
|
||||
border-radius: inherit;
|
||||
background: var(--vp-primary);
|
||||
}
|
||||
|
||||
.vp-mileage-mini-row-green {
|
||||
background: var(--vp-success) !important;
|
||||
}
|
||||
|
||||
.vp-mileage-console-side {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
.vp-mileage-side-card {
|
||||
padding: 12px;
|
||||
border: 1px solid var(--vp-border);
|
||||
border-radius: var(--vp-radius);
|
||||
background: #fbfcff;
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.vp-mileage-side-card .semi-button {
|
||||
justify-self: start;
|
||||
}
|
||||
|
||||
.vp-mileage-side-title {
|
||||
color: var(--vp-text);
|
||||
font-size: 13px;
|
||||
line-height: 20px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.vp-online-ops-board {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
|
||||
@@ -2810,12 +2964,16 @@ button.vp-realtime-command-item:focus-visible {
|
||||
.vp-source-fusion-grid,
|
||||
.vp-source-fusion-facts,
|
||||
.vp-vehicle-map-layout,
|
||||
.vp-mileage-console,
|
||||
.vp-mileage-kpi-grid,
|
||||
.vp-mileage-mini-charts,
|
||||
.vp-playback-layout,
|
||||
.vp-playback-timeline {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.vp-map-commandbar,
|
||||
.vp-mileage-console-head,
|
||||
.vp-map-canvas-toolbar {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
|
||||
Reference in New Issue
Block a user