refine Semi UI mileage matrix workspace

This commit is contained in:
lingniu
2026-07-18 12:41:41 +08:00
parent e5bf76ea15
commit 8aa273e579
3 changed files with 225 additions and 18 deletions

View File

@@ -11438,7 +11438,7 @@
.v2-mileage-filter > label {
gap: 5px;
color: #607187;
font-size: 11px;
font-size: 12px;
font-weight: 650;
}
@@ -11467,7 +11467,7 @@
.v2-mileage-selection > .semi-input-wrapper .semi-input,
.v2-mileage-filter > label > .semi-input-wrapper .semi-input {
color: #2d4058;
font-size: 12px;
font-size: 13px;
}
.v2-mileage-filter > .v2-primary-button.semi-button {
@@ -11485,7 +11485,7 @@
border-radius: 8px;
background: #f8fbff;
color: #49647f;
font-size: 11px;
font-size: 12px;
}
.v2-mileage-source-trigger.semi-button:hover,
@@ -11497,7 +11497,7 @@
.v2-mileage-source-trigger em {
color: #3d6594;
font-size: 9px;
font-size: 10px;
}
.v2-mileage-ranges {
@@ -11584,13 +11584,13 @@
.v2-mileage-results .v2-workspace-panel-copy > h5.semi-typography {
color: #23384f;
font-size: 15px;
font-size: 16px;
}
.v2-mileage-results .v2-workspace-panel-copy > .semi-typography,
.v2-mileage-results .v2-workspace-result-meta {
color: #748499;
font-size: 10px;
font-size: 11px;
}
.v2-mileage-result-actions > .semi-button {
@@ -11600,10 +11600,63 @@
font-weight: 650;
}
.v2-mileage-matrix-guide {
display: flex;
min-height: 36px;
overflow-x: auto;
align-items: center;
gap: 14px;
border-bottom: 1px solid #e2e9f1;
background: linear-gradient(90deg, #f9fbfe 0%, #fff 100%);
padding: 5px 14px;
color: #6c7d92;
font-size: 11px;
line-height: 1.25;
scrollbar-width: none;
white-space: nowrap;
}
.v2-mileage-matrix-guide::-webkit-scrollbar {
display: none;
}
.v2-mileage-matrix-guide > span {
display: inline-flex;
flex: 0 0 auto;
align-items: center;
gap: 5px;
}
.v2-mileage-matrix-guide-title {
color: #385a80;
}
.v2-mileage-matrix-guide-title .semi-icon {
color: #1268df;
font-size: 14px;
}
.v2-mileage-matrix-guide .semi-tag {
min-width: 36px;
justify-content: center;
border-radius: 999px;
font-size: 9px;
font-weight: 700;
}
.v2-mileage-matrix-guide .is-mobile-hint {
display: none;
}
.v2-mileage-table-wrap {
scrollbar-color: #9eb0c4 #f2f5f9;
scrollbar-gutter: stable;
scrollbar-width: auto;
outline: none;
}
.v2-mileage-table-wrap:focus-visible {
box-shadow: inset 0 0 0 2px rgba(18, 104, 223, .72);
}
.v2-mileage-table-wrap::-webkit-scrollbar {
@@ -11637,14 +11690,14 @@
border-bottom-color: #dde6f0;
background: #f6f8fb;
color: #5a6d84;
font-size: 11px;
font-size: 12px;
}
.v2-mileage-table .semi-table-tbody > .semi-table-row > .semi-table-row-cell {
height: 52px;
border-bottom-color: #e9eef4;
color: #43566d;
font-size: 12px;
font-size: 13px;
}
.v2-mileage-table .semi-table-tbody > .semi-table-row:hover {
@@ -11653,7 +11706,7 @@
.v2-mileage-table .semi-table-row-cell.is-plate strong {
color: #243950;
font-size: 12px;
font-size: 13px;
font-weight: 720;
}
@@ -11670,7 +11723,7 @@
.v2-mileage-table .semi-table-row-cell.is-period {
color: #0e62cf;
font-size: 12px;
font-size: 13px;
font-weight: 780;
}
@@ -11686,7 +11739,7 @@
justify-content: flex-start;
gap: 0;
color: #8290a2;
font-size: 9px;
font-size: 10px;
}
.v2-mileage-evidence > span {
@@ -11818,6 +11871,95 @@
font-size: 9px;
}
.v2-mileage-matrix-guide {
min-height: 34px;
gap: 11px;
padding: 4px 9px;
font-size: 9px;
}
.v2-mileage-matrix-guide-title .semi-icon {
font-size: 12px;
}
.v2-mileage-matrix-guide-title {
order: 0;
}
.v2-mileage-matrix-guide > span:not(.v2-mileage-matrix-guide-title):not(.is-mobile-hint) {
order: 2;
}
.v2-mileage-matrix-guide .semi-tag {
min-width: 31px;
height: 19px;
padding-inline: 5px;
font-size: 8px;
}
.v2-mileage-matrix-guide .is-mobile-hint {
display: inline-flex;
order: 1;
color: #3e6798;
font-weight: 650;
}
.v2-mileage-source-sidesheet .semi-sidesheet-inner {
overflow: hidden;
border: 1px solid #d9e3ef;
border-bottom: 0;
border-radius: 18px 18px 0 0;
box-shadow: 0 -18px 52px rgba(20, 38, 66, .18);
padding-bottom: env(safe-area-inset-bottom);
}
.v2-mileage-source-sidesheet .semi-sidesheet-header {
min-height: 64px;
padding: 13px 16px 11px;
}
.v2-mileage-source-sidesheet .semi-sidesheet-body {
min-height: 0;
overflow-y: auto;
padding: 9px 10px;
}
.v2-mileage-source-sidesheet .semi-sidesheet-footer {
padding: 9px 14px 10px;
}
.v2-mileage-source-list {
gap: 8px;
}
.v2-mileage-source-card.semi-card,
.v2-mileage-source-card > .semi-card-body {
min-height: 78px;
}
.v2-mileage-source-card > .semi-card-body {
gap: 7px 10px;
padding: 10px 11px;
}
.v2-mileage-source-order > .semi-button {
width: 32px;
min-width: 32px;
height: 32px;
}
.v2-mileage-source-footer {
gap: 8px;
}
.v2-mileage-source-footer > span {
font-size: 9px;
}
.v2-mileage-source-footer > .semi-button {
height: 40px;
}
.v2-mileage-table table {
width: max(100%, var(--v2-mileage-mobile-table-width)) !important;
}