Просмотр исходного кода

style(web): 统一工单和团队页面的筛选框宽度

sy 3 дней назад
Родитель
Сommit
f98ff3809f

+ 19 - 2
web-scaffold/src/styles/operations.css

@@ -985,8 +985,25 @@ body:has(:is(.ops-content-dialog, .header-logout-dialog)[open]) { overflow: hidd
    8 计入分成基数|9 金额配置情况|10 被套餐档引用|11 操作(改列序时同步这里)。 */
 .cost-ledger-definitions .cost-ledger :is(.ops-status,td:nth-child(9),td:nth-child(9) small){white-space:normal}
 .ops-page--customers .customer-list-filters { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
-.ops-page--customers .customer-list-filters .customer-filter-name { flex:1 1 140px; min-width:0; width:auto; max-width:min(240px,100%); }
-.ops-page--customers .customer-list-filters .customer-id-search { flex:1 1 148px; min-width:0; width:auto; max-width:min(260px,100%); height:38px; }
+.ops-page--customers .customer-list-filters .customer-filter-name,
+.work-order-ledger .order-filters > .order-search,
+.ops-toolbar.work-order-queue-filters > .order-search,
+.team-members-page .ops-toolbar > .team-members-search,
+.ops-toolbar.team-recon-toolbar > .ops-search,
+.party-audit-page .ops-toolbar > .party-audit-keyword {
+  flex: 1 1 140px;
+  min-width: 0;
+  width: auto;
+  max-width: min(240px, 100%);
+}
+.ops-page--customers .customer-list-filters .customer-id-search,
+.party-audit-page .ops-toolbar > .ops-search:not(.party-audit-keyword) {
+  flex: 1 1 148px;
+  min-width: 0;
+  width: auto;
+  max-width: min(260px, 100%);
+  height: 38px;
+}
 .ops-page--customers .customer-list-filters .customer-filter-reset { flex:none; height:38px; white-space:nowrap; }
 
 /* ── 定时任务表格 ── */

+ 0 - 4
web-scaffold/src/styles/party-audit.css

@@ -16,8 +16,6 @@
 .party-audit-scope .ops-import-note:first-child { color: var(--text-secondary); font-weight: 500; }
 
 .party-audit-page .ops-toolbar { flex: none; }
-.party-audit-page .ops-toolbar > .ops-search { flex: 1 1 120px; }
-.party-audit-page .ops-toolbar > .party-audit-keyword { flex-basis: 150px; }
 .party-audit-page .ops-list-shell > .ops-form-error { margin: 0 24px 12px; }
 .party-audit-page .ops-table-wrap:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; }
 .party-audit-page .ops-list-footer { justify-content: flex-end; }
@@ -90,7 +88,5 @@
 }
 
 @media (max-width: 599px) {
-  .party-audit-page .ops-toolbar > .ops-search { max-width: none; }
-  .party-audit-page .ops-toolbar > .party-audit-keyword { flex-basis: 100%; }
   .party-audit-page .ops-list-shell > .ops-form-error { margin-inline: 18px; }
 }

+ 0 - 1
web-scaffold/src/styles/role-workspace.css

@@ -4,7 +4,6 @@
 .team-members-metrics > div:not(:first-child) strong { color: var(--foreground); }
 .team-members-metrics .team-members-mode { font-size: var(--type-section); font-weight: 600; }
 .team-members-unit { color: var(--text-secondary); font-size: var(--type-support); }
-.ops-toolbar > .team-members-search { flex-basis: 280px; }
 .ops-table.team-members-table { table-layout: fixed; }
 .team-member-identity { display: flex; align-items: center; gap: 8px; }
 .team-member-identity .ops-tag { flex: none; }

+ 0 - 1
web-scaffold/src/styles/settlement-records.css

@@ -55,7 +55,6 @@
 .team-recon-config > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
 .team-recon-config dt { flex-shrink: 0; }
 .team-recon-config dd { margin: 0; color: var(--primary); font-size: var(--type-body); font-weight: 500; text-align: end; overflow-wrap: anywhere; }
-.team-recon-toolbar > .ops-search { flex: 1 1 230px; }
 .team-recon-filter-hint { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; color: var(--muted-foreground); font-size: var(--type-meta); }
 .team-recon-filter-hint > svg { flex: none; }
 .team-recon-filters > .ops-import-note { margin: 0 24px 12px; }