feat(platform): add fleet operations cockpit

This commit is contained in:
lingniu
2026-07-05 17:35:30 +08:00
parent 2c6fca90d2
commit 8dda3c0b85
3 changed files with 154 additions and 0 deletions

View File

@@ -895,6 +895,78 @@ body {
margin-bottom: 16px;
overflow: hidden;
border-color: rgba(22, 100, 255, 0.18);
border: 1px solid rgba(22, 100, 255, 0.16);
border-radius: var(--vp-radius);
background: #ffffff;
display: grid;
grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
}
.vp-customer-cockpit-summary {
padding: 18px;
border-right: 1px solid var(--vp-border);
background: #f8fbff;
display: grid;
gap: 12px;
align-content: center;
}
.vp-customer-cockpit-summary .semi-typography {
color: var(--vp-text);
line-height: 28px;
}
.vp-customer-cockpit-actions {
padding: 14px;
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 10px;
}
.vp-customer-cockpit-action {
min-height: 142px;
padding: 12px;
border: 1px solid var(--vp-border);
border-radius: var(--vp-radius);
background: #fbfcff;
color: inherit;
cursor: pointer;
font: inherit;
text-align: left;
display: grid;
gap: 8px;
align-content: start;
transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.vp-customer-cockpit-action:hover,
.vp-customer-cockpit-action:focus-visible {
border-color: rgba(22, 100, 255, 0.42);
background: #f5f9ff;
box-shadow: 0 0 0 3px rgba(22, 100, 255, 0.08);
outline: none;
}
.vp-customer-cockpit-action strong {
color: var(--vp-text);
font-size: 18px;
font-weight: 700;
line-height: 24px;
word-break: break-word;
}
.vp-customer-cockpit-action span {
color: var(--vp-text-muted);
font-size: 12px;
line-height: 18px;
}
.vp-customer-cockpit-action em {
color: var(--vp-primary);
font-size: 15px;
font-style: normal;
font-weight: 600;
line-height: 22px;
}
.vp-customer-cockpit .semi-card-body {
@@ -7762,6 +7834,8 @@ button.vp-realtime-command-item:focus-visible {
.vp-map-ops-board,
.vp-map-ops-readiness,
.vp-map-ops-work,
.vp-customer-cockpit,
.vp-customer-cockpit-actions,
.vp-customer-cockpit .semi-card-body,
.vp-customer-cockpit-metrics,
.vp-customer-cockpit-trust,
@@ -7919,6 +7993,11 @@ button.vp-realtime-command-item:focus-visible {
grid-template-columns: 1fr;
}
.vp-customer-cockpit-summary {
border-right: 0;
border-bottom: 1px solid var(--vp-border);
}
.vp-customer-cockpit-workflow {
grid-template-columns: 1fr;
}