客户类型改为紧凑横排单选,避免撑高开单表单

This commit is contained in:
summer committed 2026-12-04 03:22:51 +08:00
1 parent c12f2157b4
commit c08969b876
2 files changed
+4 -2

No files matched your search

+3 -1
View File
@@ -353,7 +353,7 @@ button.order-copy-button:focus-visible{outline:3px solid var(--gold);outline-off
@media(max-width:650px){.private-ops-filters{display:grid;grid-template-columns:1fr 1fr}.private-ops-filters>label{min-width:0}.private-ops-filters>.actions{grid-column:1/-1}.private-ops-filters input,.private-ops-filters select,#private-people-form input,#private-people-form select{font-size:16px}#main:has(#private-ops-filter)>.page-heading{display:block}#main:has(#private-ops-filter)>.page-heading .actions{margin-top:12px}}
/* 客户类型直接单选,整块标签均可点击。 */
.customer-type-field{border:0;padding:0;margin:0;min-width:0}.customer-type-field legend{padding:0;margin-bottom:7px;color:var(--muted);font-size:12px}.customer-type-options{display:flex;flex-wrap:wrap;gap:8px}.customer-type-options>label{display:flex;align-items:center;gap:8px;min-height:44px;padding:9px 12px;margin:0;border:1px solid var(--border);border-radius:7px;background:var(--white);cursor:pointer}.customer-type-options input[type=radio]{width:17px;height:17px;min-height:0;margin:0;padding:0;flex:none;accent-color:var(--green)}.customer-type-options>label:has(input:checked){border-color:var(--green);background:var(--soft);color:var(--green)}.customer-type-options>label:focus-within{outline:2px solid var(--green);outline-offset:2px}.customer-type-options span{font-size:13px}
.customer-type-field{border:0;padding:0;margin:0;min-width:0}.customer-type-field legend{padding:0;margin-bottom:6px;color:#566259;font-size:12px}.customer-type-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.customer-type-options>label{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;height:44px;padding:8px 6px;margin:0;border:1px solid var(--border);border-radius:7px;background:var(--white);cursor:pointer}.customer-type-options input[type=radio]{width:15px;height:15px;min-height:0;margin:0;padding:0;flex:none;accent-color:var(--green)}.customer-type-options>label:has(input:checked){border-color:var(--green);background:var(--soft);color:var(--green)}.customer-type-options>label:has(input:focus-visible){outline:2px solid var(--green);outline-offset:2px}.customer-type-options input[type=radio]:focus{outline:none}.customer-type-options span{font-size:13px;white-space:nowrap}
.private-ops-summary{min-width:980px}.private-ops-summary th.number{text-align:right}.private-ops-summary tbody th{background:var(--white);color:var(--ink);font-size:13px;font-weight:650;vertical-align:middle}.private-ops-summary td{vertical-align:middle;padding:11px 12px;font-variant-numeric:tabular-nums}.private-ops-summary td .small{margin-top:4px;font-size:11px}.private-ops-summary td:last-child{white-space:nowrap}.private-ops-summary tbody tr:hover td,.private-ops-summary tbody tr:hover th{background:#f5f7f2}.private-ops-summary th:first-child{position:sticky;left:0;z-index:1;min-width:90px;border-right:1px solid var(--border)}.private-ops-summary-wrap:focus-visible{outline:2px solid var(--green);outline-offset:2px}
@@ -364,3 +364,5 @@ button.order-copy-button:focus-visible{outline:3px solid var(--gold);outline-off
.order-book-table .document-print-badge{padding:1px 5px;margin:0;font-size:11px;font-weight:500}
.order-book-table .document-print-badge.is-unprinted{color:var(--muted);background:transparent}
.order-mobile-print-status{margin-top:6px}
@media(max-width:650px){.grid>.customer-type-field{grid-column:1/-1}}