修复置换草稿重复来料并统一新货表单布局
This commit is contained in:
1 parent
9186480118
commit
6fe7504e52
4 files changed
+40
-10
No files matched your search
@@ -213,3 +213,17 @@ button.order-copy-button:focus-visible{outline:3px solid var(--gold);outline-off
|
||||
.shop-settings-fields{border:0;padding:0;margin:0;min-width:0}.shop-settings h3{margin:24px 0 12px}@media(max-width:650px){.shop-settings .grid.three{grid-template-columns:1fr}.shop-settings .grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}}
|
||||
/* 普通新单的勾选成本,金额与付款人固定,其他成本沿用原费用行。 */
|
||||
.order-cost-presets{margin:18px 0 12px;padding:16px;border:1px solid #d4c39f;border-radius:8px;min-width:0;background:#fffcf5}.order-cost-presets legend{padding:0 7px;color:#6e4b17;font-size:14px;font-weight:650}.order-cost-presets>p{margin:0 0 14px}.order-cost-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:start}.order-cost-option{display:flex;gap:10px;align-items:flex-start;margin:0;padding:13px 10px;border:1px solid #d9cbae;background:#fffdf8;border-radius:7px;cursor:pointer;min-height:106px}.order-cost-option:has(input:checked){border-color:#647b57;background:#eef3e8}.order-cost-option:has(input:disabled){opacity:.7;cursor:default}.order-cost-option>input[type=checkbox]{width:19px;height:19px;min-height:19px;margin:3px 0 0;flex:0 0 auto;accent-color:var(--green)}.order-cost-option>span{display:flex;flex-direction:column;min-width:0;gap:3px}.order-cost-option strong{font-size:14px;line-height:1.5}.order-cost-price{color:#35523a;font-size:17px;font-weight:650}.order-cost-option small{font-size:11px;line-height:1.6;font-weight:400;overflow-wrap:anywhere}.order-cost-quantity{margin:10px 0 0;font-size:12px}.order-cost-quantity input{margin:6px 0 3px;max-width:180px}.order-cost-quantity small{display:block;line-height:1.6;font-weight:400}@media(max-width:1000px){.order-cost-options{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.order-cost-presets{padding:12px 10px}.order-cost-options{gap:10px}.order-cost-option{padding:12px 9px;gap:8px}.order-cost-option strong{font-size:13px}.order-cost-quantity input{width:100%;max-width:none}.order-cost-presets legend{font-size:13px}}
|
||||
|
||||
/* 置换共用来料:每件新货同级排列,收费和内部成本分别对齐。 */
|
||||
#recovery-form .recovery-new-product{min-width:0;border:1px solid var(--border);border-radius:9px;padding:18px;margin:16px 0;background:var(--white)}
|
||||
#recovery-form .recovery-new-product>.panel-title{margin-bottom:16px;min-height:32px}
|
||||
#recovery-form .recovery-new-product>.panel-title h3{margin:0}
|
||||
#recovery-form .recovery-new-product .recovery-new-fields{grid-template-columns:minmax(0,1.4fr) repeat(4,minmax(0,1fr))}
|
||||
#recovery-form .recovery-product-cost{margin-top:18px;padding:16px}
|
||||
#recovery-form .recovery-product-cost h4{margin:0 0 12px}
|
||||
#recovery-form .recovery-product-cost>.recovery-row{grid-template-columns:repeat(3,minmax(0,1fr))}
|
||||
#recovery-form .recovery-common-pricing{margin-top:24px;padding-top:20px;border-top:1px solid var(--border)}
|
||||
#recovery-form .recovery-common-pricing>h3{margin:0 0 14px}
|
||||
#recovery-form .recovery-common-pricing>.recovery-row{margin-top:0;grid-template-columns:repeat(3,minmax(0,1fr))}
|
||||
@media(max-width:1100px){#recovery-form .recovery-new-product .recovery-new-fields{grid-template-columns:repeat(2,minmax(0,1fr))}#recovery-form .recovery-new-product .recovery-new-fields>label:first-child{grid-column:1/-1}}
|
||||
@media(max-width:650px){#recovery-form .recovery-new-product{padding:14px;margin:14px 0}#recovery-form .recovery-product-cost{padding:12px}#recovery-form .recovery-product-cost>.recovery-row,#recovery-form .recovery-common-pricing>.recovery-row{grid-template-columns:repeat(2,minmax(0,1fr))}#recovery-form .recovery-product-cost>.recovery-row>label:last-child{grid-column:1/-1}}
|
||||
Reference in new issue
Block a user