feat(platform): refocus dashboard on vehicle operations

This commit is contained in:
lingniu
2026-07-05 00:03:12 +08:00
parent 6888f1a598
commit 2ca656a3f3
4 changed files with 265 additions and 113 deletions

View File

@@ -235,6 +235,136 @@ body {
font-size: 13px;
}
.vp-customer-hero {
margin-bottom: 16px;
overflow: hidden;
}
.vp-customer-hero .semi-card-body {
display: grid;
grid-template-columns: minmax(0, 1.6fr) minmax(360px, 0.7fr);
min-height: 420px;
}
.vp-customer-hero-map {
position: relative;
min-width: 0;
min-height: 420px;
background: #eef5ff;
}
.vp-customer-hero-copy {
position: absolute;
z-index: 2;
left: 24px;
top: 24px;
max-width: 560px;
padding: 18px;
border: 1px solid rgba(22, 100, 255, 0.16);
border-radius: 8px;
background: rgba(255, 255, 255, 0.92);
box-shadow: 0 12px 32px rgba(16, 24, 40, 0.12);
display: grid;
gap: 12px;
}
.vp-customer-hero-map-canvas {
min-height: 420px;
height: 420px;
border: 0;
border-radius: 0;
}
.vp-customer-hero-side {
min-width: 0;
padding: 22px;
background: #ffffff;
border-left: 1px solid var(--vp-border);
display: grid;
align-content: start;
gap: 16px;
}
.vp-customer-hero-side-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.vp-customer-health-grid {
display: grid;
gap: 10px;
}
.vp-customer-health-item {
min-height: 78px;
padding: 12px;
border: 1px solid var(--vp-border);
border-radius: 8px;
background: #fbfcff;
text-align: left;
cursor: pointer;
display: grid;
grid-template-columns: auto 1fr;
gap: 6px 10px;
font: inherit;
}
.vp-customer-health-item:hover,
.vp-customer-health-item:focus-visible {
border-color: rgba(22, 100, 255, 0.45);
background: #f5f9ff;
outline: none;
}
.vp-customer-health-item strong {
justify-self: end;
color: var(--vp-text);
font-size: 22px;
line-height: 24px;
}
.vp-customer-health-item span {
grid-column: 1 / -1;
color: var(--vp-text-muted);
font-size: 12px;
line-height: 18px;
}
.vp-customer-workflow-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 12px;
}
.vp-customer-workflow-item {
min-height: 150px;
padding: 16px;
border: 1px solid var(--vp-border);
border-radius: 8px;
background: #ffffff;
cursor: pointer;
text-align: left;
font: inherit;
display: grid;
align-content: space-between;
gap: 12px;
}
.vp-customer-workflow-item:hover,
.vp-customer-workflow-item:focus-visible {
border-color: rgba(22, 100, 255, 0.45);
box-shadow: var(--vp-shadow-sm);
outline: none;
}
.vp-customer-workflow-item strong {
color: var(--vp-text);
font-size: 20px;
line-height: 26px;
}
.vp-result-summary-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));