成本配置改用紧凑列表增删查改,空目录不恢复固定项目

This commit is contained in:
summer committed 2026-12-04 01:24:14 +08:00
1 parent ba67ba790d
commit 13382e4d49
7 files changed
+88 -28

No files matched your search

+7
View File
@@ -254,3 +254,10 @@ button.order-copy-button:focus-visible{outline:3px solid var(--gold);outline-off
/* 员工管理沿用设置页表单,移动端列表可横向查看。 */
.employee-management>.panel-title{align-items:flex-start;gap:18px}.employee-management .panel-title p{margin:8px 0 0;line-height:1.8}.employee-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:20px 0}.employee-filters>label:first-child{flex:1;min-width:200px}.employee-filters>label:nth-child(2){min-width:130px}.employee-table{min-width:700px}.employee-table td{vertical-align:top;line-height:1.7;overflow-wrap:anywhere}.employee-table td:first-child{min-width:110px}.employee-table td:nth-child(2){max-width:180px}.employee-table td:nth-child(4){max-width:310px;min-width:200px}.employee-table .actions{gap:7px;flex-wrap:wrap;min-width:150px}.employee-delete-reason{margin:0 0 7px}#employee-dialog{width:min(640px,94vw)}#employee-dialog h2{padding-right:30px}.employee-form-fields{border:0;padding:0;margin:0;min-width:0}.employee-form-fields>.grid{margin:20px 0}.employee-form-fields>label{margin:16px 0}.employee-form-fields p,#employee-dialog>.note{line-height:1.8}#employee-status-form>.check{margin-top:20px}#employee-form-error .error{margin-top:16px}#employee-form-error .error>button{margin:10px 0 0}
@media(max-width:650px){.employee-management>.panel-title{flex-wrap:wrap}.employee-filters{gap:10px}.employee-filters>label:first-child{flex-basis:100%}.employee-filters>label:nth-child(2){flex:1}.employee-filters>button{padding:10px 12px}.employee-table{font-size:12px}#employee-dialog{padding:23px 18px}.employee-form-fields .grid.two{grid-template-columns:1fr}}
/* 成本目录使用紧凑列表;只编辑当前选中的一条。 */
.shop-cost-manager{margin-top:32px;padding-top:24px;border-top:1px solid var(--line,#dce0d5)}
.shop-cost-manager h3{margin:0}.shop-cost-search{display:block;max-width:360px;margin:12px 0 20px}
.shop-cost-table th,.shop-cost-table td{padding:12px 14px}.shop-cost-table .actions{gap:8px;flex-wrap:nowrap}.shop-cost-table button{padding:7px 12px;white-space:nowrap}
#shop-cost-dialog{width:min(680px,calc(100vw - 32px));max-height:90vh;padding:28px}#shop-cost-dialog h2{margin-top:0}#shop-cost-form .form-actions{justify-content:flex-end;margin-top:24px}
@media(max-width:640px){#shop-cost-dialog{padding:20px}#shop-cost-form .grid{grid-template-columns:1fr}.shop-cost-table th,.shop-cost-table td{padding:9px 8px}.shop-cost-manager .panel-title{flex-wrap:wrap}}