feat(platform): add customer vehicle service journey

This commit is contained in:
lingniu
2026-07-05 20:59:37 +08:00
parent 68c1c7cef4
commit dd5ae740e5
3 changed files with 181 additions and 0 deletions

View File

@@ -1248,6 +1248,108 @@ body {
overflow: hidden;
}
.vp-customer-service-journey {
margin-bottom: 16px;
padding: 14px;
border: 1px solid rgba(22, 100, 255, 0.16);
border-radius: 8px;
background: #ffffff;
display: grid;
grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1.58fr);
gap: 14px;
align-items: stretch;
}
.vp-customer-service-journey-copy {
min-width: 0;
display: grid;
align-content: center;
gap: 8px;
}
.vp-customer-service-journey-copy .semi-typography {
color: var(--vp-text);
line-height: 24px;
}
.vp-customer-service-journey-steps {
min-width: 0;
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 8px;
}
.vp-customer-service-journey-step {
min-width: 0;
min-height: 96px;
padding: 10px;
border: 1px solid var(--vp-border);
border-radius: 8px;
background: #fbfcff;
color: inherit;
cursor: pointer;
font: inherit;
text-align: left;
display: grid;
grid-template-columns: 24px minmax(0, 1fr);
grid-template-rows: minmax(0, 1fr) auto;
column-gap: 8px;
row-gap: 8px;
transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.vp-customer-service-journey-step:hover,
.vp-customer-service-journey-step: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-service-journey-step > span {
width: 24px;
height: 24px;
border-radius: 6px;
background: #eaf3ff;
color: var(--vp-primary);
font-size: 12px;
font-weight: 800;
line-height: 24px;
text-align: center;
}
.vp-customer-service-journey-step > div {
min-width: 0;
display: grid;
gap: 3px;
}
.vp-customer-service-journey-step strong {
color: var(--vp-text);
font-size: 13px;
line-height: 18px;
font-weight: 800;
}
.vp-customer-service-journey-step small {
color: var(--vp-text);
font-size: 15px;
line-height: 20px;
font-weight: 700;
}
.vp-customer-service-journey-step em {
color: var(--vp-text-muted);
font-size: 11px;
font-style: normal;
line-height: 16px;
}
.vp-customer-service-journey-step .semi-tag {
grid-column: 2;
justify-self: start;
}
.vp-customer-service-command-main {
padding: 18px;
border-bottom: 1px solid var(--vp-border);