/* 文件职责:配送设置抽屉与表单样式。 */ .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: 12px; justify-content: flex-end; } .drawer-footer .ant-btn { min-width: 96px; height: 40px; padding: 0 24px; font-size: 15px; border-radius: 10px; } .zone-map-summary { margin-top: 10px; font-size: 12px; color: #64748b; } .zone-geojson-preview { margin-top: 10px; } .zone-geojson-preview .ant-input { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; font-size: 12px; line-height: 1.55; color: #334155; background: #f8fafc; border-color: #dbe5f3; border-radius: 8px; } .zone-geojson-preview .ant-input::placeholder { color: #94a3b8; } .zone-map-actions { display: flex; gap: 10px; align-items: center; } .delivery-map-modal { display: flex; flex-direction: column; gap: 10px; } .delivery-map-toolbar { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; justify-content: space-between; } .delivery-map-status { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; font-size: 12px; color: #64748b; } .delivery-map-status-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; line-height: 22px; color: #64748b; background: #f8fafc; border: 1px solid #dbe5f3; border-radius: 999px; } .delivery-map-status-pill.drawing { color: #1d4ed8; background: #eff6ff; border-color: #bfdbfe; } .delivery-map-status-text { color: #94a3b8; } .delivery-map-alert { margin-bottom: 2px; } .delivery-map-canvas { width: 100%; height: 520px; overflow: hidden; background: #f8fafc; border: 1px solid #dbe5f3; border-radius: 10px; } .delivery-map-canvas.loading { opacity: 0.6; }