.mobile-publish { width: 100%; min-width: 0; min-height: 100dvh; background: #f4f6f8; padding-bottom: calc(56px + env(safe-area-inset-bottom)); overflow-x: hidden; } .page-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; height: 48px; padding: 0 12px; background: #fff; border-bottom: 1px solid #eceff3; } .page-header h1 { flex: 1; margin: 0; font-size: 17px; font-weight: 700; text-align: center; } .back-btn { display: grid; width: 36px; height: 36px; place-items: center; border: none; background: none; color: #25282d; cursor: pointer; } .header-spacer { width: 36px; } .form-body { padding: 12px 14px 24px; } .form-section { padding: 14px; margin-bottom: 12px; background: #fff; border: 1px solid #edf0f4; border-radius: 8px; } .section-title { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: #171a1f; } .field-hint { margin: -2px 0 8px; color: #858c96; font-size: 11px; line-height: 1.5; } .publish-field { margin-bottom: 8px; border-radius: 8px; background: #f8fafc; overflow: visible; } .publish-field :deep(.van-field__label) { width: 88px; color: #30343a; font-size: 13px; font-weight: 600; } .publish-field :deep(.van-field__control) { color: #20242a; /* iOS Safari:font-size < 16px 时聚焦会自动放大页面 */ font-size: 16px; } .early-morning-response-field :deep(.van-field__label) { width: 128px; } .hint-label, .backend-hint-target.has-hint, .upload-title.has-hint { position: relative; display: inline-flex; align-items: center; max-width: 100%; line-height: 1.35; cursor: help; outline: none; } .hint-label::before, .backend-hint-target.has-hint::before, .upload-title.has-hint::before, .hint-label::after, .backend-hint-target.has-hint::after, .upload-title.has-hint::after { position: absolute; z-index: 20; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.16s ease, visibility 0.16s ease; } .hint-label::before, .backend-hint-target.has-hint::before, .upload-title.has-hint::before { content: ''; top: 50%; left: calc(100% + 2px); transform: translateY(-50%); border: 6px solid transparent; border-right-color: rgba(32, 36, 42, 0.96); } .hint-label::after, .backend-hint-target.has-hint::after, .upload-title.has-hint::after { content: attr(data-hint); top: 50%; left: calc(100% + 14px); width: min(242px, calc(100vw - 136px)); max-height: 156px; overflow: auto; transform: translateY(-50%); padding: 8px 10px; border-radius: 8px; background: rgba(32, 36, 42, 0.96); box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18); color: #fff; font-size: 12px; font-weight: 500; line-height: 1.45; white-space: normal; } .hint-label:hover::before, .hint-label:focus-visible::before, .backend-hint-target.has-hint:hover::before, .backend-hint-target.has-hint:focus-visible::before, .upload-title.has-hint:hover::before, .upload-title.has-hint:focus-visible::before, .hint-label:hover::after, .hint-label:focus-visible::after, .backend-hint-target.has-hint:hover::after, .backend-hint-target.has-hint:focus-visible::after, .upload-title.has-hint:hover::after, .upload-title.has-hint:focus-visible::after { opacity: 1; visibility: visible; } .radio-group, .multi-chip-group { display: flex; flex-wrap: wrap; gap: 8px; } .radio-group.small { gap: 6px; } .radio-btn { min-height: 28px; padding: 5px 12px; border: 1px solid #d7dce3; border-radius: 14px; background: #fff; color: #5c6470; font-size: 12px; font-weight: 600; line-height: 1; } .radio-btn.active { border-color: #ff6a00; background: #ff6a00; color: #fff; } .radio-btn.disabled, .radio-btn:disabled { border-color: #e5e7eb; background: #f3f4f6; color: #a8b0bd; cursor: not-allowed; } .result-grid { display: grid; grid-template-columns: 1fr; gap: 8px; } /* 在线时间:通栏紧凑布局,高度贴近其它 publish-field */ .online-time-block { margin-bottom: 8px; padding: 10px 12px; border-radius: 8px; background: #f8fafc; } .online-time-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; } .online-time-title { display: flex; align-items: center; gap: 2px; color: #30343a; font-size: 13px; font-weight: 600; line-height: 1.2; } .online-time-title .req { color: #ee0a24; font-weight: 800; } .online-time-allday { flex-shrink: 0; min-height: 28px !important; padding: 0 12px !important; font-size: 12px !important; } .online-time-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; } .online-time-pick { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 6px; width: 100%; min-width: 0; min-height: 36px; padding: 6px 10px; border: 1px solid #e2e8f0; border-radius: 999px; background: #fff; text-align: left; cursor: pointer; transition: border-color 0.15s ease, box-shadow 0.15s ease; } .online-time-pick:active { border-color: #ffb074; box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1); } .online-time-label { display: flex; align-items: center; gap: 3px; flex-shrink: 0; color: #8a94a6; font-size: 11px; font-weight: 600; line-height: 1.2; } .online-time-label em { font-style: normal; padding: 0 4px; border-radius: 999px; background: rgba(255, 106, 0, 0.1); color: #ff6a00; font-size: 10px; font-weight: 800; } .online-time-pick strong { min-width: 0; color: #20242a; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; line-height: 1.2; text-align: right; } .online-time-pick strong.placeholder { color: #94a3b8; font-size: 13px; font-weight: 600; } .online-time-summary { margin: 6px 0 0; color: #64748b; font-size: 11px; font-weight: 500; line-height: 1.35; } .online-time-hint { margin: 6px 0 0; color: #858c96; font-size: 11px; line-height: 1.45; } .level-panel { display: grid; gap: 8px; } .level-row { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 8px; align-items: center; padding: 10px; border-radius: 8px; background: #f8fafc; } .level-label { color: #30343a; font-size: 13px; font-weight: 700; white-space: nowrap; } .level-label span { margin-right: 2px; color: #ee0a24; } .level-options { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; } .level-btn { min-width: 0; height: 30px; padding: 0; border: 1px solid #d7dce3; border-radius: 15px; background: #fff; color: #5c6470; font-size: 12px; font-weight: 700; line-height: 1; } .level-btn.active { border-color: #ff6a00; background: #ff6a00; color: #fff; } .quantity-row { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 8px; align-items: stretch; margin-bottom: 8px; } .quantity-row.disabled { opacity: 0.62; } .quantity-card { display: grid; grid-template-columns: minmax(0, 1fr) 72px; gap: 10px; align-items: center; min-height: 72px; padding: 10px 12px; border-radius: 8px; background: #f8fafc; } .quantity-meta { display: grid; min-width: 0; gap: 5px; } .quantity-meta strong { overflow: hidden; color: #30343a; font-size: 13px; font-weight: 700; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; } .quantity-meta span { margin-right: 2px; color: #ee0a24; } .quantity-meta small { color: #858c96; font-size: 11px; font-weight: 600; } .quantity-input { width: 100%; min-width: 0; height: 36px; padding: 0 8px; border: 1px solid #e0e5ec; border-radius: 8px; background: #fff; color: #20242a; font-size: 16px; font-weight: 700; text-align: center; outline: none; } .quantity-input:focus { border-color: #ff6a00; } .quantity-input:disabled { cursor: not-allowed; } .mode-toggle { display: grid; grid-template-columns: 1fr; gap: 6px; min-height: 72px; } .mode-toggle button { border: 1px solid #d7dce3; border-radius: 8px; background: #fff; color: #606873; font-size: 12px; font-weight: 700; } .mode-toggle button.active { border-color: #ff6a00; background: #fff3ea; color: #e65f00; } .mode-toggle button:disabled { cursor: not-allowed; } .skin-groups { display: grid; gap: 10px; margin-bottom: 8px; } .skin-group { padding: 10px; border-radius: 8px; background: #f8fafc; } .skin-group-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; color: #30343a; font-size: 13px; font-weight: 700; } .skin-group-title small { color: #858c96; font-size: 11px; font-weight: 600; } .region-panel { display: grid; gap: 8px; padding: 10px; border-radius: 8px; background: #f8fafc; } .region-title { display: flex; align-items: center; justify-content: space-between; color: #30343a; font-size: 13px; font-weight: 700; } .region-title small { color: #858c96; font-size: 11px; font-weight: 600; } .region-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; } .region-btn { min-width: 0; height: 28px; padding: 0 2px; border: 1px solid #d7dce3; border-radius: 14px; background: #fff; color: #5c6470; font-size: 11px; font-weight: 700; } .region-btn.active { border-color: #ff6a00; background: #ff6a00; color: #fff; } .upload-list { display: grid; gap: 10px; } .upload-line { display: grid; grid-template-columns: minmax(0, 1fr) 86px; gap: 10px; align-items: center; min-height: 76px; padding: 10px; border: 1px solid #edf0f4; border-radius: 8px; background: #f8fafc; } .upload-meta { display: grid; gap: 4px; } .upload-meta strong { color: #242830; font-size: 13px; } .upload-meta span { color: #f04438; } .upload-meta small { color: #858c96; font-size: 11px; line-height: 1.4; } .upload-preview-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; } .upload-add, .upload-preview { width: 76px; height: 76px; border-radius: 8px; } .upload-add { display: grid; place-items: center; border: 1px dashed #c7cdd6; background: #fff; color: #7b8490; font-size: 11px; } .upload-add:disabled { opacity: 0.5; } .upload-preview { position: relative; overflow: hidden; background: #e8ecf1; } .upload-preview img { width: 100%; height: 100%; object-fit: cover; } .upload-preview button { position: absolute; right: 0; bottom: 0; height: 24px; padding: 0 8px; border: none; border-radius: 8px 0 0; background: rgba(0, 0, 0, 0.62); color: #fff; font-size: 11px; } .result-field :deep(.van-field__control) { color: #ff6a00; font-weight: 800; } .ratio-panel { display: grid; gap: 10px; margin-bottom: 8px; } .ratio-reference { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 10px 12px; border-radius: 8px; background: #f8fafc; } .ratio-reference span { color: #30343a; font-size: 13px; font-weight: 700; } .ratio-reference strong { color: #ff6a00; font-size: 18px; font-weight: 900; line-height: 1; } .ratio-range { margin: 0; color: #858c96; font-size: 11px; font-weight: 600; line-height: 1.5; } .ratio-inherit-hint { margin: 0; color: #1677ff; font-size: 11px; font-weight: 700; line-height: 1.5; } .ratio-mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .ratio-mode-grid.has-quality-owner .ratio-mode-btn:nth-of-type(1) { order: 1; } .ratio-mode-grid.has-quality-owner .ratio-mode-btn:nth-of-type(2) { order: 3; grid-column: 1 / -1; } .ratio-mode-grid.has-quality-owner .ratio-mode-btn:nth-of-type(3) { order: 2; } .ratio-mode-btn { display: grid; gap: 5px; min-width: 0; min-height: 74px; padding: 12px 8px; border: 1px solid #d7dce3; border-radius: 8px; background: #fff; color: #30343a; text-align: center; } .ratio-mode-btn strong, .ratio-mode-btn span { min-width: 0; overflow-wrap: anywhere; } .ratio-mode-btn strong { font-size: 14px; font-weight: 800; } .ratio-mode-btn span { color: #858c96; font-size: 12px; font-weight: 700; line-height: 1.25; } .ratio-mode-btn em { width: max-content; margin: 0 auto; padding: 2px 7px; border-radius: 9px; background: #fff3d6; color: #91600d; font-size: 10px; font-style: normal; font-weight: 900; } .ratio-mode-btn--quality { border-color: #dfc98c; background: linear-gradient(135deg, #fffaf0 0%, #faf6ff 100%); text-align: left; } .ratio-mode-btn--quality strong { color: #7a4b0d; } .ratio-mode-btn.ratio-mode-btn--quality.active { border-color: #b7791f; background: linear-gradient(135deg, #fff4d8 0%, #f5edff 100%); box-shadow: 0 0 0 2px rgba(183, 121, 31, 0.12); color: #7a4b0d; } .ratio-mode-btn.ratio-mode-btn--quality.active em { background: #b7791f; color: #fff; } .ratio-mode-btn.ratio-mode-btn--quality.active span { color: #7a4b0d; } .ratio-mode-btn.active { border-color: #ff6a00; background: #fff7f0; color: #ff6a00; } .ratio-mode-btn.active span { color: #ff6a00; } .ratio-mode-btn:disabled { cursor: not-allowed; opacity: 0.58; } .ratio-input-field { margin-bottom: 0; } .ratio-input-hint { margin: -2px 0 0; } .deposit-card { display: grid; gap: 10px; margin-bottom: 10px; padding: 12px; border-radius: 8px; background: #f8fafc; } .deposit-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #30343a; font-size: 13px; font-weight: 800; } .deposit-heading span { display: inline-flex; align-items: center; gap: 2px; min-width: 0; } .deposit-heading .deposit-heading-title { gap: 4px; } .deposit-guide-trigger { display: inline-grid; width: 22px; height: 22px; padding: 0; place-items: center; border: 0; background: transparent; color: #f97316; font-size: 17px; } .deposit-heading b { color: #f04452; font-size: 13px; } .deposit-heading em { flex: 0 1 auto; min-width: 0; padding: 3px 8px; border-radius: 999px; background: #fff3f4; color: #f04452; font-size: 10px; font-style: normal; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; } .deposit-input-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; min-height: 44px; padding: 0 12px; border: 1px solid #e5eaf1; border-radius: 8px; background: #fff; } .deposit-input-wrap input { width: 100%; min-width: 0; border: none; background: transparent; color: #20242a; font-size: 16px; font-weight: 700; outline: none; } .deposit-input-wrap input::placeholder { color: #b3bbc6; font-size: 13px; font-weight: 500; } .deposit-input-wrap span { color: #858c96; font-size: 13px; font-weight: 700; } .deposit-help { margin: -2px 0 0; color: #858c96; font-size: 11px; font-weight: 600; line-height: 1.45; } .deposit-recommend-btn { justify-self: start; min-height: 34px; padding: 0 14px; border: 1px solid #fed7aa; border-radius: 17px; background: #fff7ed; color: #f97316; font-size: 13px; font-weight: 800; } .total-price-field :deep(.van-field__control) { font-size: 16px; } .price-breakdown-hint { margin: -2px 0 10px; color: #858c96; font-size: 11px; line-height: 1.5; } .premium-coverage-card { display: grid; gap: 12px; margin: 4px 0 12px; padding: 14px; border: 1px solid #e5e7eb; border-radius: 8px; background: #f8fafc; } .premium-coverage-card.is-quality-owner { border-color: #e6d7b5; background: linear-gradient(145deg, #fffdf8 0%, #faf8ff 100%); } .premium-coverage-card.is-premium-active { border-color: #d4ad5e; box-shadow: 0 8px 20px rgba(139, 92, 20, 0.08); } .premium-zone-row, .coverage-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .premium-zone-copy { display: grid; min-width: 0; gap: 4px; } .premium-zone-title { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; } .premium-zone-title em { padding: 2px 7px; border-radius: 9px; background: #fff3d6; color: #8b5a0d; font-size: 9px; font-style: normal; font-weight: 900; } .premium-zone-title em.is-locked { background: #f1f3f6; color: #7b8492; } .premium-zone-row strong, .coverage-heading strong { display: block; color: #20242a; font-size: 14px; font-weight: 800; } .premium-zone-row span, .coverage-heading span { display: block; margin-top: 3px; color: #858c96; font-size: 11px; line-height: 1.45; } .premium-zone-action { display: flex; align-items: center; flex-shrink: 0; gap: 7px; } .premium-zone-action > span { margin: 0; font-size: 10px; font-weight: 800; } .premium-zone-action.is-active > span { color: #6d35c7; } .premium-zone-action :deep(.van-switch--on) { background: #7c3aed; } .premium-zone-action :deep(.van-switch--disabled) { opacity: 0.78; } .quality-owner-link { display: inline-flex; align-items: center; justify-self: start; gap: 4px; min-height: 30px; padding: 0 10px; border: 1px solid #ddd0f2; border-radius: 15px; background: #faf5ff; color: #6d35c7; font-size: 12px; font-weight: 900; } .coverage-option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .coverage-option { display: grid; align-content: start; gap: 5px; min-height: 82px; padding: 11px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; color: #20242a; text-align: left; } .coverage-option strong { font-size: 13px; font-weight: 800; } .coverage-option > .coverage-option-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; color: inherit; font-size: inherit; line-height: normal; } .coverage-option .coverage-rate { flex-shrink: 0; padding: 2px 6px; border-radius: 8px; background: #f0f2f5; color: #505a68; font-size: 10px; font-style: normal; font-weight: 900; } .coverage-option .coverage-rate.is-insurance { background: #f3ebff; color: #6d35c7; } .coverage-option span { color: #858c96; font-size: 10px; line-height: 1.45; } .coverage-option em { color: #7c3aed; font-size: 10px; font-style: normal; font-weight: 800; } .coverage-option .coverage-special-rate { width: max-content; padding: 2px 6px; border-radius: 8px; background: #f3ebff; } .coverage-option.active { border-color: #7c3aed; background: #faf5ff; } .take-home-preview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid #e5e7eb; border-radius: 8px; background: #e5e7eb; } .take-home-preview > div { display: grid; align-content: center; gap: 4px; min-width: 0; padding: 10px; background: #fff; } .take-home-preview span { color: #858c96; font-size: 10px; line-height: 1.4; } .take-home-preview strong { overflow-wrap: anywhere; color: #20242a; font-size: 15px; font-weight: 800; } .take-home-preview strong.is-deduction { color: #c2410c; } .take-home-preview .take-home-net { grid-column: 1 / -1; background: #fff7ed; } .take-home-preview .take-home-net span { color: #9a3412; } .take-home-preview .take-home-net strong { color: #f97316; font-size: 19px; } .coverage-note { margin: 0; color: #858c96; font-size: 10px; line-height: 1.55; } .publish-agreement-card { display: grid; gap: 10px; margin-bottom: 12px; padding: 12px; border: 1px solid #edf0f4; border-radius: 8px; background: #fff; } .agreement-check-label { color: #30343a; font-size: 13px; font-weight: 700; line-height: 1.45; } .agreement-link { padding: 0; border: none; background: transparent; color: #1477ff; font: inherit; } .publish-agreement-popup { max-height: 86vh; } .agreement-popup-body { display: grid; gap: 12px; max-height: 86vh; overflow: auto; padding: 20px 16px calc(16px + env(safe-area-inset-bottom)); } .agreement-popup-body h3 { margin: 0; color: #17233d; font-size: 18px; font-weight: 900; } .agreement-popup-content { max-height: 62vh; overflow: auto; padding: 12px; border: 1px solid #e5e7eb; border-radius: 8px; background: #f8fafc; color: #1f2937; font-size: 12px; font-weight: 700; line-height: 1.7; white-space: pre-wrap; } .publish-actions { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; margin-top: 8px; } .reset-btn, .submit-btn { height: 44px; width: 100%; border: none !important; font-size: 15px; font-weight: 700; } .reset-btn { border: 1px solid #d7dce3 !important; background: #fff !important; color: #4b5563 !important; } .submit-btn { background: #ff6a00 !important; } @media (max-width: 370px) { .level-options, .region-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }