feat: 完成门店配置拆分并新增配送与自提设置页面

This commit is contained in:
2026-02-16 14:39:11 +08:00
parent 07495f8c35
commit 8d1325edf0
63 changed files with 6827 additions and 368 deletions

View File

@@ -0,0 +1,85 @@
/* 文件职责:配送设置抽屉与表单样式。 */
.delivery-tier-drawer-wrap,
.delivery-zone-drawer-wrap {
.ant-drawer-body {
padding: 16px 20px 90px;
}
.ant-drawer-footer {
padding: 12px 20px;
border-top: 1px solid #f0f0f0;
}
}
.drawer-form-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0 14px;
}
.drawer-form-block {
margin-bottom: 14px;
}
.drawer-form-label {
display: block;
margin-bottom: 8px;
font-size: 13px;
font-weight: 500;
color: #1f2937;
}
.drawer-form-label.required::before {
margin-right: 4px;
color: #ef4444;
content: '*';
}
.distance-range-row {
display: flex;
gap: 8px;
align-items: center;
}
.distance-separator {
color: #9ca3af;
}
.drawer-input-with-unit {
display: flex;
gap: 6px;
align-items: center;
}
.drawer-input {
width: 120px;
}
.color-palette {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.color-dot {
position: relative;
width: 22px;
height: 22px;
cursor: pointer;
border: none;
border-radius: 50%;
}
.color-dot.active::after {
position: absolute;
inset: -3px;
content: '';
border: 2px solid #111827;
border-radius: 50%;
}
.drawer-footer {
display: flex;
gap: 10px;
justify-content: flex-end;
}