diff --git a/apps/frontend/src/styles/client.css b/apps/frontend/src/styles/client.css index c5fb03e7..a7870bf5 100644 --- a/apps/frontend/src/styles/client.css +++ b/apps/frontend/src/styles/client.css @@ -1,3838 +1,6 @@ -/* ========================================================================== - 买家前台:提卡与信息收集页 (Buyer Claim & Collect Pages) - ========================================================================== */ +/** 买家前台公共样式入口:按领取流程拆分,具体规则见 client/。 */ -.claim-page { - min-height: 100vh; - padding: 24px; - background: linear-gradient(180deg, #f8fafc 0%, #eef4fb 100%); - display: flex; - flex-direction: column; - align-items: center; - gap: 18px; -} - -.claim-header-card, -.claim-content-card { - width: min(680px, 100%); - border-color: rgba(148, 163, 184, 0.18); - box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08); -} - -.claim-header-card { - position: relative; -} - -.claim-header-card .ant-card-body, -.claim-content-card .ant-card-body { - display: flex; - flex-direction: column; - gap: 18px; -} - -.claim-header-copy { - min-width: 0; - padding-right: 220px; -} - -.claim-header-copy h1 { - margin: 0; - color: #0f172a; - font-size: 30px; - line-height: 1.25; - overflow-wrap: anywhere; -} - -.claim-header-copy p, -.claim-muted { - margin: 0; - color: #64748b; - line-height: 1.6; -} - -.claim-step-indicator { - position: absolute; - top: 24px; - right: 24px; - max-width: 210px; - display: flex; - flex-direction: column; - align-items: flex-end; - gap: 7px; -} - -.claim-step-dots { - display: flex; - gap: 8px; -} - -.claim-step-dot { - width: 32px; - height: 32px; - border-radius: 50%; - background: #e5e7eb; - color: #94a3b8; - display: inline-flex; - align-items: center; - justify-content: center; - font-weight: 700; -} - -.claim-step-dot.active { - background: var(--theme-primary); - color: #ffffff; -} - -.claim-step-progress-text { - color: #64748b; - font-size: 13px; - font-weight: 700; - line-height: 1.4; - text-align: right; - overflow-wrap: anywhere; -} - -.claim-content-card .ant-typography { - margin: 0; -} - -.claim-state-card .ant-card-body { - min-height: 240px; - align-items: center; - justify-content: center; - text-align: center; -} - -.claim-large-icon { - font-size: 44px; -} - -.claim-icon-success { - color: #16a34a; -} - -.claim-icon-warning { - color: #d97706; -} - -.claim-icon-info { - color: var(--theme-primary); -} - -.claim-icon-error { - color: #dc2626; -} - -.claim-qr-block { - display: flex; - flex-direction: column; - align-items: center; - gap: 14px; - padding: 14px; - border-radius: 8px; - background: #f8fbff; - border: 1px solid #dbeafe; -} - -.claim-qr-guide-panel { - display: grid; - grid-template-columns: 42px minmax(0, 280px) 42px; - grid-template-areas: - 'left code right' - '. hint .'; - gap: 10px; - align-items: center; - justify-content: center; - width: 100%; - max-width: 410px; - min-width: 0; -} - -.claim-scan-label { - align-self: stretch; - min-height: 150px; - padding: 10px 6px; - color: #e11d48; - font-weight: 900; - font-size: 17px; - line-height: 1.2; - writing-mode: vertical-rl; - text-orientation: upright; - display: flex; - align-items: center; - justify-content: center; -} - -.claim-scan-label-left { - grid-area: left; -} - -.claim-scan-label-right { - grid-area: right; -} - -.claim-qr-code { - grid-area: code; - width: 100%; - max-width: 280px; - aspect-ratio: 1 / 1; - padding: 10px; - background: #ffffff; - border-radius: 8px; - border: 1px solid #dbeafe; -} - -.claim-save-hint { - grid-area: hint; - margin: 0; - justify-self: center; - color: #64748b; - font-size: 14px; - font-weight: 700; - line-height: 1.4; - text-align: center; -} - -.claim-role-panel { - display: grid; - grid-template-columns: 1fr; - gap: 8px; -} - -.claim-role-panel.pending { - opacity: 0.82; -} - -.claim-role-panel-item { - min-width: 0; - display: grid; - grid-template-columns: 88px minmax(0, 1fr); - align-items: center; - gap: 12px; -} - -.claim-role-panel-item span { - color: #64748b; - font-size: 13px; - line-height: 1.4; - white-space: nowrap; -} - -.claim-role-panel-item strong { - min-width: 0; - color: #0f172a; - font-size: 17px; - line-height: 1.45; - overflow-wrap: anywhere; -} - -.claim-action-row { - width: 100%; -} - -.claim-action-tooltip-wrap { - display: inline-flex; -} - -.claim-meta-footer { - display: flex; - flex-wrap: wrap; - gap: 4px 10px; - justify-content: center; - color: #94a3b8; - font-size: 11px; - line-height: 1.5; -} - -.claim-info-grid { - display: grid; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 14px; -} - -.claim-info-grid-compact { - gap: 8px; - margin-bottom: 10px; -} - -.claim-info-grid-compact .claim-info-item { - padding: 8px 10px; - gap: 2px; - border-radius: 6px; -} - -.claim-info-grid-compact .claim-info-item span { - font-size: 11px; - line-height: 1.3; -} - -.claim-info-grid-compact .claim-info-item strong { - font-size: 13px; - line-height: 1.35; - font-weight: 600; -} - -.claim-uid-step .ant-card-body { - gap: 10px; -} - -.claim-uid-step-title.ant-typography { - margin: 0 !important; - font-size: 20px !important; - line-height: 1.3 !important; -} - -.claim-uid-step-desc { - font-size: 13px; - line-height: 1.45; -} - -.claim-uid-guide { - margin: 4px 0 0; - padding: 6px; - border-radius: 8px; - background: #f8fafc; - border: 1px solid #e5e7eb; -} - -.claim-uid-guide-image { - display: block; - width: 100%; - max-width: 360px; - max-height: 160px; - margin: 0 auto; - border-radius: 6px; - border: 1px solid #e2e8f0; - object-fit: contain; - background: #fff; -} - -.claim-uid-guide-caption { - margin: 6px 0 0; - text-align: center; - color: #64748b; - font-size: 12px; - line-height: 1.35; -} - -.claim-uid-warning { - margin: 2px 0 0; - color: #ff4d4f; - font-size: 13px; - font-weight: 600; - line-height: 1.45; -} - -.claim-info-item { - min-width: 0; - padding: 16px; - border-radius: 6px; - background: #f8fafc; - border: 1px solid #e5e7eb; - display: flex; - flex-direction: column; - gap: 6px; -} - -.claim-info-item span { - color: #64748b; - font-size: 13px; -} - -.claim-info-item strong { - color: #0f172a; - font-size: 17px; - overflow-wrap: anywhere; -} - -.claim-result-header { - display: flex; - align-items: flex-start; - gap: 14px; -} - -.claim-feifei-main { - display: grid; - gap: 8px; -} - -.claim-feifei-main p { - margin: 0; - color: var(--theme-primary); - font-weight: 700; -} - -.claim-feifei-label { - color: #64748b; - font-size: 13px; -} - -.claim-product-items { - display: flex; - flex-direction: column; - gap: 10px; -} - -.claim-product-items-header { - display: flex; - align-items: center; - justify-content: space-between; - gap: 12px; - color: #64748b; - font-size: 13px; -} - -.claim-product-items-header strong { - color: var(--theme-primary); - font-weight: 700; -} - -.claim-product-items-list { - display: flex; - flex-direction: column; - gap: 8px; -} - -.claim-product-item-row { - min-height: 44px; - padding: 10px 12px; - border: 1px solid #e5e7eb; - border-radius: 6px; - background: #f8fafc; - display: flex; - align-items: center; - justify-content: space-between; - gap: 12px; -} - -.claim-product-item-row span { - min-width: 0; - color: #0f172a; - font-weight: 700; - line-height: 1.35; - overflow-wrap: anywhere; -} - -.claim-product-item-row strong { - flex: 0 0 auto; - color: #0f172a; - font-size: 15px; -} - -.claim-product-items.compact { - margin-top: 10px; - gap: 8px; -} - -.claim-product-items.compact .claim-product-items-list { - gap: 6px; -} - -.claim-product-items.compact .claim-product-item-row { - min-height: 36px; - padding: 8px 10px; - background: rgba(248, 250, 252, 0.72); -} - -/* 待领取物品图:居中大图;imageUrl 为空或加载失败时是同一尺寸的虚线占位块(不会出现破图) */ - -.claim-product-image-wrap { - display: flex; - justify-content: center; -} - -.claim-product-image { - width: min(160px, 48%); - aspect-ratio: 1 / 1; - border-radius: 16px; - object-fit: contain; - background: #f8fafc; - padding: 8px; - border: 1px solid rgba(148, 163, 184, 0.24); - box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); -} - -.claim-product-image-fallback { - display: flex; - align-items: center; - justify-content: center; - font-size: 46px; - color: rgba(100, 116, 139, 0.55); - border-style: dashed; -} - -/* ===== 收集页 (Collect Page) ===== */ - -.collect-page { - min-height: 100vh; - display: grid; - place-items: center; - padding: 32px 16px; - background: #f5f7fb; -} - -.collect-card { - width: min(520px, 100%); -} - -.collect-order-input { - flex: 1; - margin-bottom: 0; -} - -/* ===== 一次性补资料链接页 (Collect Material Link) ===== */ - -.collect-link-page { - min-height: 100vh; - padding: 32px 16px; - background: #f5f7fb; - display: flex; - justify-content: center; - align-items: flex-start; -} - -.collect-link-card { - width: min(720px, 100%); -} - -.collect-link-card .ant-card-body { - padding: 28px; -} - -/* 一单多工单时,内层商品卡片比外层容器更紧凑 */ -.collect-link-order-card .ant-card-body { - padding: 16px; -} - -.collect-link-status-card { - background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%); -} - -.collect-link-status-card .ant-card-body { - padding: 16px; -} - -.collect-link-status-head { - display: flex; - align-items: center; - justify-content: space-between; - flex-wrap: wrap; - gap: 8px; - color: #0f172a; - font-size: 15px; -} - -.collect-link-status-head .ant-tag { - margin-inline-end: 0; -} - -.collect-link-order-meta { - display: flex; - flex-wrap: wrap; - gap: 4px 18px; - color: #64748b; - font-size: 13px; -} - -.collect-link-order-meta strong { - color: #0f172a; - font-weight: 600; -} - -.collect-link-description { - margin-top: 6px; - font-size: 12px; -} - -.collect-link-submitted { - display: grid; - gap: 10px; - padding: 12px; - background: #f8fafc; - border: 1px solid #e7edf5; - border-radius: 10px; -} - -.collect-link-submitted-head { - display: flex; - flex-wrap: wrap; - align-items: flex-start; - justify-content: space-between; - gap: 5px 14px; -} - -.collect-link-submitted-head > span { - display: grid; - gap: 1px; -} - -.collect-link-submitted-head .ant-typography:last-child { - font-size: 11px; -} - -.collect-link-submitted-head > .ant-typography { - font-size: 11px; -} - -.collect-link-submitted-fields { - display: grid; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 7px; -} - -.collect-link-submitted-fields > div { - display: grid; - gap: 2px; - min-width: 0; - padding: 8px 10px; - background: #ffffff; - border: 1px solid #edf1f6; - border-radius: 8px; -} - -.collect-link-submitted-fields span, -.collect-link-submitted-screenshots > span { - color: #94a3b8; - font-size: 11px; -} - -.collect-link-submitted-fields strong { - color: #1e293b; - font-size: 13px; - font-weight: 500; - line-height: 1.5; - white-space: pre-wrap; - overflow-wrap: anywhere; -} - -.collect-link-submitted-screenshots { - display: grid; - gap: 7px; -} - -.collect-link-submitted-screenshots > div { - display: flex; - flex-wrap: wrap; - gap: 8px; -} - -.collect-link-submitted-screenshots .ant-image { - overflow: hidden; - border: 1px solid #dbe3ee; - border-radius: 8px; -} - -.collect-link-submitted-screenshots .ant-image-img { - object-fit: cover; -} - -.collect-link-current-status { - display: grid; - grid-template-columns: auto minmax(0, 1fr); - gap: 12px; - align-items: flex-start; - padding: 13px; - color: #475569; - background: #f8fafc; - border: 1px solid #e8edf4; - border-left: 4px solid #94a3b8; - border-radius: 9px; -} - -.collect-link-current-status-index { - display: inline-flex; - align-items: center; - justify-content: center; - width: 30px; - height: 30px; - color: #ffffff; - font-size: 13px; - font-weight: 700; - background: #64748b; - border-radius: 999px; -} - -.collect-link-current-status-copy { - display: grid; - gap: 5px; - min-width: 0; -} - -.collect-link-current-status-copy > div { - display: flex; - flex-wrap: wrap; - gap: 3px 12px; - align-items: baseline; - justify-content: space-between; -} - -.collect-link-current-status-copy > div .ant-typography:last-child { - font-size: 11px; -} - -.collect-link-current-status-copy p { - margin: 0; - color: inherit; - font-size: 13px; - line-height: 1.7; - white-space: pre-wrap; - overflow-wrap: anywhere; -} - -.collect-link-current-status.is-open, -.collect-link-current-status.is-pending_material { - color: #8a4b00; - background: #fffaf0; - border-color: #ffe7ba; - border-left-color: #faad14; -} - -.collect-link-current-status.is-open .collect-link-current-status-index, -.collect-link-current-status.is-pending_material .collect-link-current-status-index { - background: #faad14; -} - -.collect-link-current-status.is-in_progress, -.collect-link-current-status.is-unassigned { - color: #0958d9; - background: #f0f7ff; - border-color: #d6e8ff; - border-left-color: #1677ff; -} - -.collect-link-current-status.is-in_progress .collect-link-current-status-index, -.collect-link-current-status.is-unassigned .collect-link-current-status-index { - background: #1677ff; -} - -.collect-link-current-status.is-pending_acceptance { - color: #531dab; - background: #f9f0ff; - border-color: #efdbff; - border-left-color: #722ed1; -} - -.collect-link-current-status.is-pending_acceptance .collect-link-current-status-index { - background: #722ed1; -} - -.collect-link-current-status.is-accepted { - color: #237804; - background: #f6ffed; - border-color: #d9f7be; - border-left-color: #52c41a; -} - -.collect-link-current-status.is-accepted .collect-link-current-status-index { - background: #52c41a; -} - -.collect-link-current-status.is-problem { - color: #a8071a; - background: #fff1f0; - border-color: #ffccc7; - border-left-color: #ff4d4f; -} - -.collect-link-current-status.is-problem .collect-link-current-status-index { - background: #ff4d4f; -} - -.collect-link-status-message { - padding: 10px 12px; - color: #475569; - font-size: 13px; - line-height: 1.65; - background: #f8fafc; - border-left: 3px solid #94a3b8; - border-radius: 0 8px 8px 0; -} - -.collect-link-status-message.is-open, -.collect-link-status-message.is-pending_material { - color: #8a4b00; - background: #fffaf0; - border-left-color: #faad14; -} - -.collect-link-status-message.is-in_progress, -.collect-link-status-message.is-unassigned { - color: #0958d9; - background: #f0f7ff; - border-left-color: #1677ff; -} - -.collect-link-status-message.is-pending_acceptance { - color: #531dab; - background: #f9f0ff; - border-left-color: #722ed1; -} - -.collect-link-status-message.is-accepted { - color: #237804; - background: #f6ffed; - border-left-color: #52c41a; -} - -.collect-link-status-message.is-problem { - color: #a8071a; - background: #fff1f0; - border-left-color: #ff4d4f; -} - -.collect-link-status-times { - display: flex; - flex-wrap: wrap; - gap: 4px 18px; - color: #94a3b8; - font-size: 12px; -} - -.collect-link-acceptance { - display: grid; - gap: 10px; - padding-top: 12px; - border-top: 1px solid #eef2f7; -} - -.collect-link-acceptance > div:first-child { - display: flex; - align-items: baseline; - justify-content: space-between; - flex-wrap: wrap; - gap: 4px 12px; -} - -.collect-link-acceptance > div:first-child .ant-typography:last-child { - font-size: 12px; -} - -.collect-link-acceptance-images { - display: flex; - flex-wrap: wrap; - gap: 10px; -} - -.collect-link-acceptance-images .ant-image { - overflow: hidden; - border: 1px solid #dbe3ee; - border-radius: 9px; -} - -.collect-link-acceptance-images .ant-image-img { - object-fit: cover; -} - -.collect-link-acceptance-video { - display: grid; - gap: 8px; -} - -.collect-link-acceptance-video video { - width: min(100%, 520px); - max-height: 360px; - background: #0f172a; - border: 1px solid #dbe3ee; - border-radius: 10px; -} - -.collect-link-acceptance-video > div { - display: flex; - flex-wrap: wrap; - gap: 4px 14px; - align-items: center; - justify-content: space-between; - font-size: 12px; -} - -.collect-link-acceptance-video a { - color: #1677ff; -} - -.collect-link-title { - margin: 0 0 4px !important; -} - -.collect-link-heading { - display: flex; - align-items: flex-start; - justify-content: space-between; - gap: 12px; -} - -.collect-link-confirm { - display: grid; - gap: 12px; - max-height: 58vh; - padding-top: 4px; - padding-right: 4px; - overflow-y: auto; -} - -.collect-link-confirm-meta { - display: flex; - flex-wrap: wrap; - justify-content: space-between; - gap: 4px 16px; - color: #64748b; - font-size: 12px; -} - -.collect-link-confirm-meta span:first-child { - color: #0f172a; - font-size: 14px; - font-weight: 600; -} - -.collect-link-confirm-fields { - overflow: hidden; - border: 1px solid #e8edf4; - border-radius: 9px; -} - -.collect-link-confirm-field { - display: grid; - grid-template-columns: 110px minmax(0, 1fr); - gap: 12px; - padding: 9px 12px; - font-size: 13px; - border-bottom: 1px solid #eef2f7; -} - -.collect-link-confirm-field:last-child { - border-bottom: 0; -} - -.collect-link-confirm-field span, -.collect-link-confirm-screenshots span { - color: #64748b; -} - -.collect-link-confirm-field strong, -.collect-link-confirm-screenshots strong { - color: #0f172a; - font-weight: 500; - white-space: pre-wrap; - overflow-wrap: anywhere; -} - -.collect-link-confirm-field strong.is-empty { - color: #94a3b8; -} - -.collect-link-confirm-screenshots { - display: grid; - gap: 8px; - padding: 10px 12px; - font-size: 13px; - background: #f8fafc; - border-radius: 9px; -} - -.collect-link-confirm-screenshots > div:first-child { - display: flex; - justify-content: space-between; - gap: 12px; -} - -.collect-link-confirm-images { - display: flex; - flex-wrap: wrap; - gap: 8px; -} - -.collect-link-confirm-images img { - width: 58px; - height: 58px; - object-fit: cover; - background: #ffffff; - border: 1px solid #dbe3ee; - border-radius: 8px; -} - -.collect-link-confirm-content { - padding: 10px 12px; - color: #8a4b00; - font-size: 13px; - line-height: 1.7; - background: #fff7e6; - border: 1px solid #ffe7ba; - border-radius: 9px; - white-space: pre-wrap; - overflow-wrap: anywhere; -} - -/* 商品名与订单号放在同一个信息头里,避免标题和灰色信息块分离 */ -.collect-link-order-head { - display: flex; - align-items: baseline; - justify-content: space-between; - flex-wrap: wrap; - gap: 6px 20px; - padding-bottom: 12px; - border-bottom: 1px solid #eef2f7; -} - -.collect-link-order-name { - min-width: 0; - display: flex; - align-items: center; - flex-wrap: wrap; - gap: 8px; - color: #0f172a; - font-size: 16px; - font-weight: 700; - overflow-wrap: anywhere; -} - -.collect-link-order-no { - min-width: 0; - display: flex; - align-items: baseline; - gap: 6px; - color: #64748b; - font-size: 12px; -} - -.collect-link-order-no strong { - color: #0f172a; - font-size: 14px; - font-weight: 600; - overflow-wrap: anywhere; -} - -.collect-link-state { - min-height: 220px; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - gap: 16px; -} - -/* 提交成功:居中的成功状态,不再展示订单号 */ -.collect-link-success { - min-height: 380px; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - gap: 10px; - padding: 24px 12px 8px; - text-align: center; -} - -.collect-link-success-icon { - font-size: 64px; - color: #22c55e; - filter: drop-shadow(0 10px 20px rgba(34, 197, 94, 0.18)); -} - -.collect-link-success-title { - margin: 2px 0 0 !important; - color: #0f172a; -} - -.collect-link-success-products { - max-width: 100%; - margin-top: 10px; - padding: 12px 22px; - border: 1px solid #dcfce7; - border-radius: 12px; - background: #f0fdf4; - display: flex; - flex-direction: column; - gap: 4px; -} - -.collect-link-success-products span { - color: #16a34a; - font-size: 12px; -} - -.collect-link-success-products strong { - color: #166534; - font-size: 15px; - overflow-wrap: anywhere; -} - -.collect-link-success .collect-link-footnote { - margin-top: 18px; -} - -.collect-link-screenshot-control { - display: grid; - gap: 14px; - align-items: start; -} - -.collect-link-screenshot-control.has-guide { - grid-template-columns: 120px minmax(180px, 260px); - gap: 16px; -} - -.collect-link-guide-example { - display: grid; - grid-template-columns: 1fr; - gap: 6px; - min-width: 0; - max-width: 100%; - align-content: start; - justify-items: start; -} - -.collect-link-guide-example .ant-image { - display: block; - width: 128px !important; - height: 88px !important; - overflow: hidden; - border: 1px solid #dbe3ee; - border-radius: 7px; - cursor: zoom-in; -} - -.collect-link-guide-example .ant-image-img { - display: block; - width: 128px !important; - height: 88px !important; - object-fit: cover; - object-position: center; -} - -.collect-link-guide-copy { - display: grid; - align-content: center; - gap: 3px; - min-width: 0; -} - -.collect-link-guide-copy .ant-typography:first-child { - color: #334155; - font-size: 12px; -} - -.collect-link-guide-copy .ant-typography:last-child { - max-width: 220px; - font-size: 11px; - line-height: 1.55; - white-space: pre-wrap; -} - -.collect-link-actions { - display: flex; - justify-content: flex-end; - margin-top: 4px; -} - -.collect-link-actions .ant-btn { - min-width: 180px; -} - -.collect-link-footnote { - display: block; - text-align: center; - font-size: 12px; - white-space: pre-wrap; -} - -@media (max-width: 720px) { - .collect-link-page { - padding: 14px; - } - - .collect-link-card .ant-card-body { - padding: 18px; - } - - .collect-link-screenshot-control.has-guide { - grid-template-columns: 112px minmax(160px, 220px); - gap: 12px; - } - - .collect-link-guide-example .ant-image { - width: 116px !important; - height: 80px !important; - } - - .collect-link-guide-example .ant-image-img { - width: 116px !important; - height: 80px !important; - } - - .collect-link-actions { - justify-content: stretch; - } - - .collect-link-actions .ant-btn { - width: 100%; - } -} - -@media (max-width: 480px) { - .collect-link-page { - padding: 10px; - } - - .collect-link-card .ant-card-body { - padding: 14px; - } - - .collect-link-screenshot-control.has-guide { - grid-template-columns: 104px minmax(0, 1fr); - gap: 8px; - } - - .collect-link-guide-example { - gap: 5px; - } - - .collect-link-guide-example .ant-image { - width: 96px !important; - height: 68px !important; - } - - .collect-link-guide-example .ant-image-img { - width: 96px !important; - height: 68px !important; - } - - .collect-link-guide-copy .ant-typography:first-child { - font-size: 11px; - } - - .collect-link-guide-copy .ant-typography:last-child { - font-size: 10px; - } - - .collect-link-success { - min-height: 320px; - padding: 16px 4px 4px; - } - - .collect-link-success-icon { - font-size: 52px; - } - - .collect-link-success-products { - padding: 10px 16px; - } - - .collect-link-confirm-field { - grid-template-columns: 88px minmax(0, 1fr); - padding: 8px 10px; - } - - .collect-link-order-meta, - .collect-link-submitted-fields { - grid-template-columns: 1fr; - } - - .collect-link-order-meta { - display: grid; - } -} - -/* ===== 兑换中心 (Redeem Page) ===== */ - -.redeem-page { - min-height: 100vh; - display: grid; - place-items: center; - padding: 32px 16px; - background: #f5f7fb; -} - -.redeem-card { - width: min(520px, 100%); -} - -.redeem-order-input { - flex: 1; - margin-bottom: 0; -} - -/* ===== H5 领取入口页(`/h5`,只有前缀没有订单号) ===== */ - -/* 复用领取页的卡片与背景,只把单卡在视口内垂直居中 */ -.h5-claim-entry { - justify-content: center; -} - -/* ===== 买家页面响应式断点 ===== */ - -@media (max-width: 720px) { - .claim-page { - padding: 14px; - } - - .claim-header-card .ant-card-body, - .claim-content-card .ant-card-body { - gap: 14px; - } - - .claim-header-copy { - padding-right: 150px; - } - - .claim-header-copy h1 { - font-size: 24px; - line-height: 1.22; - } - - .claim-header-copy p { - font-size: 14px; - line-height: 1.4; - } - - .claim-step-indicator { - top: 16px; - right: 16px; - max-width: 140px; - } - - .claim-step-dots { - gap: 5px; - } - - .claim-step-dot { - width: 26px; - height: 26px; - font-size: 13px; - } - - .claim-step-progress-text { - font-size: 12px; - } - - .claim-info-grid { - grid-template-columns: 1fr; - } - - .claim-qr-block { - padding: 12px; - } - - .claim-qr-guide-panel { - grid-template-columns: 34px minmax(0, 1fr) 34px; - gap: 8px; - max-width: 100%; - } - - .claim-scan-label { - min-height: 128px; - padding: 8px 4px; - font-size: 14px; - } - - .claim-qr-code { - max-width: 232px; - padding: 8px; - } - - .claim-save-hint { - font-size: 13px; - } - - .claim-role-panel-item { - grid-template-columns: 76px minmax(0, 1fr); - gap: 10px; - } - - .claim-role-panel-item span { - font-size: 12px; - } - - .claim-role-panel-item strong { - font-size: 16px; - } - - .claim-action-row { - display: flex; - flex-direction: column; - align-items: stretch; - } - - .claim-action-row .ant-space-item, - .claim-action-row .ant-btn, - .claim-action-tooltip-wrap { - width: 100%; - } - - .claim-meta-footer { - justify-content: flex-start; - } - - .claim-result-header { - display: grid; - } -} - -@media (max-width: 480px) { - .claim-page { - padding: 12px; - gap: 10px; - } - - .claim-header-card .ant-card-body, - .claim-content-card .ant-card-body { - gap: 12px; - } - - .claim-header-copy { - padding-right: 112px; - } - - .claim-header-copy h1 { - font-size: 22px; - } - - .claim-step-indicator { - position: absolute; - top: 16px; - right: 16px; - max-width: 100px; - align-items: flex-end; - } - - .claim-step-dot { - width: 26px; - height: 26px; - font-size: 12px; - } - - .claim-step-dots { - gap: 5px; - } - - .claim-step-progress-text { - text-align: right; - font-size: 12px; - } - - .claim-uid-step-title.ant-typography { - font-size: 18px !important; - } - - .claim-uid-guide-image { - max-height: 140px; - } -} - -@media (max-width: 420px) { - .claim-header-copy { - padding-right: 124px; - } - - .claim-header-copy h1 { - font-size: 22px; - } - - .claim-header-copy p { - padding-right: 0; - } - - .claim-step-indicator { - max-width: 116px; - } -} - -.customer-auth-page { - --auth-accent: #2f6fed; - --auth-accent-hover: #4a83ff; - --auth-panel: #232936; - --auth-panel-soft: #2a3140; - --auth-line: rgba(255, 255, 255, 0.08); - --auth-text: #f5f7fa; - --auth-muted: #9aa3b2; - min-height: 100vh; - display: flex; - justify-content: center; - overflow-x: hidden; - padding: 0; - color: var(--auth-text); - background: #232936; -} - -.customer-auth-shell { - width: min(560px, 100%); - min-width: 0; - align-self: stretch; - overflow: hidden; - border: none; - border-radius: 0; - background: transparent; - box-shadow: none; -} - -.customer-auth-hero { - min-height: auto; - display: flex; - align-items: center; - justify-content: center; - padding: 38px 16px 10px; - background: none; -} - -/* 微博登录页顶部 KV:与资料页共用 inside-kv.jpg,叠加深色渐变保证标题可读。 */ -.customer-auth-page.is-weibo .customer-auth-hero { - min-height: 134px; - align-items: flex-start; - justify-content: flex-start; - padding: 26px 20px 20px; - background-color: #0b1220; - background-image: - linear-gradient(180deg, rgba(11, 18, 32, 0.12) 0%, rgba(11, 18, 32, 0.72) 72%, #232936 100%), - url('/images/customer/inside-kv.jpg'); - background-repeat: no-repeat; - background-position: center 38%; - background-size: cover; -} - -.customer-auth-page.is-weibo .customer-auth-brand { - width: 100%; - justify-content: flex-start; -} - -.customer-auth-page.is-weibo .customer-auth-brand h1 { - text-align: left; - text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72); -} - -@media (max-width: 640px) { - .customer-auth-page.is-weibo .customer-auth-hero { - min-height: 118px; - padding: 20px 16px 14px; - background-position: center 42%; - } -} - -.customer-auth-brand { - display: flex; - align-items: center; - justify-content: center; - gap: 0; - min-width: 0; -} - -.customer-auth-logo { - width: 62px; - height: 62px; - flex: none; - display: grid; - place-items: center; - border: 1px solid rgba(255, 255, 255, 0.22); - border-radius: 8px; - color: var(--auth-accent); - font-size: 34px; - background: rgba(3, 12, 34, 0.58); - box-shadow: inset 0 0 24px rgba(255, 138, 0, 0.06); -} - -.customer-auth-brand h1 { - margin: 0; - color: #fff; - font-size: 20px; - line-height: 1.4; - font-weight: 700; - letter-spacing: 0; - text-align: center; - white-space: normal; - overflow-wrap: anywhere; -} - -.customer-auth-warning { - padding: 6px 16px 10px; - color: #ff6975; - text-align: center; - font-size: 14px; - font-weight: 600; - background: transparent; - border-bottom: none; -} - -.customer-auth-main { - min-width: 0; - padding-bottom: 24px; - color: var(--auth-text); - background: transparent; -} - -.customer-auth-content-stack { - min-width: 0; - display: flex; - flex-direction: column; -} - -.customer-auth-task-switcher { - display: flex; - align-items: flex-start; - gap: 16px; - padding: 20px 24px; - border-bottom: 1px solid var(--auth-line); -} - -.customer-auth-task-switcher > span { - flex: none; - padding-top: 5px; - color: var(--auth-muted); - font-size: 13px; -} - -.customer-auth-task-switcher > div { - display: flex; - flex-wrap: wrap; - gap: 8px; -} - -.customer-auth-task-switcher .ant-btn { - height: auto; - padding: 6px 10px; - color: #dce6f8; - white-space: normal; - text-align: left; - border-color: rgba(255, 255, 255, 0.16); - background: rgba(255, 255, 255, 0.04); -} - -.customer-auth-task-switcher .ant-btn-primary { - color: #111827; - border-color: var(--auth-accent); -} - -.customer-auth-facts { - min-width: 0; - padding: 0 26px; -} - -.customer-auth-facts > div { - display: grid; - grid-template-columns: 132px minmax(0, 1fr); - align-items: center; - gap: 18px; - min-height: 74px; - padding: 16px 4px; - border-bottom: 1px solid var(--auth-line); -} - -.customer-auth-facts > div > span { - color: #c0c8d8; - font-size: 16px; -} - -.customer-auth-facts > div > strong { - min-width: 0; - justify-self: end; - color: #f8fafc; - font-size: 18px; - line-height: 1.5; - font-weight: 600; - text-align: right; - word-break: break-all; - overflow-wrap: anywhere; -} - -.customer-auth-section { - min-width: 0; - padding: 16px; - border-bottom: none; -} - -.customer-auth-section-heading { - display: flex; - align-items: flex-start; - gap: 14px; -} - -.customer-auth-section-icon { - width: 36px; - height: 36px; - flex: none; - display: grid; - place-items: center; - border: 1px solid rgba(255, 255, 255, 0.15); - border-radius: 8px; - color: var(--auth-accent); - font-size: 18px; - background: rgba(255, 255, 255, 0.035); -} - -.customer-auth-section-heading h2, -.customer-auth-state h2 { - margin: 0 0 6px; - color: #fff; - font-size: 18px; - line-height: 1.4; - font-weight: 700; -} - -.customer-auth-section-heading p, -.customer-auth-state p, -.customer-auth-form-copy { - margin: 0; - color: var(--auth-muted); - font-size: 15px; - line-height: 1.75; -} - -.customer-auth-section-copy h2 { - margin: 0 0 8px; - color: #fff; - font-size: 23px; - line-height: 1.35; - font-weight: 700; -} - -.customer-auth-section-copy p { - margin: 0; - color: var(--auth-muted); - font-size: 15px; - line-height: 1.75; -} - -.customer-auth-tabs { - margin-top: 22px; -} - -.customer-auth-tabs .ant-tabs-nav { - margin-bottom: 18px; -} - -.customer-auth-tabs .ant-tabs-nav::before { - display: none; -} - -.customer-auth-tabs .ant-tabs-nav-list { - width: 100%; - display: grid; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 5px; - padding: 5px; - border: 1px solid rgba(148, 163, 184, 0.18); - border-radius: 11px; - background: rgba(4, 15, 37, 0.72); -} - -.customer-auth-tabs .ant-tabs-tab { - justify-content: center; - margin: 0 !important; - padding: 11px 18px; - color: var(--auth-muted); - background: transparent; - border: 0 !important; - border-radius: 7px; -} - -.customer-auth-tabs .ant-tabs-tab.ant-tabs-tab-active { - background: var(--auth-accent); -} - -.customer-auth-tabs .ant-tabs-tab-btn { - color: inherit !important; - font-size: 16px; -} - -.customer-auth-tabs .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn { - color: #111827 !important; - font-weight: 700; -} - -.customer-auth-tabs .ant-tabs-ink-bar { - display: none; -} - -.customer-auth-form { - display: flex; - flex-direction: column; - gap: 14px; - padding-top: 18px; -} - -.customer-auth-field { - display: grid; - align-items: center; - min-height: 50px; - overflow: hidden; - border: 1px solid rgba(148, 163, 184, 0.24); - border-radius: 10px; - background: rgba(13, 29, 61, 0.72); - transition: - border-color 0.2s ease, - box-shadow 0.2s ease; -} - -.customer-auth-field:focus-within { - border-color: var(--auth-accent); - box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.12); -} - -.customer-auth-field > * { - min-width: 0; -} - -.customer-auth-phone-field { - grid-template-columns: 58px minmax(0, 1fr) 112px; - padding: 4px; -} - -.customer-auth-code-field { - grid-template-columns: minmax(0, 1fr) 122px; - gap: 5px; - padding: 5px; -} - -.customer-auth-field .ant-select-selector, -.customer-auth-field .ant-input, -.customer-auth-field .ant-input-affix-wrapper { - color: #f8fafc !important; - border: 0 !important; - border-radius: 0 !important; - background: transparent !important; - box-shadow: none !important; -} - -.customer-auth-field .ant-select-selector { - height: 48px !important; - padding-inline: 14px !important; - align-items: center; -} - -.customer-auth-field .ant-select { - height: 48px; - background: transparent !important; -} - -.customer-auth-field .ant-select-selection-item { - color: #f8fafc !important; - line-height: 46px !important; -} - -.customer-auth-field .ant-select-arrow { - color: #c4cede !important; -} - -.customer-auth-country-prefix { - display: grid; - place-items: center; - align-self: stretch; - color: #f8fafc; - font-size: 14px; - font-weight: 600; - border-right: 1px solid var(--auth-line); -} - -.customer-auth-field .ant-input-affix-wrapper { - height: 48px; - padding-inline: 15px; -} - -.customer-auth-field .ant-input { - height: 48px; - padding-inline: 10px; - font-size: 15px; -} - -.customer-auth-field .ant-input-affix-wrapper .ant-input { - padding-inline: 0; -} - -.customer-auth-field .ant-input::placeholder { - color: #7f8ca5; -} - -.customer-auth-field .ant-input-prefix { - margin-inline-end: 9px; - color: var(--auth-accent); -} - -.customer-auth-send-code { - height: 40px !important; - padding-inline: 10px !important; - color: #111827; - border: 0 !important; - border-radius: 7px !important; - background: var(--auth-accent) !important; - font-size: 14px !important; - font-weight: 700; -} - -.customer-auth-send-code:hover { - background: var(--auth-accent-hover) !important; -} - -.customer-auth-code-submit { - height: 40px !important; - color: #111827; - border: 0 !important; - border-radius: 7px !important; - background: var(--auth-accent) !important; - font-weight: 700; -} - -.customer-auth-code-submit:hover { - background: var(--auth-accent-hover) !important; -} - -.customer-auth-note { - padding: 11px 14px; - color: #fbbf24; - font-size: 13px; - line-height: 1.6; - border: 1px solid rgba(251, 191, 36, 0.48); - border-radius: 4px; - background: rgba(251, 191, 36, 0.06); -} - -.customer-auth-form-hint { - color: #7f8ca5; - font-size: 12px; -} - -.customer-auth-page .ant-btn-primary { - color: #fff; - border-color: var(--auth-accent); - background: var(--auth-accent); - font-weight: 700; - box-shadow: none; -} - -.customer-auth-page .ant-btn-primary:hover { - color: #fff !important; - border-color: var(--auth-accent-hover) !important; - background: var(--auth-accent-hover) !important; -} - -.customer-auth-page .customer-auth-secondary-button { - color: #fff; - border-color: rgba(148, 163, 184, 0.42); - background: rgba(19, 39, 77, 0.52); -} - -.customer-auth-page .customer-auth-secondary-button:hover { - color: #fff !important; - border-color: rgba(196, 210, 236, 0.72) !important; - background: rgba(31, 55, 102, 0.72) !important; -} - -.huya-slider-challenge { - display: flex; - flex-direction: column; - gap: 14px; -} - -.huya-slider-challenge > p { - display: flex; - flex-wrap: wrap; - justify-content: space-between; - gap: 6px 12px; - margin: 0; - color: #475569; - font-size: 14px; - line-height: 1.65; -} - -.huya-challenge-progress { - color: #c2410c; - font-size: 12px; - font-weight: 700; -} - -.huya-click-tip { - display: block; - max-width: 100%; - max-height: 64px; - object-fit: contain; -} - -.huya-slider-stage { - position: relative; - width: 100%; - overflow: hidden; - border: 1px solid rgba(148, 163, 184, 0.36); - border-radius: 8px; - background: #e2e8f0; - user-select: none; -} - -.huya-slider-stage.is-click { - cursor: crosshair; -} - -.huya-slider-background, -.huya-slider-puzzle { - pointer-events: none; - user-select: none; -} - -.huya-slider-puzzle.is-rotate { - transform-origin: center; -} - -.huya-click-point { - position: absolute; - display: grid; - width: 24px; - height: 24px; - place-items: center; - color: #fff; - font-size: 12px; - font-weight: 700; - border: 2px solid #fff; - border-radius: 50%; - background: #ea580c; - box-shadow: 0 2px 8px rgba(15, 23, 42, 0.32); - transform: translate(-50%, -50%); - pointer-events: none; -} - -.huya-slider-background { - display: block; - width: 100%; - height: 100%; -} - -.huya-slider-puzzle { - position: absolute; - max-width: none; - height: auto; -} - -.huya-slider-track { - position: relative; - height: 46px; - overflow: hidden; - border: 1px solid rgba(148, 163, 184, 0.36); - border-radius: 8px; - background: #f1f5f9; - touch-action: none; -} - -.huya-slider-track-fill { - position: absolute; - inset: 0 auto 0 0; - max-width: 100%; - background: rgba(249, 115, 22, 0.16); -} - -.huya-slider-handle { - position: absolute; - top: 3px; - left: 3px; - width: 58px; - height: 38px; - padding: 0; - color: #111827; - font-size: 13px; - font-weight: 700; - border: 0; - border-radius: 6px; - background: #f97316; - cursor: grab; - touch-action: none; -} - -.huya-slider-handle:active { - cursor: grabbing; -} - -.huya-rotate-control { - display: grid; - grid-template-columns: minmax(0, 1fr) 48px; - gap: 12px; - align-items: center; -} - -.huya-rotate-control > span { - color: #475569; - font-size: 13px; - font-variant-numeric: tabular-nums; - text-align: right; -} - -.customer-auth-qr { - display: flex; - flex-direction: column; - align-items: center; - gap: 13px; - padding-top: 22px; - text-align: center; -} - -.customer-auth-qr > p { - margin: 0; - color: var(--auth-muted); - line-height: 1.7; -} - -.customer-auth-qr-image, -.customer-auth-qr-placeholder { - display: grid; - place-items: center; - width: 252px; - min-height: 252px; - padding: 10px; - border-radius: 6px; - background: #fff; -} - -.customer-auth-qr-placeholder { - color: #64748b; - font-size: 13px; - background: rgba(255, 255, 255, 0.94); -} - -.customer-auth-role-card { - width: min(100%, 580px); - display: grid; - grid-template-columns: minmax(0, 1fr) auto; - gap: 4px 18px; - padding: 15px 18px; - text-align: left; - border: 1px solid rgba(255, 138, 0, 0.42); - border-radius: 5px; - background: rgba(255, 138, 0, 0.06); -} - -.customer-auth-role-card span { - color: var(--auth-muted); - font-size: 13px; -} - -.customer-auth-role-card strong { - justify-self: end; - color: #fff; - font-size: 17px; -} - -.customer-auth-role-card small { - grid-column: 1 / -1; - color: var(--auth-muted); - font-size: 12px; -} - -.customer-auth-binding { - display: flex; - flex-direction: column; - gap: 16px; -} - -.customer-auth-binding-tip { - color: #ffb454; - font-size: 13px; -} - -.customer-auth-profile { - padding: 16px; - border: 1px solid #3a4150; - border-radius: 12px; - background: #212733; -} - -.customer-auth-profile-summary { - padding: 14px; - border: 1px solid rgba(255, 255, 255, 0.14); - border-radius: 6px; - background: rgba(255, 255, 255, 0.04); -} - -.customer-auth-profile > p { - margin: 0 0 12px; - color: #9aa3b2; - font-size: 13px; - line-height: 1.6; -} - -.customer-profile-form { - display: flex; - flex-direction: column; - gap: 12px; -} - -.customer-profile-form .customer-collect-label { - margin-top: 2px; -} - -.customer-auth-profile-summary { - display: flex; - flex-wrap: wrap; - align-items: center; - gap: 10px; -} - -.customer-auth-profile-summary span { - color: var(--auth-muted); - font-size: 13px; -} - -.customer-auth-profile-summary strong { - color: #fff; - font-size: 15px; -} - -.customer-auth-profile-summary em { - color: var(--auth-muted); - font-style: normal; - font-size: 13px; -} - -/* 客户资料页(图 1) */ -.customer-collect-page { - min-height: 100vh; - background: #0b1220; - color: #e5e7eb; -} - -/* 资料页顶部 KV:原图 https://game.gtimg.cn/images/gp/web201908/inside_kv.jpg(本地 1600×510 q82) */ -.customer-collect-hero { - position: relative; - min-height: clamp(190px, 24vw, 240px); - display: flex; - align-items: flex-end; - justify-content: center; - padding: 0 20px 16px; - overflow: hidden; - text-align: center; - background-color: #0b1220; - background-image: - linear-gradient(180deg, rgba(11, 18, 32, 0) 45%, rgba(11, 18, 32, 0.55) 72%, #0b1220 100%), - url('/images/customer/inside-kv.jpg'); - background-repeat: no-repeat; - background-position: center 38%; - background-size: cover; -} - -.customer-collect-warning { - margin: 0; - text-align: center; - color: #f87171; - font-size: 17px; - font-weight: 600; - text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); -} - -@media (max-width: 640px) { - .customer-collect-hero { - min-height: 180px; - padding: 0 16px 14px; - background-position: center 42%; - } - - .customer-collect-warning { - font-size: 15px; - } -} - -.customer-collect-body { - max-width: 560px; - margin: 0 auto; - padding: 24px 20px 48px; - display: flex; - flex-direction: column; - gap: 12px; -} - -.customer-collect-label { - margin-top: 8px; - color: #e5e7eb; - font-size: 15px; - line-height: 1.4; -} - -.customer-collect-label span { - color: #f87171; -} - -.customer-collect-readonly { - height: 48px; - display: flex; - align-items: center; - padding: 0 16px; - border-radius: 12px; - background: #1b2436; - border: 1px solid #26344d; - color: #94a3b8; - font-size: 15px; -} - -.customer-collect-card { - margin: 10px 0; - padding: 16px; - border-radius: 12px; - border: 1px solid #1e2f4a; - background: #141d30; - display: flex; - flex-direction: column; - gap: 12px; -} - -.customer-collect-card > div { - display: flex; - align-items: flex-start; - justify-content: space-between; - gap: 12px; - color: #cbd5e1; - font-size: 15px; - line-height: 1.5; -} - -.customer-collect-card > div > span { - flex: 0 0 auto; - white-space: nowrap; -} - -.customer-collect-card > div strong { - flex: 1 1 auto; - min-width: 0; - color: #fff; - font-weight: 600; - text-align: right; - overflow-wrap: anywhere; -} - -.customer-collect-card > p { - margin: 6px 0 0; - color: #fbbf24; - font-size: 13px; - text-align: center; -} - -.customer-collect-input.ant-input { - height: 48px; - border-radius: 12px; - background: #1b2436; - border-color: #26344d; - color: #fff; -} - -.customer-collect-input.ant-input::placeholder { - color: #64748b; -} - -.customer-collect-select.ant-select { - width: 100%; - height: 48px; - padding-inline: 16px; - align-items: center; - font-size: 15px; - border-radius: 12px; - border: 1px solid #26344d; - background: #1b2436; - color: #fff; - --ant-select-height: 48px; - --ant-select-border-radius: 12px; - --ant-select-border-color: #26344d; - --ant-select-background-color: #1b2436; - --ant-select-color: #fff; - --ant-select-hover-border-color: #3b4d6b; - --ant-select-active-border-color: #2563eb; - --ant-select-active-outline-color: rgba(37, 99, 235, 0.2); -} - -.customer-collect-select.ant-select:hover { - border-color: #3b4d6b; -} - -.customer-collect-select.ant-select.ant-select-focused { - border-color: #2563eb; - box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2); -} - -.customer-collect-select .ant-select-content { - align-items: center; -} - -.customer-collect-select .ant-select-selection-item { - color: #fff; - line-height: 1.5; -} - -.customer-collect-select .ant-select-placeholder { - color: #64748b; -} - -.customer-collect-select .ant-select-suffix { - color: #94a3b8; -} - -.ant-select-dropdown.customer-collect-dropdown { - padding: 6px; - border-radius: 12px; - background: #141d30; - box-shadow: 0 14px 34px rgba(2, 6, 23, 0.55); - --ant-select-option-active-bg: #1b2436; - --ant-select-option-selected-bg: #1e3a8a; - --ant-select-option-selected-color: #fff; -} - -.customer-collect-dropdown .ant-select-item { - border-radius: 8px; - color: #cbd5e1; -} - -.customer-collect-dropdown .ant-select-item-option-active { - background: #1b2436 !important; - color: #fff; -} - -.customer-collect-dropdown .ant-select-item-option-selected { - background: #1e3a8a !important; - color: #fff; - font-weight: 600; -} - -.customer-collect-page .customer-collect-submit.ant-btn, -.customer-auth-profile .customer-collect-submit.ant-btn { - height: 52px; - margin-top: 14px; - border-radius: 14px; - font-size: 17px; - font-weight: 600; - --ant-btn-bg-color: #2563eb; - --ant-btn-bg-color-hover: #1d4ed8; - --ant-btn-bg-color-active: #1e40af; - --ant-btn-text-color: #fff; - --ant-btn-text-color-hover: #fff; - --ant-btn-text-color-active: #fff; - --ant-btn-border-color: #2563eb; - --ant-btn-border-color-hover: #1d4ed8; - --ant-btn-border-color-active: #1e40af; - background: #2563eb !important; - border-color: #2563eb !important; - color: #fff !important; -} - -.customer-collect-page .customer-collect-submit.ant-btn:hover, -.customer-collect-page .customer-collect-submit.ant-btn:focus-visible, -.customer-auth-profile .customer-collect-submit.ant-btn:hover, -.customer-auth-profile .customer-collect-submit.ant-btn:focus-visible { - background: #1d4ed8 !important; - border-color: #1d4ed8 !important; - color: #fff !important; -} - -/* 登录与绑定页(图 2-10) */ -.customer-login-form { - display: flex; - flex-direction: column; - gap: 12px; -} - -.customer-login-hint { - margin: 0 0 2px; - color: #d5dae3; - font-size: 16px; - line-height: 1.5; -} - -.customer-login-mobile-row { - display: flex; - align-items: stretch; - gap: 12px; -} - -.customer-login-mobile.ant-input { - flex: 1; - min-width: 0; - height: 48px; - padding: 0 16px; - border-radius: 8px; - border-color: #3a4150; - background: #1b2130; - color: #fff; - font-size: 15px; -} - -.customer-login-mobile.ant-input::placeholder { - color: #6b7482; -} - -.customer-login-code-button.ant-btn { - flex: none; - width: 118px; - height: 48px; - border-radius: 8px; - background: #3b82f6 !important; - border-color: #3b82f6 !important; - color: #fff !important; - font-size: 16px; -} - -.customer-login-code-input.ant-input { - height: 48px; - border-radius: 8px; - border-color: #3a4150; - background: #1b2130; - color: #fff; - text-align: center; - font-size: 15px; - letter-spacing: 6px; -} - -.customer-login-code-input.ant-input::placeholder { - color: #6b7482; -} - -.customer-login-submit.ant-btn { - height: 52px; - border-radius: 14px; - background: #2563eb !important; - border-color: #2563eb !important; - color: #fff !important; - font-size: 17px; - font-weight: 600; -} - -.customer-login-submit.ant-btn:hover, -.customer-login-submit.ant-btn:focus-visible { - background: #1d4ed8 !important; - border-color: #1d4ed8 !important; - color: #fff !important; -} - -.customer-login-alt.ant-btn { - height: 48px; - border-radius: 8px; - background: transparent !important; - border-color: #3a4150 !important; - color: #cbd5e1 !important; - font-size: 16px; -} - -.customer-order-card { - margin: 10px 16px 0; - padding: 16px; - border: 1px solid #3a4150; - border-radius: 12px; - background: #212733; - display: flex; - flex-direction: column; - gap: 10px; -} - -.customer-order-card h3 { - margin: 0 0 4px; - color: #94a3b8; - font-size: 13px; - font-weight: 500; -} - -.customer-order-card > div { - display: flex; - align-items: flex-start; - justify-content: space-between; - gap: 12px; - color: #cbd5e1; - font-size: 14px; - line-height: 1.5; -} - -.customer-order-card > div > span { - flex: 0 0 auto; - white-space: nowrap; - color: #9aa3b2; -} - -.customer-order-card > div strong { - flex: 1 1 auto; - min-width: 0; - color: #fff; - text-align: right; - overflow-wrap: anywhere; -} - -.customer-order-card > div strong.customer-order-status { - flex: 0 0 auto; - padding: 3px 12px; - border: 1px solid rgba(96, 165, 250, 0.38); - border-radius: 999px; - color: #dbeafe; - font-size: 13px; - font-weight: 600; - text-align: center; - background: rgba(47, 111, 237, 0.28); -} - -.customer-binding-stage { - display: flex; - flex-direction: column; - gap: 14px; - padding: 16px; -} - -.customer-binding-session-card { - display: flex; - flex-direction: column; - gap: 10px; - padding: 18px; - border: 1px solid #78350f; - border-radius: 12px; - background: rgba(120, 53, 15, 0.22); -} - -.customer-binding-session-title { - margin: 0; - color: #fbbf24; - font-size: 16px; - font-weight: 700; -} - -.customer-binding-session-desc { - margin: 0 0 4px; - color: #fcd34d; - font-size: 13px; - line-height: 1.6; -} - -.customer-binding-qr-error { - display: flex; - flex-direction: column; - align-items: center; - gap: 10px; - padding: 24px 12px; - text-align: center; -} - -.customer-binding-qr-error p { - margin: 0; - color: #fca5a5; - font-size: 15px; - font-weight: 600; -} - -.customer-binding-qr-error span { - color: #cbd5e1; - font-size: 13px; - line-height: 1.6; - overflow-wrap: anywhere; -} - -/* antd Alert 在绑定阶段统一走深色卡片,避免浅色块破坏整体深色风格 */ -.customer-binding-stage .ant-alert { - align-items: flex-start; - padding: 12px 14px; - border: 1px solid #3a4150; - border-radius: 12px; - background: #212733; -} - -.customer-binding-stage .ant-alert .ant-alert-message { - color: #e2e8f0; - font-size: 14px; - font-weight: 600; -} - -/* antd v6 的标题节点是 .ant-alert-title(v5 为 .ant-alert-message) */ -.customer-binding-stage .ant-alert .ant-alert-title { - color: #e2e8f0; - font-size: 14px; - font-weight: 600; - line-height: 1.5; -} - -.customer-binding-stage .ant-alert .ant-alert-description { - color: #cbd5e1; - font-size: 13px; - line-height: 1.6; -} - -.customer-binding-stage .ant-alert-warning { - border-color: #78350f; - background: rgba(120, 53, 15, 0.22); -} - -.customer-binding-stage .ant-alert-warning .ant-alert-icon, -.customer-binding-stage .ant-alert-warning .ant-alert-message, -.customer-binding-stage .ant-alert-warning .ant-alert-title { - color: #fbbf24; -} - -.customer-binding-stage .ant-alert-warning .ant-alert-description { - color: #fcd34d; -} - -.customer-binding-stage .ant-alert-error { - border-color: #7f1d1d; - background: rgba(127, 29, 29, 0.24); -} - -.customer-binding-stage .ant-alert-error .ant-alert-icon, -.customer-binding-stage .ant-alert-error .ant-alert-message, -.customer-binding-stage .ant-alert-error .ant-alert-title { - color: #fca5a5; -} - -.customer-binding-stage .ant-alert-error .ant-alert-description { - color: #fecaca; -} - -.customer-binding-stage .ant-alert-success { - border-color: #065f46; - background: rgba(6, 78, 59, 0.28); -} - -.customer-binding-stage .ant-alert-success .ant-alert-icon, -.customer-binding-stage .ant-alert-success .ant-alert-message, -.customer-binding-stage .ant-alert-success .ant-alert-title { - color: #6ee7b7; -} - -.customer-binding-stage .ant-alert-success .ant-alert-description { - color: #a7f3d0; -} - -.customer-binding-role-actions { - display: flex; - flex-direction: column; - gap: 12px; - width: 100%; -} - -.customer-binding-role-actions .customer-binding-confirm.ant-btn { - height: 52px; - border-radius: 14px; - background: #2563eb !important; - border-color: #2563eb !important; - color: #fff !important; - font-size: 17px; - font-weight: 600; -} - -.customer-binding-role-actions .customer-binding-confirm.ant-btn:hover, -.customer-binding-role-actions .customer-binding-confirm.ant-btn:focus-visible { - background: #1d4ed8 !important; - border-color: #1d4ed8 !important; - color: #fff !important; -} - -.customer-binding-role-actions .customer-binding-rebind.ant-btn { - height: 48px; - border-radius: 14px; - background: transparent !important; - border-color: #3a4150 !important; - color: #cbd5e1 !important; - font-size: 16px; - font-weight: 500; -} - -.customer-binding-role-actions .customer-binding-rebind.ant-btn .anticon { - color: #f59e0b; -} - -.customer-binding-role-actions .customer-binding-rebind.ant-btn:hover, -.customer-binding-role-actions .customer-binding-rebind.ant-btn:focus-visible { - background: rgba(245, 158, 11, 0.08) !important; - border-color: #b45309 !important; - color: #fbbf24 !important; -} - -.customer-binding-role-actions .customer-binding-accept.ant-btn { - height: 46px; - border-radius: 12px; - background: transparent !important; - border-color: transparent !important; - color: #94a3b8 !important; - font-size: 15px; - font-weight: 500; -} - -.customer-binding-role-actions .customer-binding-accept.ant-btn:hover, -.customer-binding-role-actions .customer-binding-accept.ant-btn:focus-visible { - background: rgba(148, 163, 184, 0.1) !important; - border-color: transparent !important; - color: #e2e8f0 !important; -} - -.customer-binding-info { - padding: 16px; - border: 1px solid #3a4150; - border-radius: 12px; - background: #212733; - display: flex; - flex-direction: column; - gap: 10px; -} - -.customer-binding-info h3 { - margin: 0 0 4px; - color: #9aa3b2; - font-size: 13px; - font-weight: 500; -} - -.customer-binding-info h3 small { - color: #64748b; - font-weight: 400; -} - -.customer-binding-info > div { - display: flex; - align-items: flex-start; - justify-content: space-between; - gap: 12px; - color: #cbd5e1; - font-size: 14px; - line-height: 1.5; -} - -.customer-binding-info > div > span { - flex: 0 0 auto; - white-space: nowrap; -} - -.customer-binding-info > div strong { - flex: 1 1 auto; - min-width: 0; - color: #fff; - text-align: right; - overflow-wrap: anywhere; -} - -.customer-binding-alert { - padding: 12px 14px; - border-radius: 8px; - border: 1px solid transparent; - font-size: 14px; -} - -.customer-binding-alert.is-warning { - color: #fbbf24; - border-color: #78350f; - background: rgba(120, 53, 15, 0.25); -} - -.customer-binding-alert.is-info { - color: #93c5fd; - border-color: #1e3a8a; - background: rgba(30, 58, 138, 0.3); -} - -.customer-binding-verify { - padding: 18px; - border: 1px solid #3a4150; - border-radius: 12px; - background: transparent; - display: flex; - flex-direction: column; - gap: 16px; - text-align: center; -} - -.customer-binding-verify p { - margin: 0; - color: #e5e7eb; - font-size: 16px; - line-height: 1.6; -} - -.customer-binding-qr-card { - padding: 18px; - border-radius: 12px; - background: #fff; - color: #111827; - display: flex; - flex-direction: column; - align-items: center; - gap: 10px; -} - -.customer-binding-qr-card h3 { - margin: 0; - color: #6b7280; - font-size: 14px; - font-weight: 500; -} - -.customer-binding-qr-hint { - margin: 0; - color: #6b7280; - font-size: 13px; -} - -.customer-binding-qr-tip { - margin: 0; - color: #f59e0b; - font-size: 13px; -} - -.customer-binding-qr-countdown { - margin: 0; - color: #6b7280; - font-size: 13px; -} - -.customer-binding-qr-actions { - width: 100%; - margin-top: 4px; - display: grid; - grid-template-columns: 1fr 1fr; - gap: 10px; -} - -.customer-binding-qr-actions .ant-btn { - height: 40px; - border-radius: 8px; -} - -/* 斗鱼客户领取页沿用后台深色二维码面板,避免大块纯白卡片刺眼。 */ -.customer-auth-page.is-douyu .customer-binding-qr-card { - padding: 18px; - color: var(--auth-text); - border: 1px solid #3a4150; - border-radius: 14px; - background: #202631; - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035); -} - -.customer-auth-page.is-douyu .customer-binding-qr-card h3 { - color: #d7dee9; - font-size: 15px; - font-weight: 600; -} - -.customer-auth-page.is-douyu .customer-binding-qr-code { - width: min(100%, 292px); - aspect-ratio: 1; - display: grid; - place-items: center; - padding: 14px; - overflow: hidden; - border: 1px solid #4a5262; - border-radius: 12px; - background: #e8ebef; - box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22); -} - -.customer-auth-page.is-douyu .customer-binding-qr-code .ant-image, -.customer-auth-page.is-douyu .customer-binding-qr-code img { - width: 100%; - height: 100%; - display: block; - border-radius: 7px; -} - -.customer-auth-page.is-douyu .customer-auth-qr-placeholder { - width: 100%; - min-height: 100%; - color: #8f9aab; - border: 1px dashed #485162; - border-radius: 9px; - background: #171c24; -} - -.customer-auth-page.is-douyu .customer-binding-qr-hint { - max-width: 340px; - color: #b8c1cf; - font-size: 13px; - line-height: 1.6; - text-align: center; -} - -.customer-auth-page.is-douyu .customer-binding-qr-countdown { - color: #cbd5e1; - font-variant-numeric: tabular-nums; -} - -.customer-auth-page.is-douyu .customer-binding-qr-card .ant-progress { - width: min(100%, 292px); -} - -.customer-auth-page.is-douyu .customer-binding-qr-card .ant-progress-inner { - background: #353d4b; -} - -.customer-auth-page.is-douyu .customer-binding-qr-card .ant-progress-bg { - background: #f59e0b; -} - -.customer-auth-page.is-douyu .customer-binding-qr-actions .ant-btn { - color: #e2e8f0; - border-color: #465063; - background: #2a313d; - box-shadow: none; -} - -.customer-auth-page.is-douyu .customer-binding-qr-actions .ant-btn:hover, -.customer-auth-page.is-douyu .customer-binding-qr-actions .ant-btn:focus-visible { - color: #fff; - border-color: #657186; - background: #343c4a; -} - -.customer-auth-page.is-douyu .customer-binding-qr-toggle.ant-btn { - align-self: flex-end; - height: 34px; - padding-inline: 12px; - color: #b8c1cf; - border-color: #3f495a; - border-radius: 8px; - background: transparent; - font-size: 13px; - box-shadow: none; -} - -.customer-auth-page.is-douyu .customer-binding-qr-toggle.ant-btn:hover, -.customer-auth-page.is-douyu .customer-binding-qr-toggle.ant-btn:focus-visible { - color: #fff; - border-color: #64748b; - background: #2a313d; -} - -.customer-auth-page.is-douyu .customer-auth-hero { - min-height: 148px; - align-items: flex-end; - justify-content: center; - padding: 0 16px 18px; - background-color: #111827; - background-image: - linear-gradient(180deg, rgba(11, 18, 32, 0.08) 0%, rgba(11, 18, 32, 0.56) 68%, #232936 100%), - url('/images/customer/inside-kv.jpg'); - background-repeat: no-repeat; - background-position: center 38%; - background-size: cover; -} - -.customer-auth-page.is-douyu .customer-auth-brand { - width: auto; - align-items: flex-end; - justify-content: center; -} - -.customer-auth-page.is-douyu .customer-auth-brand h1 { - font-size: 16px; - line-height: 1.4; - text-align: center; - text-shadow: 0 2px 12px rgba(0, 0, 0, 0.82); -} - -.customer-auth-page.is-douyu .customer-auth-warning { - padding-top: 12px; -} - -.customer-auth-page.is-douyu .customer-order-closed-alert.ant-alert { - align-items: flex-start; - margin: 10px 16px 0; - padding: 12px 14px; - color: #f6c66f; - border: 1px solid #6b4d1f; - border-radius: 10px; - background: #2a2418; -} - -.customer-auth-page.is-douyu .customer-order-closed-alert .ant-alert-icon { - margin-top: 2px; - color: #f6ad3c; - font-size: 16px; -} - -.customer-auth-page.is-douyu .customer-order-closed-alert .ant-alert-message, -.customer-auth-page.is-douyu .customer-order-closed-alert .ant-alert-title { - color: #f7d394; - font-size: 14px; - font-weight: 600; - line-height: 1.4; -} - -.customer-auth-page.is-douyu .customer-order-closed-alert .ant-alert-description { - margin-top: 3px; - color: #d8c39b; - font-size: 13px; - line-height: 1.5; -} - -.customer-auth-page.is-douyu .customer-douyu-order-card { - padding: 0; - overflow: hidden; - gap: 0; - border-radius: 12px; - background: #202631; -} - -.customer-auth-page.is-douyu .customer-douyu-order-head { - align-items: center; - gap: 12px; - padding: 13px 16px; - border-bottom: 1px solid #343d4c; -} - -.customer-auth-page.is-douyu .customer-douyu-order-head h3 { - margin: 0; - color: #9aa3b2; - font-size: 13px; - font-weight: 600; -} - -.customer-auth-page.is-douyu .customer-douyu-order-field { - display: grid; - grid-template-columns: 72px minmax(0, 1fr); - align-items: start; - gap: 12px; - padding: 11px 16px; - border-bottom: 1px solid #343d4c; -} - -.customer-auth-page.is-douyu .customer-douyu-order-field:last-child { - border-bottom: 0; -} - -.customer-auth-page.is-douyu .customer-douyu-order-field > span { - color: #8f9aaa; - font-size: 13px; - line-height: 1.5; -} - -.customer-auth-page.is-douyu .customer-douyu-order-field > strong { - min-width: 0; - color: #f1f5f9; - font-size: 14px; - font-weight: 600; - line-height: 1.5; - text-align: right; - overflow-wrap: anywhere; -} - -.customer-auth-page.is-douyu .customer-douyu-order-status { - flex: 0 0 auto; - padding: 2px 10px; - border-color: rgba(96, 165, 250, 0.36); - color: #dbeafe; - font-size: 12px; - font-weight: 600; - background: rgba(47, 111, 237, 0.22); -} - -.customer-auth-page.is-douyu .customer-douyu-order-status.is-cancelled { - border-color: rgba(245, 158, 11, 0.38); - color: #f8d28a; - background: rgba(245, 158, 11, 0.14); -} - -.customer-auth-page.is-douyu .customer-douyu-order-status.is-completed { - border-color: rgba(52, 211, 153, 0.38); - color: #a7f3d0; - background: rgba(6, 95, 70, 0.24); -} - -.customer-auth-page.is-douyu .customer-douyu-order-status.is-failed { - border-color: rgba(248, 113, 113, 0.38); - color: #fecaca; - background: rgba(127, 29, 29, 0.24); -} - -.customer-douyu-qr-main { - width: 100%; - display: grid; - grid-template-columns: 30px minmax(0, 220px) 30px; - align-items: stretch; - justify-content: center; - gap: 7px; -} - -.customer-douyu-qr-rail { - display: flex; - align-items: center; - justify-content: center; - min-height: 0; - padding: 0; - color: #ff5a67; - font-size: 12px; - font-weight: 800; - line-height: 1.05; - letter-spacing: 1px; - text-align: center; - writing-mode: vertical-rl; - text-orientation: upright; - background: none; -} - -.customer-auth-page.is-douyu .customer-douyu-qr-main .customer-binding-qr-code { - width: 100%; - max-width: none; - padding: 10px; -} - -.customer-auth-page.is-douyu .customer-douyu-qr-preparing { - position: relative; - width: 100%; - height: 100%; - min-height: 100%; - display: grid; - place-items: center; - overflow: hidden; - border-radius: 7px; - background: #171c24; -} - -.customer-auth-page.is-douyu .customer-douyu-qr-skeleton { - position: absolute; - inset: 18px; - opacity: 0.16; - background-image: - linear-gradient(90deg, #9fb1ca 50%, transparent 50%), - linear-gradient(#9fb1ca 50%, transparent 50%); - background-position: - 0 0, - 0 0; - background-size: - 18px 18px, - 18px 18px; - -webkit-mask-image: linear-gradient(135deg, #000 12%, transparent 82%); - mask-image: linear-gradient(135deg, #000 12%, transparent 82%); -} - -.customer-auth-page.is-douyu .customer-douyu-qr-preparing-copy { - position: relative; - z-index: 1; - display: flex; - flex-direction: column; - align-items: center; - gap: 8px; - color: #b8c1cf; - text-align: center; -} - -.customer-auth-page.is-douyu .customer-douyu-qr-preparing-copy strong { - color: #e2e8f0; - font-size: 14px; - font-weight: 600; -} - -.customer-auth-page.is-douyu .customer-douyu-qr-preparing-copy span { - color: #8f9aaa; - font-size: 12px; -} - -.customer-auth-page.is-douyu .customer-douyu-preparing-button.ant-btn { - color: #e2e8f0; - border-color: #465063; - background: #2a313d; - box-shadow: none; -} - -.customer-auth-page.is-douyu .customer-douyu-preparing-button.ant-btn:hover, -.customer-auth-page.is-douyu .customer-douyu-preparing-button.ant-btn:focus-visible { - color: #fff; - border-color: #657186; - background: #343c4a; -} - -.customer-auth-page.is-douyu .customer-binding-qr-actions.is-single { - grid-template-columns: minmax(0, 1fr); -} - -.customer-auth-page.is-douyu .customer-binding-qr-actions .ant-btn:disabled { - color: #7d8797; - border-color: #394353; - background: #252c37; - opacity: 1; -} - -.customer-auth-page.is-douyu .customer-binding-qr-countdown.is-expired { - color: #ff7a84; - font-weight: 700; -} - -.customer-auth-page.is-douyu .customer-douyu-qr-refresh-note { - margin: -2px 0 0; - color: #8f9aaa; - font-size: 11px; - line-height: 1.4; - text-align: center; -} - -.customer-auth-page.is-douyu .customer-douyu-binding-alert.is-wechat { - border-color: rgba(248, 113, 113, 0.34); - background: linear-gradient(135deg, rgba(127, 29, 29, 0.26), rgba(32, 38, 49, 0.9)); -} - -.customer-auth-page.is-douyu .customer-douyu-binding-alert.is-wechat .ant-alert-icon, -.customer-auth-page.is-douyu .customer-douyu-binding-alert.is-wechat .ant-alert-message, -.customer-auth-page.is-douyu .customer-douyu-binding-alert.is-wechat .ant-alert-title { - color: #ff8a92; -} - -.customer-douyu-binding-failure { - display: flex; - flex-direction: column; - gap: 10px; -} - -.customer-douyu-binding-failure > p { - margin: 0; - padding: 12px 14px; - color: #fecaca; - font-size: 13px; - line-height: 1.6; - text-align: center; - border: 1px solid rgba(248, 113, 113, 0.3); - border-radius: 10px; - background: rgba(127, 29, 29, 0.18); -} - -.customer-auth-page.is-douyu.is-compact { - height: 100vh; - height: 100dvh; - min-height: 0; - overflow: hidden; -} - -.customer-auth-page.is-douyu.is-compact .customer-auth-shell { - height: 100%; - display: flex; - flex-direction: column; -} - -.customer-auth-page.is-douyu.is-compact .customer-auth-hero { - min-height: 148px; - padding: 0 16px 18px; - background-position: center 34%; -} - -.customer-auth-page.is-douyu.is-compact .customer-auth-warning { - padding: 8px 16px 12px; - font-size: 14px; -} - -.customer-auth-page.is-douyu.is-compact .customer-auth-main { - display: flex; - flex-direction: column; - flex: 1 1 auto; - min-height: 0; - padding-bottom: 0; - overflow: hidden; -} - -.customer-auth-page.is-douyu.is-compact .customer-douyu-order-card { - flex: none; - margin: 10px 16px 0; -} - -.customer-auth-page.is-douyu.is-compact .customer-douyu-order-head { - padding: 13px 16px; -} - -.customer-auth-page.is-douyu.is-compact .customer-douyu-order-field { - grid-template-columns: 72px minmax(0, 1fr); - gap: 12px; - padding: 11px 16px; -} - -.customer-auth-page.is-douyu.is-compact .customer-douyu-order-field > span, -.customer-auth-page.is-douyu.is-compact .customer-douyu-order-field > strong { - font-size: 14px; - line-height: 1.5; -} - -.customer-auth-page.is-douyu.is-compact .customer-binding-stage { - flex: 1 1 auto; - min-height: 0; - justify-content: center; - gap: 14px; - padding: 16px; -} - -.customer-auth-page.is-douyu.is-compact .customer-binding-stage .ant-alert { - flex: none; - padding: 12px 14px; -} - -.customer-auth-page.is-douyu.is-compact .customer-binding-stage .ant-alert-description { - margin-top: 4px; - font-size: 13px; - line-height: 1.6; -} - -.customer-auth-page.is-douyu.is-compact .customer-binding-qr-card { - flex: 0 1 auto; - justify-content: center; - gap: 10px; - padding: 18px; -} - -.customer-auth-page.is-douyu.is-compact .customer-binding-qr-card h3 { - font-size: 15px; -} - -.customer-auth-page.is-douyu.is-compact .customer-binding-qr-hint { - font-size: 13px; - line-height: 1.6; -} - -.customer-auth-page.is-douyu.is-compact .customer-binding-qr-countdown { - font-size: 13px; -} - -.customer-auth-page.is-douyu.is-compact .customer-binding-qr-card .ant-progress { - line-height: 1.5; -} - -.customer-auth-page.is-douyu.is-compact .customer-binding-qr-actions { - margin-top: 4px; -} - -.customer-auth-page.is-douyu.is-compact .customer-binding-qr-actions .ant-btn { - height: 40px; - font-size: 14px; -} - -@media (max-height: 720px) { - .customer-auth-page.is-douyu.is-compact .customer-auth-hero { - min-height: 60px; - padding-bottom: 6px; - } - - .customer-auth-page.is-douyu.is-compact .customer-auth-warning { - padding-block: 1px 4px; - font-size: 11px; - } - - .customer-auth-page.is-douyu.is-compact .customer-douyu-order-head { - padding-block: 6px; - } - - .customer-auth-page.is-douyu.is-compact .customer-douyu-order-field { - padding-block: 5px; - } - - .customer-auth-page.is-douyu.is-compact .customer-binding-stage { - justify-content: flex-start; - gap: 6px; - padding-block: 6px; - } - - .customer-auth-page.is-douyu.is-compact .customer-binding-stage .ant-alert-description { - display: none; - } - - .customer-auth-page.is-douyu.is-compact .customer-binding-qr-card { - gap: 4px; - padding-block: 7px; - } - - .customer-auth-page.is-douyu.is-compact .customer-douyu-qr-main { - grid-template-columns: 26px minmax(0, clamp(154px, 30dvh, 190px)) 26px; - gap: 5px; - } - - .customer-auth-page.is-douyu.is-compact .customer-douyu-qr-rail { - font-size: 10px; - } -} - -.customer-choice-switch { - display: grid; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 3px; - padding: 3px; - overflow: hidden; - border: 1px solid #354052; - border-radius: 10px; - background: #171d27; -} - -.customer-choice-option { - height: 42px; - min-width: 0; - padding: 0 10px; - color: #aeb8c8; - border: 0; - border-radius: 8px; - outline: none; - background: transparent; - font: inherit; - font-size: 14px; - cursor: pointer; - transition: color 100ms ease; -} - -.customer-choice-option:hover { - color: #e2e8f0; - background: #242c39; -} - -.customer-choice-option.is-selected { - color: #fff; - background: #2f6fed; - font-weight: 700; -} - -.customer-choice-option:focus-visible { - outline: 2px solid #60a5fa; - outline-offset: 2px; -} - -.customer-auth-page.is-douyu .customer-collect-submit.ant-btn { - height: 48px; - margin-top: 14px; - color: #fff !important; - border-color: #2f6fed !important; - border-radius: 10px; - background: #2f6fed !important; - font-size: 15px; - font-weight: 700; -} - -.customer-auth-page.is-douyu .customer-collect-submit.ant-btn:hover, -.customer-auth-page.is-douyu .customer-collect-submit.ant-btn:focus-visible { - color: #fff !important; - border-color: #4a83ff !important; - background: #4a83ff !important; -} - -.customer-binding-next.ant-btn { - width: 100%; - height: 52px; - margin-top: 6px; - border-radius: 14px; - background: #2563eb !important; - border-color: #2563eb !important; - color: #fff !important; - font-size: 17px; - font-weight: 600; -} - -.customer-binding-modal-footer { - display: flex; - flex-direction: column; - gap: 10px; -} - -.customer-binding-modal-actions { - display: grid; - grid-template-columns: 1fr 1fr; - gap: 12px; -} - -.customer-binding-modal-actions .ant-btn { - height: 42px; - border-radius: 8px; -} - -.customer-binding-modal-actions.is-mismatch { - grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); -} - -.customer-binding-modal-error { - margin: 0; - color: #dc2626; - font-size: 13px; - text-align: center; -} - -.customer-binding-modal-warning { - margin: 0; - color: #d97706; - font-size: 13px; - text-align: center; -} - -.customer-binding-compare { - display: grid; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 12px; -} - -.customer-binding-compare-side { - display: flex; - flex-direction: column; - gap: 6px; - padding: 14px; - border: 1px solid rgba(15, 23, 42, 0.12); - border-radius: 6px; - background: rgba(15, 23, 42, 0.04); -} - -.customer-binding-compare-head { - display: flex; - align-items: center; - justify-content: space-between; - gap: 8px; - color: #64748b; - font-size: 13px; -} - -.customer-binding-compare-side strong { - color: #0f172a; - font-size: 16px; - word-break: break-all; -} - -.customer-binding-compare-side em { - color: #64748b; - font-style: normal; - font-size: 13px; -} - -@media (max-width: 480px) { - .customer-binding-compare { - grid-template-columns: minmax(0, 1fr); - } -} - -.customer-auth-button-stack { - width: min(100%, 580px); - display: flex; - flex-direction: column; - gap: 12px; -} - -.customer-auth-button-stack .ant-btn, -.customer-auth-form > .ant-btn { - height: 52px; - font-size: 17px; -} - -.customer-auth-status-pill { - display: inline-flex; - align-items: center; - justify-content: center; - min-height: 34px; - padding: 4px 15px; - color: #fff; - font-size: 15px !important; - font-weight: 600 !important; - text-align: center; - border-radius: 999px; - background: #3169aa; -} - -.customer-auth-status-pill.is-pending, -.customer-auth-status-pill.is-scanned { - background: #3a6fa8; -} - -.customer-auth-status-pill.is-success { - background: #237a57; -} - -.customer-auth-status-pill.is-danger { - background: #a33a48; -} - -.customer-auth-state { - display: flex; - flex-direction: column; - align-items: center; - gap: 12px; - padding: 48px 26px; - text-align: center; -} - -.customer-auth-state h2 { - margin: 0; -} - -.customer-auth-state p { - max-width: 560px; -} - -.customer-auth-state-icon { - width: 58px; - height: 58px; - display: grid; - place-items: center; - color: var(--auth-accent); - font-size: 29px; - border: 1px solid rgba(255, 255, 255, 0.16); - border-radius: 50%; - background: rgba(255, 255, 255, 0.045); -} - -.customer-auth-state.is-success .customer-auth-state-icon { - color: #52d39a; -} - -.customer-auth-state.is-error .customer-auth-state-icon { - color: #ff6975; -} - -.customer-auth-state-time { - color: var(--auth-muted); - font-size: 12px; -} - -.customer-auth-loading { - min-height: 240px; - display: grid; - place-items: center; - align-content: center; - gap: 14px; - color: var(--auth-muted); -} - -.customer-auth-privacy { - margin: 24px 26px 28px; - padding: 14px 18px; - color: #d8b46a; - font-size: 14px; - line-height: 1.65; - text-align: center; - border: 1px solid rgba(216, 180, 106, 0.64); - border-radius: 5px; - background: rgba(0, 0, 0, 0.08); -} - -.customer-auth-page .ant-spin-dot-item { - background: var(--auth-accent); -} - -@media (max-width: 640px) { - .customer-auth-page { - height: auto; - min-height: 100vh; - overflow: visible; - padding: 0; - background: var(--auth-panel); - } - - .customer-auth-shell { - width: 100%; - height: auto; - display: block; - border: 0; - border-radius: 0; - box-shadow: none; - } - - .customer-auth-hero { - min-height: auto; - padding: 38px 16px 10px; - background: none; - } - - .customer-auth-brand h1 { - font-size: 20px; - } - - .customer-auth-warning { - padding: 6px 16px 10px; - font-size: 14px; - } - - .customer-auth-main { - overflow: visible; - } - - .customer-auth-content-stack { - height: auto; - min-height: 0; - } - - .customer-auth-facts { - padding-inline: 20px; - } - - .customer-auth-facts > div { - grid-template-columns: 92px minmax(0, 1fr); - gap: 12px; - min-height: 52px; - padding-block: 8px; - } - - .customer-auth-facts > div > span { - font-size: 13px; - } - - .customer-auth-facts > div > strong { - font-size: 15px; - line-height: 1.35; - } - - .customer-auth-section { - padding: 16px; - } - - .customer-auth-section-copy h2, - .customer-auth-state h2 { - font-size: 20px; - } - - .customer-auth-section-copy p, - .customer-auth-state p, - .customer-auth-form-copy { - font-size: 13px; - line-height: 1.5; - } - - .customer-auth-tabs { - margin-top: 0; - } - - .customer-auth-tabs .ant-tabs-nav { - margin-bottom: 10px; - } - - .customer-auth-tabs .ant-tabs-nav-list { - gap: 4px; - padding: 4px; - } - - .customer-auth-tabs .ant-tabs-tab { - padding: 9px 14px; - } - - .customer-auth-tabs .ant-tabs-tab-btn { - font-size: 15px; - } - - .customer-auth-form { - gap: 10px; - padding-top: 0; - } - - .customer-auth-field { - min-height: 44px; - border-radius: 9px; - } - - .customer-auth-phone-field { - grid-template-columns: 50px minmax(0, 1fr) 104px; - } - - .customer-auth-code-field { - grid-template-columns: minmax(0, 1fr) 104px; - } - - .customer-auth-field .ant-select, - .customer-auth-field .ant-select-selector, - .customer-auth-field .ant-input, - .customer-auth-field .ant-input-affix-wrapper { - height: 44px; - } - - .customer-auth-field .ant-select-selection-item { - line-height: 42px !important; - } - - .customer-auth-field .ant-input-affix-wrapper { - padding-inline: 12px; - } - - .customer-auth-code-field { - padding: 4px; - } - - .customer-auth-code-submit { - height: 36px !important; - } - - .customer-auth-send-code { - height: 36px !important; - } - - .customer-auth-form-hint { - font-size: 10px; - line-height: 1.35; - } - - .customer-auth-qr-image, - .customer-auth-qr-placeholder { - width: 232px; - min-height: 232px; - } - - .customer-auth-privacy { - margin: 8px 16px 12px; - padding: 8px 12px; - font-size: 12px; - line-height: 1.45; - } -} +@import './client/claim.css'; +@import './client/collect.css'; +@import './client/redeem.css'; +@import './client/responsive.css'; diff --git a/apps/frontend/src/styles/client/claim.css b/apps/frontend/src/styles/client/claim.css new file mode 100644 index 00000000..c70912f1 --- /dev/null +++ b/apps/frontend/src/styles/client/claim.css @@ -0,0 +1,462 @@ +/* ========================================================================== + 买家前台:提卡与信息收集页 (Buyer Claim & Collect Pages) + ========================================================================== */ + +.claim-page { + min-height: 100vh; + padding: 24px; + background: linear-gradient(180deg, #f8fafc 0%, #eef4fb 100%); + display: flex; + flex-direction: column; + align-items: center; + gap: 18px; +} + +.claim-header-card, +.claim-content-card { + width: min(680px, 100%); + border-color: rgba(148, 163, 184, 0.18); + box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08); +} + +.claim-header-card { + position: relative; +} + +.claim-header-card .ant-card-body, +.claim-content-card .ant-card-body { + display: flex; + flex-direction: column; + gap: 18px; +} + +.claim-header-copy { + min-width: 0; + padding-right: 220px; +} + +.claim-header-copy h1 { + margin: 0; + color: #0f172a; + font-size: 30px; + line-height: 1.25; + overflow-wrap: anywhere; +} + +.claim-header-copy p, +.claim-muted { + margin: 0; + color: #64748b; + line-height: 1.6; +} + +.claim-step-indicator { + position: absolute; + top: 24px; + right: 24px; + max-width: 210px; + display: flex; + flex-direction: column; + align-items: flex-end; + gap: 7px; +} + +.claim-step-dots { + display: flex; + gap: 8px; +} + +.claim-step-dot { + width: 32px; + height: 32px; + border-radius: 50%; + background: #e5e7eb; + color: #94a3b8; + display: inline-flex; + align-items: center; + justify-content: center; + font-weight: 700; +} + +.claim-step-dot.active { + background: var(--theme-primary); + color: #ffffff; +} + +.claim-step-progress-text { + color: #64748b; + font-size: 13px; + font-weight: 700; + line-height: 1.4; + text-align: right; + overflow-wrap: anywhere; +} + +.claim-content-card .ant-typography { + margin: 0; +} + +.claim-state-card .ant-card-body { + min-height: 240px; + align-items: center; + justify-content: center; + text-align: center; +} + +.claim-large-icon { + font-size: 44px; +} + +.claim-icon-success { + color: #16a34a; +} + +.claim-icon-warning { + color: #d97706; +} + +.claim-icon-info { + color: var(--theme-primary); +} + +.claim-icon-error { + color: #dc2626; +} + +.claim-qr-block { + display: flex; + flex-direction: column; + align-items: center; + gap: 14px; + padding: 14px; + border-radius: 8px; + background: #f8fbff; + border: 1px solid #dbeafe; +} + +.claim-qr-guide-panel { + display: grid; + grid-template-columns: 42px minmax(0, 280px) 42px; + grid-template-areas: + 'left code right' + '. hint .'; + gap: 10px; + align-items: center; + justify-content: center; + width: 100%; + max-width: 410px; + min-width: 0; +} + +.claim-scan-label { + align-self: stretch; + min-height: 150px; + padding: 10px 6px; + color: #e11d48; + font-weight: 900; + font-size: 17px; + line-height: 1.2; + writing-mode: vertical-rl; + text-orientation: upright; + display: flex; + align-items: center; + justify-content: center; +} + +.claim-scan-label-left { + grid-area: left; +} + +.claim-scan-label-right { + grid-area: right; +} + +.claim-qr-code { + grid-area: code; + width: 100%; + max-width: 280px; + aspect-ratio: 1 / 1; + padding: 10px; + background: #ffffff; + border-radius: 8px; + border: 1px solid #dbeafe; +} + +.claim-save-hint { + grid-area: hint; + margin: 0; + justify-self: center; + color: #64748b; + font-size: 14px; + font-weight: 700; + line-height: 1.4; + text-align: center; +} + +.claim-role-panel { + display: grid; + grid-template-columns: 1fr; + gap: 8px; +} + +.claim-role-panel.pending { + opacity: 0.82; +} + +.claim-role-panel-item { + min-width: 0; + display: grid; + grid-template-columns: 88px minmax(0, 1fr); + align-items: center; + gap: 12px; +} + +.claim-role-panel-item span { + color: #64748b; + font-size: 13px; + line-height: 1.4; + white-space: nowrap; +} + +.claim-role-panel-item strong { + min-width: 0; + color: #0f172a; + font-size: 17px; + line-height: 1.45; + overflow-wrap: anywhere; +} + +.claim-action-row { + width: 100%; +} + +.claim-action-tooltip-wrap { + display: inline-flex; +} + +.claim-meta-footer { + display: flex; + flex-wrap: wrap; + gap: 4px 10px; + justify-content: center; + color: #94a3b8; + font-size: 11px; + line-height: 1.5; +} + +.claim-info-grid { + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 14px; +} + +.claim-info-grid-compact { + gap: 8px; + margin-bottom: 10px; +} + +.claim-info-grid-compact .claim-info-item { + padding: 8px 10px; + gap: 2px; + border-radius: 6px; +} + +.claim-info-grid-compact .claim-info-item span { + font-size: 11px; + line-height: 1.3; +} + +.claim-info-grid-compact .claim-info-item strong { + font-size: 13px; + line-height: 1.35; + font-weight: 600; +} + +.claim-uid-step .ant-card-body { + gap: 10px; +} + +.claim-uid-step-title.ant-typography { + margin: 0 !important; + font-size: 20px !important; + line-height: 1.3 !important; +} + +.claim-uid-step-desc { + font-size: 13px; + line-height: 1.45; +} + +.claim-uid-guide { + margin: 4px 0 0; + padding: 6px; + border-radius: 8px; + background: #f8fafc; + border: 1px solid #e5e7eb; +} + +.claim-uid-guide-image { + display: block; + width: 100%; + max-width: 360px; + max-height: 160px; + margin: 0 auto; + border-radius: 6px; + border: 1px solid #e2e8f0; + object-fit: contain; + background: #fff; +} + +.claim-uid-guide-caption { + margin: 6px 0 0; + text-align: center; + color: #64748b; + font-size: 12px; + line-height: 1.35; +} + +.claim-uid-warning { + margin: 2px 0 0; + color: #ff4d4f; + font-size: 13px; + font-weight: 600; + line-height: 1.45; +} + +.claim-info-item { + min-width: 0; + padding: 16px; + border-radius: 6px; + background: #f8fafc; + border: 1px solid #e5e7eb; + display: flex; + flex-direction: column; + gap: 6px; +} + +.claim-info-item span { + color: #64748b; + font-size: 13px; +} + +.claim-info-item strong { + color: #0f172a; + font-size: 17px; + overflow-wrap: anywhere; +} + +.claim-result-header { + display: flex; + align-items: flex-start; + gap: 14px; +} + +.claim-feifei-main { + display: grid; + gap: 8px; +} + +.claim-feifei-main p { + margin: 0; + color: var(--theme-primary); + font-weight: 700; +} + +.claim-feifei-label { + color: #64748b; + font-size: 13px; +} + +.claim-product-items { + display: flex; + flex-direction: column; + gap: 10px; +} + +.claim-product-items-header { + display: flex; + align-items: center; + justify-content: space-between; + gap: 12px; + color: #64748b; + font-size: 13px; +} + +.claim-product-items-header strong { + color: var(--theme-primary); + font-weight: 700; +} + +.claim-product-items-list { + display: flex; + flex-direction: column; + gap: 8px; +} + +.claim-product-item-row { + min-height: 44px; + padding: 10px 12px; + border: 1px solid #e5e7eb; + border-radius: 6px; + background: #f8fafc; + display: flex; + align-items: center; + justify-content: space-between; + gap: 12px; +} + +.claim-product-item-row span { + min-width: 0; + color: #0f172a; + font-weight: 700; + line-height: 1.35; + overflow-wrap: anywhere; +} + +.claim-product-item-row strong { + flex: 0 0 auto; + color: #0f172a; + font-size: 15px; +} + +.claim-product-items.compact { + margin-top: 10px; + gap: 8px; +} + +.claim-product-items.compact .claim-product-items-list { + gap: 6px; +} + +.claim-product-items.compact .claim-product-item-row { + min-height: 36px; + padding: 8px 10px; + background: rgba(248, 250, 252, 0.72); +} + +/* 待领取物品图:居中大图;imageUrl 为空或加载失败时是同一尺寸的虚线占位块(不会出现破图) */ + +.claim-product-image-wrap { + display: flex; + justify-content: center; +} + +.claim-product-image { + width: min(160px, 48%); + aspect-ratio: 1 / 1; + border-radius: 16px; + object-fit: contain; + background: #f8fafc; + padding: 8px; + border: 1px solid rgba(148, 163, 184, 0.24); + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); +} + +.claim-product-image-fallback { + display: flex; + align-items: center; + justify-content: center; + font-size: 46px; + color: rgba(100, 116, 139, 0.55); + border-style: dashed; +} diff --git a/apps/frontend/src/styles/client/collect.css b/apps/frontend/src/styles/client/collect.css new file mode 100644 index 00000000..c0cbe4e2 --- /dev/null +++ b/apps/frontend/src/styles/client/collect.css @@ -0,0 +1,770 @@ +/* ===== 收集页 (Collect Page) ===== */ + +.collect-page { + min-height: 100vh; + display: grid; + place-items: center; + padding: 32px 16px; + background: #f5f7fb; +} + +.collect-card { + width: min(520px, 100%); +} + +.collect-order-input { + flex: 1; + margin-bottom: 0; +} + +/* ===== 一次性补资料链接页 (Collect Material Link) ===== */ + +.collect-link-page { + min-height: 100vh; + padding: 32px 16px; + background: #f5f7fb; + display: flex; + justify-content: center; + align-items: flex-start; +} + +.collect-link-card { + width: min(720px, 100%); +} + +.collect-link-card .ant-card-body { + padding: 28px; +} + +/* 一单多工单时,内层商品卡片比外层容器更紧凑 */ +.collect-link-order-card .ant-card-body { + padding: 16px; +} + +.collect-link-status-card { + background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%); +} + +.collect-link-status-card .ant-card-body { + padding: 16px; +} + +.collect-link-status-head { + display: flex; + align-items: center; + justify-content: space-between; + flex-wrap: wrap; + gap: 8px; + color: #0f172a; + font-size: 15px; +} + +.collect-link-status-head .ant-tag { + margin-inline-end: 0; +} + +.collect-link-order-meta { + display: flex; + flex-wrap: wrap; + gap: 4px 18px; + color: #64748b; + font-size: 13px; +} + +.collect-link-order-meta strong { + color: #0f172a; + font-weight: 600; +} + +.collect-link-description { + margin-top: 6px; + font-size: 12px; +} + +.collect-link-submitted { + display: grid; + gap: 10px; + padding: 12px; + background: #f8fafc; + border: 1px solid #e7edf5; + border-radius: 10px; +} + +.collect-link-submitted-head { + display: flex; + flex-wrap: wrap; + align-items: flex-start; + justify-content: space-between; + gap: 5px 14px; +} + +.collect-link-submitted-head > span { + display: grid; + gap: 1px; +} + +.collect-link-submitted-head .ant-typography:last-child { + font-size: 11px; +} + +.collect-link-submitted-head > .ant-typography { + font-size: 11px; +} + +.collect-link-submitted-fields { + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 7px; +} + +.collect-link-submitted-fields > div { + display: grid; + gap: 2px; + min-width: 0; + padding: 8px 10px; + background: #ffffff; + border: 1px solid #edf1f6; + border-radius: 8px; +} + +.collect-link-submitted-fields span, +.collect-link-submitted-screenshots > span { + color: #94a3b8; + font-size: 11px; +} + +.collect-link-submitted-fields strong { + color: #1e293b; + font-size: 13px; + font-weight: 500; + line-height: 1.5; + white-space: pre-wrap; + overflow-wrap: anywhere; +} + +.collect-link-submitted-screenshots { + display: grid; + gap: 7px; +} + +.collect-link-submitted-screenshots > div { + display: flex; + flex-wrap: wrap; + gap: 8px; +} + +.collect-link-submitted-screenshots .ant-image { + overflow: hidden; + border: 1px solid #dbe3ee; + border-radius: 8px; +} + +.collect-link-submitted-screenshots .ant-image-img { + object-fit: cover; +} + +.collect-link-current-status { + display: grid; + grid-template-columns: auto minmax(0, 1fr); + gap: 12px; + align-items: flex-start; + padding: 13px; + color: #475569; + background: #f8fafc; + border: 1px solid #e8edf4; + border-left: 4px solid #94a3b8; + border-radius: 9px; +} + +.collect-link-current-status-index { + display: inline-flex; + align-items: center; + justify-content: center; + width: 30px; + height: 30px; + color: #ffffff; + font-size: 13px; + font-weight: 700; + background: #64748b; + border-radius: 999px; +} + +.collect-link-current-status-copy { + display: grid; + gap: 5px; + min-width: 0; +} + +.collect-link-current-status-copy > div { + display: flex; + flex-wrap: wrap; + gap: 3px 12px; + align-items: baseline; + justify-content: space-between; +} + +.collect-link-current-status-copy > div .ant-typography:last-child { + font-size: 11px; +} + +.collect-link-current-status-copy p { + margin: 0; + color: inherit; + font-size: 13px; + line-height: 1.7; + white-space: pre-wrap; + overflow-wrap: anywhere; +} + +.collect-link-current-status.is-open, +.collect-link-current-status.is-pending_material { + color: #8a4b00; + background: #fffaf0; + border-color: #ffe7ba; + border-left-color: #faad14; +} + +.collect-link-current-status.is-open .collect-link-current-status-index, +.collect-link-current-status.is-pending_material .collect-link-current-status-index { + background: #faad14; +} + +.collect-link-current-status.is-in_progress, +.collect-link-current-status.is-unassigned { + color: #0958d9; + background: #f0f7ff; + border-color: #d6e8ff; + border-left-color: #1677ff; +} + +.collect-link-current-status.is-in_progress .collect-link-current-status-index, +.collect-link-current-status.is-unassigned .collect-link-current-status-index { + background: #1677ff; +} + +.collect-link-current-status.is-pending_acceptance { + color: #531dab; + background: #f9f0ff; + border-color: #efdbff; + border-left-color: #722ed1; +} + +.collect-link-current-status.is-pending_acceptance .collect-link-current-status-index { + background: #722ed1; +} + +.collect-link-current-status.is-accepted { + color: #237804; + background: #f6ffed; + border-color: #d9f7be; + border-left-color: #52c41a; +} + +.collect-link-current-status.is-accepted .collect-link-current-status-index { + background: #52c41a; +} + +.collect-link-current-status.is-problem { + color: #a8071a; + background: #fff1f0; + border-color: #ffccc7; + border-left-color: #ff4d4f; +} + +.collect-link-current-status.is-problem .collect-link-current-status-index { + background: #ff4d4f; +} + +.collect-link-status-message { + padding: 10px 12px; + color: #475569; + font-size: 13px; + line-height: 1.65; + background: #f8fafc; + border-left: 3px solid #94a3b8; + border-radius: 0 8px 8px 0; +} + +.collect-link-status-message.is-open, +.collect-link-status-message.is-pending_material { + color: #8a4b00; + background: #fffaf0; + border-left-color: #faad14; +} + +.collect-link-status-message.is-in_progress, +.collect-link-status-message.is-unassigned { + color: #0958d9; + background: #f0f7ff; + border-left-color: #1677ff; +} + +.collect-link-status-message.is-pending_acceptance { + color: #531dab; + background: #f9f0ff; + border-left-color: #722ed1; +} + +.collect-link-status-message.is-accepted { + color: #237804; + background: #f6ffed; + border-left-color: #52c41a; +} + +.collect-link-status-message.is-problem { + color: #a8071a; + background: #fff1f0; + border-left-color: #ff4d4f; +} + +.collect-link-status-times { + display: flex; + flex-wrap: wrap; + gap: 4px 18px; + color: #94a3b8; + font-size: 12px; +} + +.collect-link-acceptance { + display: grid; + gap: 10px; + padding-top: 12px; + border-top: 1px solid #eef2f7; +} + +.collect-link-acceptance > div:first-child { + display: flex; + align-items: baseline; + justify-content: space-between; + flex-wrap: wrap; + gap: 4px 12px; +} + +.collect-link-acceptance > div:first-child .ant-typography:last-child { + font-size: 12px; +} + +.collect-link-acceptance-images { + display: flex; + flex-wrap: wrap; + gap: 10px; +} + +.collect-link-acceptance-images .ant-image { + overflow: hidden; + border: 1px solid #dbe3ee; + border-radius: 9px; +} + +.collect-link-acceptance-images .ant-image-img { + object-fit: cover; +} + +.collect-link-acceptance-video { + display: grid; + gap: 8px; +} + +.collect-link-acceptance-video video { + width: min(100%, 520px); + max-height: 360px; + background: #0f172a; + border: 1px solid #dbe3ee; + border-radius: 10px; +} + +.collect-link-acceptance-video > div { + display: flex; + flex-wrap: wrap; + gap: 4px 14px; + align-items: center; + justify-content: space-between; + font-size: 12px; +} + +.collect-link-acceptance-video a { + color: #1677ff; +} + +.collect-link-title { + margin: 0 0 4px !important; +} + +.collect-link-heading { + display: flex; + align-items: flex-start; + justify-content: space-between; + gap: 12px; +} + +.collect-link-confirm { + display: grid; + gap: 12px; + max-height: 58vh; + padding-top: 4px; + padding-right: 4px; + overflow-y: auto; +} + +.collect-link-confirm-meta { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + gap: 4px 16px; + color: #64748b; + font-size: 12px; +} + +.collect-link-confirm-meta span:first-child { + color: #0f172a; + font-size: 14px; + font-weight: 600; +} + +.collect-link-confirm-fields { + overflow: hidden; + border: 1px solid #e8edf4; + border-radius: 9px; +} + +.collect-link-confirm-field { + display: grid; + grid-template-columns: 110px minmax(0, 1fr); + gap: 12px; + padding: 9px 12px; + font-size: 13px; + border-bottom: 1px solid #eef2f7; +} + +.collect-link-confirm-field:last-child { + border-bottom: 0; +} + +.collect-link-confirm-field span, +.collect-link-confirm-screenshots span { + color: #64748b; +} + +.collect-link-confirm-field strong, +.collect-link-confirm-screenshots strong { + color: #0f172a; + font-weight: 500; + white-space: pre-wrap; + overflow-wrap: anywhere; +} + +.collect-link-confirm-field strong.is-empty { + color: #94a3b8; +} + +.collect-link-confirm-screenshots { + display: grid; + gap: 8px; + padding: 10px 12px; + font-size: 13px; + background: #f8fafc; + border-radius: 9px; +} + +.collect-link-confirm-screenshots > div:first-child { + display: flex; + justify-content: space-between; + gap: 12px; +} + +.collect-link-confirm-images { + display: flex; + flex-wrap: wrap; + gap: 8px; +} + +.collect-link-confirm-images img { + width: 58px; + height: 58px; + object-fit: cover; + background: #ffffff; + border: 1px solid #dbe3ee; + border-radius: 8px; +} + +.collect-link-confirm-content { + padding: 10px 12px; + color: #8a4b00; + font-size: 13px; + line-height: 1.7; + background: #fff7e6; + border: 1px solid #ffe7ba; + border-radius: 9px; + white-space: pre-wrap; + overflow-wrap: anywhere; +} + +/* 商品名与订单号放在同一个信息头里,避免标题和灰色信息块分离 */ +.collect-link-order-head { + display: flex; + align-items: baseline; + justify-content: space-between; + flex-wrap: wrap; + gap: 6px 20px; + padding-bottom: 12px; + border-bottom: 1px solid #eef2f7; +} + +.collect-link-order-name { + min-width: 0; + display: flex; + align-items: center; + flex-wrap: wrap; + gap: 8px; + color: #0f172a; + font-size: 16px; + font-weight: 700; + overflow-wrap: anywhere; +} + +.collect-link-order-no { + min-width: 0; + display: flex; + align-items: baseline; + gap: 6px; + color: #64748b; + font-size: 12px; +} + +.collect-link-order-no strong { + color: #0f172a; + font-size: 14px; + font-weight: 600; + overflow-wrap: anywhere; +} + +.collect-link-state { + min-height: 220px; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + gap: 16px; +} + +/* 提交成功:居中的成功状态,不再展示订单号 */ +.collect-link-success { + min-height: 380px; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + gap: 10px; + padding: 24px 12px 8px; + text-align: center; +} + +.collect-link-success-icon { + font-size: 64px; + color: #22c55e; + filter: drop-shadow(0 10px 20px rgba(34, 197, 94, 0.18)); +} + +.collect-link-success-title { + margin: 2px 0 0 !important; + color: #0f172a; +} + +.collect-link-success-products { + max-width: 100%; + margin-top: 10px; + padding: 12px 22px; + border: 1px solid #dcfce7; + border-radius: 12px; + background: #f0fdf4; + display: flex; + flex-direction: column; + gap: 4px; +} + +.collect-link-success-products span { + color: #16a34a; + font-size: 12px; +} + +.collect-link-success-products strong { + color: #166534; + font-size: 15px; + overflow-wrap: anywhere; +} + +.collect-link-success .collect-link-footnote { + margin-top: 18px; +} + +.collect-link-screenshot-control { + display: grid; + gap: 14px; + align-items: start; +} + +.collect-link-screenshot-control.has-guide { + grid-template-columns: 120px minmax(180px, 260px); + gap: 16px; +} + +.collect-link-guide-example { + display: grid; + grid-template-columns: 1fr; + gap: 6px; + min-width: 0; + max-width: 100%; + align-content: start; + justify-items: start; +} + +.collect-link-guide-example .ant-image { + display: block; + width: 128px !important; + height: 88px !important; + overflow: hidden; + border: 1px solid #dbe3ee; + border-radius: 7px; + cursor: zoom-in; +} + +.collect-link-guide-example .ant-image-img { + display: block; + width: 128px !important; + height: 88px !important; + object-fit: cover; + object-position: center; +} + +.collect-link-guide-copy { + display: grid; + align-content: center; + gap: 3px; + min-width: 0; +} + +.collect-link-guide-copy .ant-typography:first-child { + color: #334155; + font-size: 12px; +} + +.collect-link-guide-copy .ant-typography:last-child { + max-width: 220px; + font-size: 11px; + line-height: 1.55; + white-space: pre-wrap; +} + +.collect-link-actions { + display: flex; + justify-content: flex-end; + margin-top: 4px; +} + +.collect-link-actions .ant-btn { + min-width: 180px; +} + +.collect-link-footnote { + display: block; + text-align: center; + font-size: 12px; + white-space: pre-wrap; +} + +@media (max-width: 720px) { + .collect-link-page { + padding: 14px; + } + + .collect-link-card .ant-card-body { + padding: 18px; + } + + .collect-link-screenshot-control.has-guide { + grid-template-columns: 112px minmax(160px, 220px); + gap: 12px; + } + + .collect-link-guide-example .ant-image { + width: 116px !important; + height: 80px !important; + } + + .collect-link-guide-example .ant-image-img { + width: 116px !important; + height: 80px !important; + } + + .collect-link-actions { + justify-content: stretch; + } + + .collect-link-actions .ant-btn { + width: 100%; + } +} + +@media (max-width: 480px) { + .collect-link-page { + padding: 10px; + } + + .collect-link-card .ant-card-body { + padding: 14px; + } + + .collect-link-screenshot-control.has-guide { + grid-template-columns: 104px minmax(0, 1fr); + gap: 8px; + } + + .collect-link-guide-example { + gap: 5px; + } + + .collect-link-guide-example .ant-image { + width: 96px !important; + height: 68px !important; + } + + .collect-link-guide-example .ant-image-img { + width: 96px !important; + height: 68px !important; + } + + .collect-link-guide-copy .ant-typography:first-child { + font-size: 11px; + } + + .collect-link-guide-copy .ant-typography:last-child { + font-size: 10px; + } + + .collect-link-success { + min-height: 320px; + padding: 16px 4px 4px; + } + + .collect-link-success-icon { + font-size: 52px; + } + + .collect-link-success-products { + padding: 10px 16px; + } + + .collect-link-confirm-field { + grid-template-columns: 88px minmax(0, 1fr); + padding: 8px 10px; + } + + .collect-link-order-meta, + .collect-link-submitted-fields { + grid-template-columns: 1fr; + } + + .collect-link-order-meta { + display: grid; + } +} diff --git a/apps/frontend/src/styles/client/redeem.css b/apps/frontend/src/styles/client/redeem.css new file mode 100644 index 00000000..38d47b1f --- /dev/null +++ b/apps/frontend/src/styles/client/redeem.css @@ -0,0 +1,25 @@ +/* ===== 兑换中心 (Redeem Page) ===== */ + +.redeem-page { + min-height: 100vh; + display: grid; + place-items: center; + padding: 32px 16px; + background: #f5f7fb; +} + +.redeem-card { + width: min(520px, 100%); +} + +.redeem-order-input { + flex: 1; + margin-bottom: 0; +} + +/* ===== H5 领取入口页(`/h5`,只有前缀没有订单号) ===== */ + +/* 复用领取页的卡片与背景,只把单卡在视口内垂直居中 */ +.h5-claim-entry { + justify-content: center; +} diff --git a/apps/frontend/src/styles/client/responsive.css b/apps/frontend/src/styles/client/responsive.css new file mode 100644 index 00000000..617a0e69 --- /dev/null +++ b/apps/frontend/src/styles/client/responsive.css @@ -0,0 +1,177 @@ +/* ===== 买家页面响应式断点 ===== */ + +@media (max-width: 720px) { + .claim-page { + padding: 14px; + } + + .claim-header-card .ant-card-body, + .claim-content-card .ant-card-body { + gap: 14px; + } + + .claim-header-copy { + padding-right: 150px; + } + + .claim-header-copy h1 { + font-size: 24px; + line-height: 1.22; + } + + .claim-header-copy p { + font-size: 14px; + line-height: 1.4; + } + + .claim-step-indicator { + top: 16px; + right: 16px; + max-width: 140px; + } + + .claim-step-dots { + gap: 5px; + } + + .claim-step-dot { + width: 26px; + height: 26px; + font-size: 13px; + } + + .claim-step-progress-text { + font-size: 12px; + } + + .claim-info-grid { + grid-template-columns: 1fr; + } + + .claim-qr-block { + padding: 12px; + } + + .claim-qr-guide-panel { + grid-template-columns: 34px minmax(0, 1fr) 34px; + gap: 8px; + max-width: 100%; + } + + .claim-scan-label { + min-height: 128px; + padding: 8px 4px; + font-size: 14px; + } + + .claim-qr-code { + max-width: 232px; + padding: 8px; + } + + .claim-save-hint { + font-size: 13px; + } + + .claim-role-panel-item { + grid-template-columns: 76px minmax(0, 1fr); + gap: 10px; + } + + .claim-role-panel-item span { + font-size: 12px; + } + + .claim-role-panel-item strong { + font-size: 16px; + } + + .claim-action-row { + display: flex; + flex-direction: column; + align-items: stretch; + } + + .claim-action-row .ant-space-item, + .claim-action-row .ant-btn, + .claim-action-tooltip-wrap { + width: 100%; + } + + .claim-meta-footer { + justify-content: flex-start; + } + + .claim-result-header { + display: grid; + } +} + +@media (max-width: 480px) { + .claim-page { + padding: 12px; + gap: 10px; + } + + .claim-header-card .ant-card-body, + .claim-content-card .ant-card-body { + gap: 12px; + } + + .claim-header-copy { + padding-right: 112px; + } + + .claim-header-copy h1 { + font-size: 22px; + } + + .claim-step-indicator { + position: absolute; + top: 16px; + right: 16px; + max-width: 100px; + align-items: flex-end; + } + + .claim-step-dot { + width: 26px; + height: 26px; + font-size: 12px; + } + + .claim-step-dots { + gap: 5px; + } + + .claim-step-progress-text { + text-align: right; + font-size: 12px; + } + + .claim-uid-step-title.ant-typography { + font-size: 18px !important; + } + + .claim-uid-guide-image { + max-height: 140px; + } +} + +@media (max-width: 420px) { + .claim-header-copy { + padding-right: 124px; + } + + .claim-header-copy h1 { + font-size: 22px; + } + + .claim-header-copy p { + padding-right: 0; + } + + .claim-step-indicator { + max-width: 116px; + } +} diff --git a/apps/frontend/src/styles/customer/auth-form.css b/apps/frontend/src/styles/customer/auth-form.css new file mode 100644 index 00000000..b60616d2 --- /dev/null +++ b/apps/frontend/src/styles/customer/auth-form.css @@ -0,0 +1,349 @@ +.customer-auth-tabs { + margin-top: 22px; +} + +.customer-auth-tabs .ant-tabs-nav { + margin-bottom: 18px; +} + +.customer-auth-tabs .ant-tabs-nav::before { + display: none; +} + +.customer-auth-tabs .ant-tabs-nav-list { + width: 100%; + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 5px; + padding: 5px; + border: 1px solid rgba(148, 163, 184, 0.18); + border-radius: 11px; + background: rgba(4, 15, 37, 0.72); +} + +.customer-auth-tabs .ant-tabs-tab { + justify-content: center; + margin: 0 !important; + padding: 11px 18px; + color: var(--auth-muted); + background: transparent; + border: 0 !important; + border-radius: 7px; +} + +.customer-auth-tabs .ant-tabs-tab.ant-tabs-tab-active { + background: var(--auth-accent); +} + +.customer-auth-tabs .ant-tabs-tab-btn { + color: inherit !important; + font-size: 16px; +} + +.customer-auth-tabs .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn { + color: #111827 !important; + font-weight: 700; +} + +.customer-auth-tabs .ant-tabs-ink-bar { + display: none; +} + +.customer-auth-form { + display: flex; + flex-direction: column; + gap: 14px; + padding-top: 18px; +} + +.customer-auth-field { + display: grid; + align-items: center; + min-height: 50px; + overflow: hidden; + border: 1px solid rgba(148, 163, 184, 0.24); + border-radius: 10px; + background: rgba(13, 29, 61, 0.72); + transition: + border-color 0.2s ease, + box-shadow 0.2s ease; +} + +.customer-auth-field:focus-within { + border-color: var(--auth-accent); + box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.12); +} + +.customer-auth-field > * { + min-width: 0; +} + +.customer-auth-phone-field { + grid-template-columns: 58px minmax(0, 1fr) 112px; + padding: 4px; +} + +.customer-auth-code-field { + grid-template-columns: minmax(0, 1fr) 122px; + gap: 5px; + padding: 5px; +} + +.customer-auth-field .ant-select-selector, +.customer-auth-field .ant-input, +.customer-auth-field .ant-input-affix-wrapper { + color: #f8fafc !important; + border: 0 !important; + border-radius: 0 !important; + background: transparent !important; + box-shadow: none !important; +} + +.customer-auth-field .ant-select-selector { + height: 48px !important; + padding-inline: 14px !important; + align-items: center; +} + +.customer-auth-field .ant-select { + height: 48px; + background: transparent !important; +} + +.customer-auth-field .ant-select-selection-item { + color: #f8fafc !important; + line-height: 46px !important; +} + +.customer-auth-field .ant-select-arrow { + color: #c4cede !important; +} + +.customer-auth-country-prefix { + display: grid; + place-items: center; + align-self: stretch; + color: #f8fafc; + font-size: 14px; + font-weight: 600; + border-right: 1px solid var(--auth-line); +} + +.customer-auth-field .ant-input-affix-wrapper { + height: 48px; + padding-inline: 15px; +} + +.customer-auth-field .ant-input { + height: 48px; + padding-inline: 10px; + font-size: 15px; +} + +.customer-auth-field .ant-input-affix-wrapper .ant-input { + padding-inline: 0; +} + +.customer-auth-field .ant-input::placeholder { + color: #7f8ca5; +} + +.customer-auth-field .ant-input-prefix { + margin-inline-end: 9px; + color: var(--auth-accent); +} + +.customer-auth-send-code { + height: 40px !important; + padding-inline: 10px !important; + color: #111827; + border: 0 !important; + border-radius: 7px !important; + background: var(--auth-accent) !important; + font-size: 14px !important; + font-weight: 700; +} + +.customer-auth-send-code:hover { + background: var(--auth-accent-hover) !important; +} + +.customer-auth-code-submit { + height: 40px !important; + color: #111827; + border: 0 !important; + border-radius: 7px !important; + background: var(--auth-accent) !important; + font-weight: 700; +} + +.customer-auth-code-submit:hover { + background: var(--auth-accent-hover) !important; +} + +.customer-auth-note { + padding: 11px 14px; + color: #fbbf24; + font-size: 13px; + line-height: 1.6; + border: 1px solid rgba(251, 191, 36, 0.48); + border-radius: 4px; + background: rgba(251, 191, 36, 0.06); +} + +.customer-auth-form-hint { + color: #7f8ca5; + font-size: 12px; +} + +.customer-auth-page .ant-btn-primary { + color: #fff; + border-color: var(--auth-accent); + background: var(--auth-accent); + font-weight: 700; + box-shadow: none; +} + +.customer-auth-page .ant-btn-primary:hover { + color: #fff !important; + border-color: var(--auth-accent-hover) !important; + background: var(--auth-accent-hover) !important; +} + +.customer-auth-page .customer-auth-secondary-button { + color: #fff; + border-color: rgba(148, 163, 184, 0.42); + background: rgba(19, 39, 77, 0.52); +} + +.customer-auth-page .customer-auth-secondary-button:hover { + color: #fff !important; + border-color: rgba(196, 210, 236, 0.72) !important; + background: rgba(31, 55, 102, 0.72) !important; +} + +.customer-auth-qr { + display: flex; + flex-direction: column; + align-items: center; + gap: 13px; + padding-top: 22px; + text-align: center; +} + +.customer-auth-qr > p { + margin: 0; + color: var(--auth-muted); + line-height: 1.7; +} + +.customer-auth-qr-image, +.customer-auth-qr-placeholder { + display: grid; + place-items: center; + width: 252px; + min-height: 252px; + padding: 10px; + border-radius: 6px; + background: #fff; +} + +.customer-auth-qr-placeholder { + color: #64748b; + font-size: 13px; + background: rgba(255, 255, 255, 0.94); +} + +.customer-auth-role-card { + width: min(100%, 580px); + display: grid; + grid-template-columns: minmax(0, 1fr) auto; + gap: 4px 18px; + padding: 15px 18px; + text-align: left; + border: 1px solid rgba(255, 138, 0, 0.42); + border-radius: 5px; + background: rgba(255, 138, 0, 0.06); +} + +.customer-auth-role-card span { + color: var(--auth-muted); + font-size: 13px; +} + +.customer-auth-role-card strong { + justify-self: end; + color: #fff; + font-size: 17px; +} + +.customer-auth-role-card small { + grid-column: 1 / -1; + color: var(--auth-muted); + font-size: 12px; +} + +.customer-auth-binding { + display: flex; + flex-direction: column; + gap: 16px; +} + +.customer-auth-binding-tip { + color: #ffb454; + font-size: 13px; +} + +.customer-auth-profile { + padding: 16px; + border: 1px solid #3a4150; + border-radius: 12px; + background: #212733; +} + +.customer-auth-profile-summary { + padding: 14px; + border: 1px solid rgba(255, 255, 255, 0.14); + border-radius: 6px; + background: rgba(255, 255, 255, 0.04); +} + +.customer-auth-profile > p { + margin: 0 0 12px; + color: #9aa3b2; + font-size: 13px; + line-height: 1.6; +} + +.customer-profile-form { + display: flex; + flex-direction: column; + gap: 12px; +} + +.customer-profile-form .customer-collect-label { + margin-top: 2px; +} + +.customer-auth-profile-summary { + display: flex; + flex-wrap: wrap; + align-items: center; + gap: 10px; +} + +.customer-auth-profile-summary span { + color: var(--auth-muted); + font-size: 13px; +} + +.customer-auth-profile-summary strong { + color: #fff; + font-size: 15px; +} + +.customer-auth-profile-summary em { + color: var(--auth-muted); + font-style: normal; + font-size: 13px; +} diff --git a/apps/frontend/src/styles/customer/base.css b/apps/frontend/src/styles/customer/base.css new file mode 100644 index 00000000..6554a17f --- /dev/null +++ b/apps/frontend/src/styles/customer/base.css @@ -0,0 +1,10 @@ +/** 客户领取页公共样式入口:平台差异见 platform/huya.css、platform/weibo.css、platform/douyu.css。 */ + +@import './layout.css'; +@import './auth-form.css'; +@import './profile.css'; +@import './login.css'; +@import './order.css'; +@import './binding.css'; +@import './status.css'; +@import './responsive.css'; diff --git a/apps/frontend/src/styles/customer/binding.css b/apps/frontend/src/styles/customer/binding.css new file mode 100644 index 00000000..a505ef93 --- /dev/null +++ b/apps/frontend/src/styles/customer/binding.css @@ -0,0 +1,453 @@ +.customer-binding-stage { + display: flex; + flex-direction: column; + gap: 14px; + padding: 16px; +} + +.customer-binding-session-card { + display: flex; + flex-direction: column; + gap: 10px; + padding: 18px; + border: 1px solid #78350f; + border-radius: 12px; + background: rgba(120, 53, 15, 0.22); +} + +.customer-binding-session-title { + margin: 0; + color: #fbbf24; + font-size: 16px; + font-weight: 700; +} + +.customer-binding-session-desc { + margin: 0 0 4px; + color: #fcd34d; + font-size: 13px; + line-height: 1.6; +} + +.customer-binding-qr-error { + display: flex; + flex-direction: column; + align-items: center; + gap: 10px; + padding: 24px 12px; + text-align: center; +} + +.customer-binding-qr-error p { + margin: 0; + color: #fca5a5; + font-size: 15px; + font-weight: 600; +} + +.customer-binding-qr-error span { + color: #cbd5e1; + font-size: 13px; + line-height: 1.6; + overflow-wrap: anywhere; +} + +/* antd Alert 在绑定阶段统一走深色卡片,避免浅色块破坏整体深色风格 */ +.customer-binding-stage .ant-alert { + align-items: flex-start; + padding: 12px 14px; + border: 1px solid #3a4150; + border-radius: 12px; + background: #212733; +} + +.customer-binding-stage .ant-alert .ant-alert-message { + color: #e2e8f0; + font-size: 14px; + font-weight: 600; +} + +/* antd v6 的标题节点是 .ant-alert-title(v5 为 .ant-alert-message) */ +.customer-binding-stage .ant-alert .ant-alert-title { + color: #e2e8f0; + font-size: 14px; + font-weight: 600; + line-height: 1.5; +} + +.customer-binding-stage .ant-alert .ant-alert-description { + color: #cbd5e1; + font-size: 13px; + line-height: 1.6; +} + +.customer-binding-stage .ant-alert-warning { + border-color: #78350f; + background: rgba(120, 53, 15, 0.22); +} + +.customer-binding-stage .ant-alert-warning .ant-alert-icon, +.customer-binding-stage .ant-alert-warning .ant-alert-message, +.customer-binding-stage .ant-alert-warning .ant-alert-title { + color: #fbbf24; +} + +.customer-binding-stage .ant-alert-warning .ant-alert-description { + color: #fcd34d; +} + +.customer-binding-stage .ant-alert-error { + border-color: #7f1d1d; + background: rgba(127, 29, 29, 0.24); +} + +.customer-binding-stage .ant-alert-error .ant-alert-icon, +.customer-binding-stage .ant-alert-error .ant-alert-message, +.customer-binding-stage .ant-alert-error .ant-alert-title { + color: #fca5a5; +} + +.customer-binding-stage .ant-alert-error .ant-alert-description { + color: #fecaca; +} + +.customer-binding-stage .ant-alert-success { + border-color: #065f46; + background: rgba(6, 78, 59, 0.28); +} + +.customer-binding-stage .ant-alert-success .ant-alert-icon, +.customer-binding-stage .ant-alert-success .ant-alert-message, +.customer-binding-stage .ant-alert-success .ant-alert-title { + color: #6ee7b7; +} + +.customer-binding-stage .ant-alert-success .ant-alert-description { + color: #a7f3d0; +} + +.customer-binding-role-actions { + display: flex; + flex-direction: column; + gap: 12px; + width: 100%; +} + +.customer-binding-role-actions .customer-binding-confirm.ant-btn { + height: 52px; + border-radius: 14px; + background: #2563eb !important; + border-color: #2563eb !important; + color: #fff !important; + font-size: 17px; + font-weight: 600; +} + +.customer-binding-role-actions .customer-binding-confirm.ant-btn:hover, +.customer-binding-role-actions .customer-binding-confirm.ant-btn:focus-visible { + background: #1d4ed8 !important; + border-color: #1d4ed8 !important; + color: #fff !important; +} + +.customer-binding-role-actions .customer-binding-rebind.ant-btn { + height: 48px; + border-radius: 14px; + background: transparent !important; + border-color: #3a4150 !important; + color: #cbd5e1 !important; + font-size: 16px; + font-weight: 500; +} + +.customer-binding-role-actions .customer-binding-rebind.ant-btn .anticon { + color: #f59e0b; +} + +.customer-binding-role-actions .customer-binding-rebind.ant-btn:hover, +.customer-binding-role-actions .customer-binding-rebind.ant-btn:focus-visible { + background: rgba(245, 158, 11, 0.08) !important; + border-color: #b45309 !important; + color: #fbbf24 !important; +} + +.customer-binding-role-actions .customer-binding-accept.ant-btn { + height: 46px; + border-radius: 12px; + background: transparent !important; + border-color: transparent !important; + color: #94a3b8 !important; + font-size: 15px; + font-weight: 500; +} + +.customer-binding-role-actions .customer-binding-accept.ant-btn:hover, +.customer-binding-role-actions .customer-binding-accept.ant-btn:focus-visible { + background: rgba(148, 163, 184, 0.1) !important; + border-color: transparent !important; + color: #e2e8f0 !important; +} + +.customer-binding-info { + padding: 16px; + border: 1px solid #3a4150; + border-radius: 12px; + background: #212733; + display: flex; + flex-direction: column; + gap: 10px; +} + +.customer-binding-info h3 { + margin: 0 0 4px; + color: #9aa3b2; + font-size: 13px; + font-weight: 500; +} + +.customer-binding-info h3 small { + color: #64748b; + font-weight: 400; +} + +.customer-binding-info > div { + display: flex; + align-items: flex-start; + justify-content: space-between; + gap: 12px; + color: #cbd5e1; + font-size: 14px; + line-height: 1.5; +} + +.customer-binding-info > div > span { + flex: 0 0 auto; + white-space: nowrap; +} + +.customer-binding-info > div strong { + flex: 1 1 auto; + min-width: 0; + color: #fff; + text-align: right; + overflow-wrap: anywhere; +} + +.customer-binding-alert { + padding: 12px 14px; + border-radius: 8px; + border: 1px solid transparent; + font-size: 14px; +} + +.customer-binding-alert.is-warning { + color: #fbbf24; + border-color: #78350f; + background: rgba(120, 53, 15, 0.25); +} + +.customer-binding-alert.is-info { + color: #93c5fd; + border-color: #1e3a8a; + background: rgba(30, 58, 138, 0.3); +} + +.customer-binding-verify { + padding: 18px; + border: 1px solid #3a4150; + border-radius: 12px; + background: transparent; + display: flex; + flex-direction: column; + gap: 16px; + text-align: center; +} + +.customer-binding-verify p { + margin: 0; + color: #e5e7eb; + font-size: 16px; + line-height: 1.6; +} + +.customer-binding-qr-card { + padding: 18px; + border-radius: 12px; + background: #fff; + color: #111827; + display: flex; + flex-direction: column; + align-items: center; + gap: 10px; +} + +.customer-binding-qr-card h3 { + margin: 0; + color: #6b7280; + font-size: 14px; + font-weight: 500; +} + +.customer-binding-qr-hint { + margin: 0; + color: #6b7280; + font-size: 13px; +} + +.customer-binding-qr-tip { + margin: 0; + color: #f59e0b; + font-size: 13px; +} + +.customer-binding-qr-countdown { + margin: 0; + color: #6b7280; + font-size: 13px; +} + +.customer-binding-qr-actions { + width: 100%; + margin-top: 4px; + display: grid; + grid-template-columns: 1fr 1fr; + gap: 10px; +} + +.customer-binding-qr-actions .ant-btn { + height: 40px; + border-radius: 8px; +} + +/* 斗鱼客户领取页沿用后台深色二维码面板,避免大块纯白卡片刺眼。 */ +.customer-choice-switch { + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 3px; + padding: 3px; + overflow: hidden; + border: 1px solid #354052; + border-radius: 10px; + background: #171d27; +} + +.customer-choice-option { + height: 42px; + min-width: 0; + padding: 0 10px; + color: #aeb8c8; + border: 0; + border-radius: 8px; + outline: none; + background: transparent; + font: inherit; + font-size: 14px; + cursor: pointer; + transition: color 100ms ease; +} + +.customer-choice-option:hover { + color: #e2e8f0; + background: #242c39; +} + +.customer-choice-option.is-selected { + color: #fff; + background: #2f6fed; + font-weight: 700; +} + +.customer-choice-option:focus-visible { + outline: 2px solid #60a5fa; + outline-offset: 2px; +} + +.customer-binding-next.ant-btn { + width: 100%; + height: 52px; + margin-top: 6px; + border-radius: 14px; + background: #2563eb !important; + border-color: #2563eb !important; + color: #fff !important; + font-size: 17px; + font-weight: 600; +} + +.customer-binding-modal-footer { + display: flex; + flex-direction: column; + gap: 10px; +} + +.customer-binding-modal-actions { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 12px; +} + +.customer-binding-modal-actions .ant-btn { + height: 42px; + border-radius: 8px; +} + +.customer-binding-modal-actions.is-mismatch { + grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); +} + +.customer-binding-modal-error { + margin: 0; + color: #dc2626; + font-size: 13px; + text-align: center; +} + +.customer-binding-modal-warning { + margin: 0; + color: #d97706; + font-size: 13px; + text-align: center; +} + +.customer-binding-compare { + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 12px; +} + +.customer-binding-compare-side { + display: flex; + flex-direction: column; + gap: 6px; + padding: 14px; + border: 1px solid rgba(15, 23, 42, 0.12); + border-radius: 6px; + background: rgba(15, 23, 42, 0.04); +} + +.customer-binding-compare-head { + display: flex; + align-items: center; + justify-content: space-between; + gap: 8px; + color: #64748b; + font-size: 13px; +} + +.customer-binding-compare-side strong { + color: #0f172a; + font-size: 16px; + word-break: break-all; +} + +.customer-binding-compare-side em { + color: #64748b; + font-style: normal; + font-size: 13px; +} + +@media (max-width: 480px) { + .customer-binding-compare { + grid-template-columns: minmax(0, 1fr); + } +} diff --git a/apps/frontend/src/styles/customer/layout.css b/apps/frontend/src/styles/customer/layout.css new file mode 100644 index 00000000..6183ac03 --- /dev/null +++ b/apps/frontend/src/styles/customer/layout.css @@ -0,0 +1,229 @@ +/** 客户领取页公共样式:布局、表单、登录、订单、角色绑定与状态。 */ + +/** + * 客户领取页样式 + * + * 覆盖虎牙、微博、斗鱼客户领取、资料收集、角色绑定与二维码阶段。 + * 从 client.css 拆分,保持原选择器和层叠顺序不变。 + */ + +.customer-auth-page { + --auth-accent: #2f6fed; + --auth-accent-hover: #4a83ff; + --auth-panel: #232936; + --auth-panel-soft: #2a3140; + --auth-line: rgba(255, 255, 255, 0.08); + --auth-text: #f5f7fa; + --auth-muted: #9aa3b2; + min-height: 100vh; + display: flex; + justify-content: center; + overflow-x: hidden; + padding: 0; + color: var(--auth-text); + background: #232936; +} + +.customer-auth-shell { + width: min(560px, 100%); + min-width: 0; + align-self: stretch; + overflow: hidden; + border: none; + border-radius: 0; + background: transparent; + box-shadow: none; +} + +.customer-auth-hero { + min-height: auto; + display: flex; + align-items: center; + justify-content: center; + padding: 38px 16px 10px; + background: none; +} + +/* 微博登录页顶部 KV:与资料页共用 inside-kv.jpg,叠加深色渐变保证标题可读。 */ +.customer-auth-brand { + display: flex; + align-items: center; + justify-content: center; + gap: 0; + min-width: 0; +} + +.customer-auth-logo { + width: 62px; + height: 62px; + flex: none; + display: grid; + place-items: center; + border: 1px solid rgba(255, 255, 255, 0.22); + border-radius: 8px; + color: var(--auth-accent); + font-size: 34px; + background: rgba(3, 12, 34, 0.58); + box-shadow: inset 0 0 24px rgba(255, 138, 0, 0.06); +} + +.customer-auth-brand h1 { + margin: 0; + color: #fff; + font-size: 20px; + line-height: 1.4; + font-weight: 700; + letter-spacing: 0; + text-align: center; + white-space: normal; + overflow-wrap: anywhere; +} + +.customer-auth-warning { + padding: 6px 16px 10px; + color: #ff6975; + text-align: center; + font-size: 14px; + font-weight: 600; + background: transparent; + border-bottom: none; +} + +.customer-auth-main { + min-width: 0; + padding-bottom: 24px; + color: var(--auth-text); + background: transparent; +} + +.customer-auth-content-stack { + min-width: 0; + display: flex; + flex-direction: column; +} + +.customer-auth-task-switcher { + display: flex; + align-items: flex-start; + gap: 16px; + padding: 20px 24px; + border-bottom: 1px solid var(--auth-line); +} + +.customer-auth-task-switcher > span { + flex: none; + padding-top: 5px; + color: var(--auth-muted); + font-size: 13px; +} + +.customer-auth-task-switcher > div { + display: flex; + flex-wrap: wrap; + gap: 8px; +} + +.customer-auth-task-switcher .ant-btn { + height: auto; + padding: 6px 10px; + color: #dce6f8; + white-space: normal; + text-align: left; + border-color: rgba(255, 255, 255, 0.16); + background: rgba(255, 255, 255, 0.04); +} + +.customer-auth-task-switcher .ant-btn-primary { + color: #111827; + border-color: var(--auth-accent); +} + +.customer-auth-facts { + min-width: 0; + padding: 0 26px; +} + +.customer-auth-facts > div { + display: grid; + grid-template-columns: 132px minmax(0, 1fr); + align-items: center; + gap: 18px; + min-height: 74px; + padding: 16px 4px; + border-bottom: 1px solid var(--auth-line); +} + +.customer-auth-facts > div > span { + color: #c0c8d8; + font-size: 16px; +} + +.customer-auth-facts > div > strong { + min-width: 0; + justify-self: end; + color: #f8fafc; + font-size: 18px; + line-height: 1.5; + font-weight: 600; + text-align: right; + word-break: break-all; + overflow-wrap: anywhere; +} + +.customer-auth-section { + min-width: 0; + padding: 16px; + border-bottom: none; +} + +.customer-auth-section-heading { + display: flex; + align-items: flex-start; + gap: 14px; +} + +.customer-auth-section-icon { + width: 36px; + height: 36px; + flex: none; + display: grid; + place-items: center; + border: 1px solid rgba(255, 255, 255, 0.15); + border-radius: 8px; + color: var(--auth-accent); + font-size: 18px; + background: rgba(255, 255, 255, 0.035); +} + +.customer-auth-section-heading h2, +.customer-auth-state h2 { + margin: 0 0 6px; + color: #fff; + font-size: 18px; + line-height: 1.4; + font-weight: 700; +} + +.customer-auth-section-heading p, +.customer-auth-state p, +.customer-auth-form-copy { + margin: 0; + color: var(--auth-muted); + font-size: 15px; + line-height: 1.75; +} + +.customer-auth-section-copy h2 { + margin: 0 0 8px; + color: #fff; + font-size: 23px; + line-height: 1.35; + font-weight: 700; +} + +.customer-auth-section-copy p { + margin: 0; + color: var(--auth-muted); + font-size: 15px; + line-height: 1.75; +} diff --git a/apps/frontend/src/styles/customer/login.css b/apps/frontend/src/styles/customer/login.css new file mode 100644 index 00000000..d155b9d4 --- /dev/null +++ b/apps/frontend/src/styles/customer/login.css @@ -0,0 +1,87 @@ +/* 登录与绑定页(图 2-10) */ +.customer-login-form { + display: flex; + flex-direction: column; + gap: 12px; +} + +.customer-login-hint { + margin: 0 0 2px; + color: #d5dae3; + font-size: 16px; + line-height: 1.5; +} + +.customer-login-mobile-row { + display: flex; + align-items: stretch; + gap: 12px; +} + +.customer-login-mobile.ant-input { + flex: 1; + min-width: 0; + height: 48px; + padding: 0 16px; + border-radius: 8px; + border-color: #3a4150; + background: #1b2130; + color: #fff; + font-size: 15px; +} + +.customer-login-mobile.ant-input::placeholder { + color: #6b7482; +} + +.customer-login-code-button.ant-btn { + flex: none; + width: 118px; + height: 48px; + border-radius: 8px; + background: #3b82f6 !important; + border-color: #3b82f6 !important; + color: #fff !important; + font-size: 16px; +} + +.customer-login-code-input.ant-input { + height: 48px; + border-radius: 8px; + border-color: #3a4150; + background: #1b2130; + color: #fff; + text-align: center; + font-size: 15px; + letter-spacing: 6px; +} + +.customer-login-code-input.ant-input::placeholder { + color: #6b7482; +} + +.customer-login-submit.ant-btn { + height: 52px; + border-radius: 14px; + background: #2563eb !important; + border-color: #2563eb !important; + color: #fff !important; + font-size: 17px; + font-weight: 600; +} + +.customer-login-submit.ant-btn:hover, +.customer-login-submit.ant-btn:focus-visible { + background: #1d4ed8 !important; + border-color: #1d4ed8 !important; + color: #fff !important; +} + +.customer-login-alt.ant-btn { + height: 48px; + border-radius: 8px; + background: transparent !important; + border-color: #3a4150 !important; + color: #cbd5e1 !important; + font-size: 16px; +} diff --git a/apps/frontend/src/styles/customer/order.css b/apps/frontend/src/styles/customer/order.css new file mode 100644 index 00000000..122ff4a5 --- /dev/null +++ b/apps/frontend/src/styles/customer/order.css @@ -0,0 +1,53 @@ +.customer-order-card { + margin: 10px 16px 0; + padding: 16px; + border: 1px solid #3a4150; + border-radius: 12px; + background: #212733; + display: flex; + flex-direction: column; + gap: 10px; +} + +.customer-order-card h3 { + margin: 0 0 4px; + color: #94a3b8; + font-size: 13px; + font-weight: 500; +} + +.customer-order-card > div { + display: flex; + align-items: flex-start; + justify-content: space-between; + gap: 12px; + color: #cbd5e1; + font-size: 14px; + line-height: 1.5; +} + +.customer-order-card > div > span { + flex: 0 0 auto; + white-space: nowrap; + color: #9aa3b2; +} + +.customer-order-card > div strong { + flex: 1 1 auto; + min-width: 0; + color: #fff; + text-align: right; + overflow-wrap: anywhere; +} + +.customer-order-card > div strong.customer-order-status { + flex: 0 0 auto; + padding: 3px 12px; + border: 1px solid rgba(96, 165, 250, 0.38); + border-radius: 999px; + color: #dbeafe; + font-size: 13px; + font-weight: 600; + text-align: center; + background: rgba(47, 111, 237, 0.28); +} diff --git a/apps/frontend/src/styles/customer/platform/douyu.css b/apps/frontend/src/styles/customer/platform/douyu.css new file mode 100644 index 00000000..6f6ed284 --- /dev/null +++ b/apps/frontend/src/styles/customer/platform/douyu.css @@ -0,0 +1,563 @@ +/** 斗鱼客户领取页平台差异样式。 */ + +.customer-auth-page.is-douyu .customer-binding-qr-card { + padding: 18px; + color: var(--auth-text); + border: 1px solid #3a4150; + border-radius: 14px; + background: #202631; + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035); +} + +.customer-auth-page.is-douyu .customer-binding-qr-card h3 { + color: #d7dee9; + font-size: 15px; + font-weight: 600; +} + +.customer-auth-page.is-douyu .customer-binding-qr-code { + width: min(100%, 292px); + aspect-ratio: 1; + display: grid; + place-items: center; + padding: 14px; + overflow: hidden; + border: 1px solid #4a5262; + border-radius: 12px; + background: #e8ebef; + box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22); +} + +.customer-auth-page.is-douyu .customer-binding-qr-code .ant-image, +.customer-auth-page.is-douyu .customer-binding-qr-code img { + width: 100%; + height: 100%; + display: block; + border-radius: 7px; +} + +.customer-auth-page.is-douyu .customer-auth-qr-placeholder { + width: 100%; + min-height: 100%; + color: #8f9aab; + border: 1px dashed #485162; + border-radius: 9px; + background: #171c24; +} + +.customer-auth-page.is-douyu .customer-binding-qr-hint { + max-width: 340px; + color: #b8c1cf; + font-size: 13px; + line-height: 1.6; + text-align: center; +} + +.customer-auth-page.is-douyu .customer-binding-qr-countdown { + color: #cbd5e1; + font-variant-numeric: tabular-nums; +} + +.customer-auth-page.is-douyu .customer-binding-qr-card .ant-progress { + width: min(100%, 292px); +} + +.customer-auth-page.is-douyu .customer-binding-qr-card .ant-progress-inner { + background: #353d4b; +} + +.customer-auth-page.is-douyu .customer-binding-qr-card .ant-progress-bg { + background: #f59e0b; +} + +.customer-auth-page.is-douyu .customer-binding-qr-actions .ant-btn { + color: #e2e8f0; + border-color: #465063; + background: #2a313d; + box-shadow: none; +} + +.customer-auth-page.is-douyu .customer-binding-qr-actions .ant-btn:hover, +.customer-auth-page.is-douyu .customer-binding-qr-actions .ant-btn:focus-visible { + color: #fff; + border-color: #657186; + background: #343c4a; +} + +.customer-auth-page.is-douyu .customer-binding-qr-toggle.ant-btn { + align-self: flex-end; + height: 34px; + padding-inline: 12px; + color: #b8c1cf; + border-color: #3f495a; + border-radius: 8px; + background: transparent; + font-size: 13px; + box-shadow: none; +} + +.customer-auth-page.is-douyu .customer-binding-qr-toggle.ant-btn:hover, +.customer-auth-page.is-douyu .customer-binding-qr-toggle.ant-btn:focus-visible { + color: #fff; + border-color: #64748b; + background: #2a313d; +} + +.customer-auth-page.is-douyu .customer-auth-hero { + min-height: 148px; + align-items: flex-end; + justify-content: center; + padding: 0 16px 18px; + background-color: #111827; + background-image: + linear-gradient(180deg, rgba(11, 18, 32, 0.08) 0%, rgba(11, 18, 32, 0.56) 68%, #232936 100%), + url('/images/customer/inside-kv.jpg'); + background-repeat: no-repeat; + background-position: center 38%; + background-size: cover; +} + +.customer-auth-page.is-douyu .customer-auth-brand { + width: auto; + align-items: flex-end; + justify-content: center; +} + +.customer-auth-page.is-douyu .customer-auth-brand h1 { + font-size: 16px; + line-height: 1.4; + text-align: center; + text-shadow: 0 2px 12px rgba(0, 0, 0, 0.82); +} + +.customer-auth-page.is-douyu .customer-auth-warning { + padding-top: 12px; +} + +.customer-auth-page.is-douyu .customer-order-closed-alert.ant-alert { + align-items: flex-start; + margin: 10px 16px 0; + padding: 12px 14px; + color: #f6c66f; + border: 1px solid #6b4d1f; + border-radius: 10px; + background: #2a2418; +} + +.customer-auth-page.is-douyu .customer-order-closed-alert .ant-alert-icon { + margin-top: 2px; + color: #f6ad3c; + font-size: 16px; +} + +.customer-auth-page.is-douyu .customer-order-closed-alert .ant-alert-message, +.customer-auth-page.is-douyu .customer-order-closed-alert .ant-alert-title { + color: #f7d394; + font-size: 14px; + font-weight: 600; + line-height: 1.4; +} + +.customer-auth-page.is-douyu .customer-order-closed-alert .ant-alert-description { + margin-top: 3px; + color: #d8c39b; + font-size: 13px; + line-height: 1.5; +} + +.customer-auth-page.is-douyu .customer-douyu-order-card { + padding: 0; + overflow: hidden; + gap: 0; + border-radius: 12px; + background: #202631; +} + +.customer-auth-page.is-douyu .customer-douyu-order-head { + align-items: center; + gap: 12px; + padding: 13px 16px; + border-bottom: 1px solid #343d4c; +} + +.customer-auth-page.is-douyu .customer-douyu-order-head h3 { + margin: 0; + color: #9aa3b2; + font-size: 13px; + font-weight: 600; +} + +.customer-auth-page.is-douyu .customer-douyu-order-field { + display: grid; + grid-template-columns: 72px minmax(0, 1fr); + align-items: start; + gap: 12px; + padding: 11px 16px; + border-bottom: 1px solid #343d4c; +} + +.customer-auth-page.is-douyu .customer-douyu-order-field:last-child { + border-bottom: 0; +} + +.customer-auth-page.is-douyu .customer-douyu-order-field > span { + color: #8f9aaa; + font-size: 13px; + line-height: 1.5; +} + +.customer-auth-page.is-douyu .customer-douyu-order-field > strong { + min-width: 0; + color: #f1f5f9; + font-size: 14px; + font-weight: 600; + line-height: 1.5; + text-align: right; + overflow-wrap: anywhere; +} + +.customer-auth-page.is-douyu .customer-douyu-order-status { + flex: 0 0 auto; + padding: 2px 10px; + border-color: rgba(96, 165, 250, 0.36); + color: #dbeafe; + font-size: 12px; + font-weight: 600; + background: rgba(47, 111, 237, 0.22); +} + +.customer-auth-page.is-douyu .customer-douyu-order-status.is-cancelled { + border-color: rgba(245, 158, 11, 0.38); + color: #f8d28a; + background: rgba(245, 158, 11, 0.14); +} + +.customer-auth-page.is-douyu .customer-douyu-order-status.is-completed { + border-color: rgba(52, 211, 153, 0.38); + color: #a7f3d0; + background: rgba(6, 95, 70, 0.24); +} + +.customer-auth-page.is-douyu .customer-douyu-order-status.is-failed { + border-color: rgba(248, 113, 113, 0.38); + color: #fecaca; + background: rgba(127, 29, 29, 0.24); +} + +.customer-douyu-qr-main { + width: 100%; + display: grid; + grid-template-columns: 30px minmax(0, 220px) 30px; + align-items: stretch; + justify-content: center; + gap: 7px; +} + +.customer-douyu-qr-rail { + display: flex; + align-items: center; + justify-content: center; + min-height: 0; + padding: 0; + color: #ff5a67; + font-size: 12px; + font-weight: 800; + line-height: 1.05; + letter-spacing: 1px; + text-align: center; + writing-mode: vertical-rl; + text-orientation: upright; + background: none; +} + +.customer-auth-page.is-douyu .customer-douyu-qr-main .customer-binding-qr-code { + width: 100%; + max-width: none; + padding: 10px; +} + +.customer-auth-page.is-douyu .customer-douyu-qr-preparing { + position: relative; + width: 100%; + height: 100%; + min-height: 100%; + display: grid; + place-items: center; + overflow: hidden; + border-radius: 7px; + background: #171c24; +} + +.customer-auth-page.is-douyu .customer-douyu-qr-skeleton { + position: absolute; + inset: 18px; + opacity: 0.16; + background-image: + linear-gradient(90deg, #9fb1ca 50%, transparent 50%), + linear-gradient(#9fb1ca 50%, transparent 50%); + background-position: + 0 0, + 0 0; + background-size: + 18px 18px, + 18px 18px; + -webkit-mask-image: linear-gradient(135deg, #000 12%, transparent 82%); + mask-image: linear-gradient(135deg, #000 12%, transparent 82%); +} + +.customer-auth-page.is-douyu .customer-douyu-qr-preparing-copy { + position: relative; + z-index: 1; + display: flex; + flex-direction: column; + align-items: center; + gap: 8px; + color: #b8c1cf; + text-align: center; +} + +.customer-auth-page.is-douyu .customer-douyu-qr-preparing-copy strong { + color: #e2e8f0; + font-size: 14px; + font-weight: 600; +} + +.customer-auth-page.is-douyu .customer-douyu-qr-preparing-copy span { + color: #8f9aaa; + font-size: 12px; +} + +.customer-auth-page.is-douyu .customer-douyu-preparing-button.ant-btn { + color: #e2e8f0; + border-color: #465063; + background: #2a313d; + box-shadow: none; +} + +.customer-auth-page.is-douyu .customer-douyu-preparing-button.ant-btn:hover, +.customer-auth-page.is-douyu .customer-douyu-preparing-button.ant-btn:focus-visible { + color: #fff; + border-color: #657186; + background: #343c4a; +} + +.customer-auth-page.is-douyu .customer-binding-qr-actions.is-single { + grid-template-columns: minmax(0, 1fr); +} + +.customer-auth-page.is-douyu .customer-binding-qr-actions .ant-btn:disabled { + color: #7d8797; + border-color: #394353; + background: #252c37; + opacity: 1; +} + +.customer-auth-page.is-douyu .customer-binding-qr-countdown.is-expired { + color: #ff7a84; + font-weight: 700; +} + +.customer-auth-page.is-douyu .customer-douyu-qr-refresh-note { + margin: -2px 0 0; + color: #8f9aaa; + font-size: 11px; + line-height: 1.4; + text-align: center; +} + +.customer-auth-page.is-douyu .customer-douyu-binding-alert.is-wechat { + border-color: rgba(248, 113, 113, 0.34); + background: linear-gradient(135deg, rgba(127, 29, 29, 0.26), rgba(32, 38, 49, 0.9)); +} + +.customer-auth-page.is-douyu .customer-douyu-binding-alert.is-wechat .ant-alert-icon, +.customer-auth-page.is-douyu .customer-douyu-binding-alert.is-wechat .ant-alert-message, +.customer-auth-page.is-douyu .customer-douyu-binding-alert.is-wechat .ant-alert-title { + color: #ff8a92; +} + +.customer-douyu-binding-failure { + display: flex; + flex-direction: column; + gap: 10px; +} + +.customer-douyu-binding-failure > p { + margin: 0; + padding: 12px 14px; + color: #fecaca; + font-size: 13px; + line-height: 1.6; + text-align: center; + border: 1px solid rgba(248, 113, 113, 0.3); + border-radius: 10px; + background: rgba(127, 29, 29, 0.18); +} + +.customer-auth-page.is-douyu.is-compact { + height: 100vh; + height: 100dvh; + min-height: 0; + overflow: hidden; +} + +.customer-auth-page.is-douyu.is-compact .customer-auth-shell { + height: 100%; + display: flex; + flex-direction: column; +} + +.customer-auth-page.is-douyu.is-compact .customer-auth-hero { + min-height: 148px; + padding: 0 16px 18px; + background-position: center 34%; +} + +.customer-auth-page.is-douyu.is-compact .customer-auth-warning { + padding: 8px 16px 12px; + font-size: 14px; +} + +.customer-auth-page.is-douyu.is-compact .customer-auth-main { + display: flex; + flex-direction: column; + flex: 1 1 auto; + min-height: 0; + padding-bottom: 0; + overflow: hidden; +} + +.customer-auth-page.is-douyu.is-compact .customer-douyu-order-card { + flex: none; + margin: 10px 16px 0; +} + +.customer-auth-page.is-douyu.is-compact .customer-douyu-order-head { + padding: 13px 16px; +} + +.customer-auth-page.is-douyu.is-compact .customer-douyu-order-field { + grid-template-columns: 72px minmax(0, 1fr); + gap: 12px; + padding: 11px 16px; +} + +.customer-auth-page.is-douyu.is-compact .customer-douyu-order-field > span, +.customer-auth-page.is-douyu.is-compact .customer-douyu-order-field > strong { + font-size: 14px; + line-height: 1.5; +} + +.customer-auth-page.is-douyu.is-compact .customer-binding-stage { + flex: 1 1 auto; + min-height: 0; + justify-content: center; + gap: 14px; + padding: 16px; +} + +.customer-auth-page.is-douyu.is-compact .customer-binding-stage .ant-alert { + flex: none; + padding: 12px 14px; +} + +.customer-auth-page.is-douyu.is-compact .customer-binding-stage .ant-alert-description { + margin-top: 4px; + font-size: 13px; + line-height: 1.6; +} + +.customer-auth-page.is-douyu.is-compact .customer-binding-qr-card { + flex: 0 1 auto; + justify-content: center; + gap: 10px; + padding: 18px; +} + +.customer-auth-page.is-douyu.is-compact .customer-binding-qr-card h3 { + font-size: 15px; +} + +.customer-auth-page.is-douyu.is-compact .customer-binding-qr-hint { + font-size: 13px; + line-height: 1.6; +} + +.customer-auth-page.is-douyu.is-compact .customer-binding-qr-countdown { + font-size: 13px; +} + +.customer-auth-page.is-douyu.is-compact .customer-binding-qr-card .ant-progress { + line-height: 1.5; +} + +.customer-auth-page.is-douyu.is-compact .customer-binding-qr-actions { + margin-top: 4px; +} + +.customer-auth-page.is-douyu.is-compact .customer-binding-qr-actions .ant-btn { + height: 40px; + font-size: 14px; +} + +@media (max-height: 720px) { + .customer-auth-page.is-douyu.is-compact .customer-auth-hero { + min-height: 60px; + padding-bottom: 6px; + } + + .customer-auth-page.is-douyu.is-compact .customer-auth-warning { + padding-block: 1px 4px; + font-size: 11px; + } + + .customer-auth-page.is-douyu.is-compact .customer-douyu-order-head { + padding-block: 6px; + } + + .customer-auth-page.is-douyu.is-compact .customer-douyu-order-field { + padding-block: 5px; + } + + .customer-auth-page.is-douyu.is-compact .customer-binding-stage { + justify-content: flex-start; + gap: 6px; + padding-block: 6px; + } + + .customer-auth-page.is-douyu.is-compact .customer-binding-stage .ant-alert-description { + display: none; + } + + .customer-auth-page.is-douyu.is-compact .customer-binding-qr-card { + gap: 4px; + padding-block: 7px; + } + + .customer-auth-page.is-douyu.is-compact .customer-douyu-qr-main { + grid-template-columns: 26px minmax(0, clamp(154px, 30dvh, 190px)) 26px; + gap: 5px; + } + + .customer-auth-page.is-douyu.is-compact .customer-douyu-qr-rail { + font-size: 10px; + } +} + +.customer-auth-page.is-douyu .customer-collect-submit.ant-btn { + height: 48px; + margin-top: 14px; + color: #fff !important; + border-color: #2f6fed !important; + border-radius: 10px; + background: #2f6fed !important; + font-size: 15px; + font-weight: 700; +} + +.customer-auth-page.is-douyu .customer-collect-submit.ant-btn:hover, +.customer-auth-page.is-douyu .customer-collect-submit.ant-btn:focus-visible { + color: #fff !important; + border-color: #4a83ff !important; + background: #4a83ff !important; +} diff --git a/apps/frontend/src/styles/customer/platform/huya.css b/apps/frontend/src/styles/customer/platform/huya.css new file mode 100644 index 00000000..dc8abfb6 --- /dev/null +++ b/apps/frontend/src/styles/customer/platform/huya.css @@ -0,0 +1,136 @@ +/** 虎牙客户安全验证样式。 */ + +.huya-slider-challenge { + display: flex; + flex-direction: column; + gap: 14px; +} + +.huya-slider-challenge > p { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + gap: 6px 12px; + margin: 0; + color: #475569; + font-size: 14px; + line-height: 1.65; +} + +.huya-challenge-progress { + color: #c2410c; + font-size: 12px; + font-weight: 700; +} + +.huya-click-tip { + display: block; + max-width: 100%; + max-height: 64px; + object-fit: contain; +} + +.huya-slider-stage { + position: relative; + width: 100%; + overflow: hidden; + border: 1px solid rgba(148, 163, 184, 0.36); + border-radius: 8px; + background: #e2e8f0; + user-select: none; +} + +.huya-slider-stage.is-click { + cursor: crosshair; +} + +.huya-slider-background, +.huya-slider-puzzle { + pointer-events: none; + user-select: none; +} + +.huya-slider-puzzle.is-rotate { + transform-origin: center; +} + +.huya-click-point { + position: absolute; + display: grid; + width: 24px; + height: 24px; + place-items: center; + color: #fff; + font-size: 12px; + font-weight: 700; + border: 2px solid #fff; + border-radius: 50%; + background: #ea580c; + box-shadow: 0 2px 8px rgba(15, 23, 42, 0.32); + transform: translate(-50%, -50%); + pointer-events: none; +} + +.huya-slider-background { + display: block; + width: 100%; + height: 100%; +} + +.huya-slider-puzzle { + position: absolute; + max-width: none; + height: auto; +} + +.huya-slider-track { + position: relative; + height: 46px; + overflow: hidden; + border: 1px solid rgba(148, 163, 184, 0.36); + border-radius: 8px; + background: #f1f5f9; + touch-action: none; +} + +.huya-slider-track-fill { + position: absolute; + inset: 0 auto 0 0; + max-width: 100%; + background: rgba(249, 115, 22, 0.16); +} + +.huya-slider-handle { + position: absolute; + top: 3px; + left: 3px; + width: 58px; + height: 38px; + padding: 0; + color: #111827; + font-size: 13px; + font-weight: 700; + border: 0; + border-radius: 6px; + background: #f97316; + cursor: grab; + touch-action: none; +} + +.huya-slider-handle:active { + cursor: grabbing; +} + +.huya-rotate-control { + display: grid; + grid-template-columns: minmax(0, 1fr) 48px; + gap: 12px; + align-items: center; +} + +.huya-rotate-control > span { + color: #475569; + font-size: 13px; + font-variant-numeric: tabular-nums; + text-align: right; +} diff --git a/apps/frontend/src/styles/customer/platform/weibo.css b/apps/frontend/src/styles/customer/platform/weibo.css new file mode 100644 index 00000000..6f80295a --- /dev/null +++ b/apps/frontend/src/styles/customer/platform/weibo.css @@ -0,0 +1,33 @@ +/** 微博客户领取页平台差异样式。 */ + +.customer-auth-page.is-weibo .customer-auth-hero { + min-height: 134px; + align-items: flex-start; + justify-content: flex-start; + padding: 26px 20px 20px; + background-color: #0b1220; + background-image: + linear-gradient(180deg, rgba(11, 18, 32, 0.12) 0%, rgba(11, 18, 32, 0.72) 72%, #232936 100%), + url('/images/customer/inside-kv.jpg'); + background-repeat: no-repeat; + background-position: center 38%; + background-size: cover; +} + +.customer-auth-page.is-weibo .customer-auth-brand { + width: 100%; + justify-content: flex-start; +} + +.customer-auth-page.is-weibo .customer-auth-brand h1 { + text-align: left; + text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72); +} + +@media (max-width: 640px) { + .customer-auth-page.is-weibo .customer-auth-hero { + min-height: 118px; + padding: 20px 16px 14px; + background-position: center 42%; + } +} diff --git a/apps/frontend/src/styles/customer/profile.css b/apps/frontend/src/styles/customer/profile.css new file mode 100644 index 00000000..5e36ae65 --- /dev/null +++ b/apps/frontend/src/styles/customer/profile.css @@ -0,0 +1,234 @@ +/* 客户资料页(图 1) */ +.customer-collect-page { + min-height: 100vh; + background: #0b1220; + color: #e5e7eb; +} + +/* 资料页顶部 KV:原图 https://game.gtimg.cn/images/gp/web201908/inside_kv.jpg(本地 1600×510 q82) */ +.customer-collect-hero { + position: relative; + min-height: clamp(190px, 24vw, 240px); + display: flex; + align-items: flex-end; + justify-content: center; + padding: 0 20px 16px; + overflow: hidden; + text-align: center; + background-color: #0b1220; + background-image: + linear-gradient(180deg, rgba(11, 18, 32, 0) 45%, rgba(11, 18, 32, 0.55) 72%, #0b1220 100%), + url('/images/customer/inside-kv.jpg'); + background-repeat: no-repeat; + background-position: center 38%; + background-size: cover; +} + +.customer-collect-warning { + margin: 0; + text-align: center; + color: #f87171; + font-size: 17px; + font-weight: 600; + text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); +} + +@media (max-width: 640px) { + .customer-collect-hero { + min-height: 180px; + padding: 0 16px 14px; + background-position: center 42%; + } + + .customer-collect-warning { + font-size: 15px; + } +} + +.customer-collect-body { + max-width: 560px; + margin: 0 auto; + padding: 24px 20px 48px; + display: flex; + flex-direction: column; + gap: 12px; +} + +.customer-collect-label { + margin-top: 8px; + color: #e5e7eb; + font-size: 15px; + line-height: 1.4; +} + +.customer-collect-label span { + color: #f87171; +} + +.customer-collect-readonly { + height: 48px; + display: flex; + align-items: center; + padding: 0 16px; + border-radius: 12px; + background: #1b2436; + border: 1px solid #26344d; + color: #94a3b8; + font-size: 15px; +} + +.customer-collect-card { + margin: 10px 0; + padding: 16px; + border-radius: 12px; + border: 1px solid #1e2f4a; + background: #141d30; + display: flex; + flex-direction: column; + gap: 12px; +} + +.customer-collect-card > div { + display: flex; + align-items: flex-start; + justify-content: space-between; + gap: 12px; + color: #cbd5e1; + font-size: 15px; + line-height: 1.5; +} + +.customer-collect-card > div > span { + flex: 0 0 auto; + white-space: nowrap; +} + +.customer-collect-card > div strong { + flex: 1 1 auto; + min-width: 0; + color: #fff; + font-weight: 600; + text-align: right; + overflow-wrap: anywhere; +} + +.customer-collect-card > p { + margin: 6px 0 0; + color: #fbbf24; + font-size: 13px; + text-align: center; +} + +.customer-collect-input.ant-input { + height: 48px; + border-radius: 12px; + background: #1b2436; + border-color: #26344d; + color: #fff; +} + +.customer-collect-input.ant-input::placeholder { + color: #64748b; +} + +.customer-collect-select.ant-select { + width: 100%; + height: 48px; + padding-inline: 16px; + align-items: center; + font-size: 15px; + border-radius: 12px; + border: 1px solid #26344d; + background: #1b2436; + color: #fff; + --ant-select-height: 48px; + --ant-select-border-radius: 12px; + --ant-select-border-color: #26344d; + --ant-select-background-color: #1b2436; + --ant-select-color: #fff; + --ant-select-hover-border-color: #3b4d6b; + --ant-select-active-border-color: #2563eb; + --ant-select-active-outline-color: rgba(37, 99, 235, 0.2); +} + +.customer-collect-select.ant-select:hover { + border-color: #3b4d6b; +} + +.customer-collect-select.ant-select.ant-select-focused { + border-color: #2563eb; + box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2); +} + +.customer-collect-select .ant-select-content { + align-items: center; +} + +.customer-collect-select .ant-select-selection-item { + color: #fff; + line-height: 1.5; +} + +.customer-collect-select .ant-select-placeholder { + color: #64748b; +} + +.customer-collect-select .ant-select-suffix { + color: #94a3b8; +} + +.ant-select-dropdown.customer-collect-dropdown { + padding: 6px; + border-radius: 12px; + background: #141d30; + box-shadow: 0 14px 34px rgba(2, 6, 23, 0.55); + --ant-select-option-active-bg: #1b2436; + --ant-select-option-selected-bg: #1e3a8a; + --ant-select-option-selected-color: #fff; +} + +.customer-collect-dropdown .ant-select-item { + border-radius: 8px; + color: #cbd5e1; +} + +.customer-collect-dropdown .ant-select-item-option-active { + background: #1b2436 !important; + color: #fff; +} + +.customer-collect-dropdown .ant-select-item-option-selected { + background: #1e3a8a !important; + color: #fff; + font-weight: 600; +} + +.customer-collect-page .customer-collect-submit.ant-btn, +.customer-auth-profile .customer-collect-submit.ant-btn { + height: 52px; + margin-top: 14px; + border-radius: 14px; + font-size: 17px; + font-weight: 600; + --ant-btn-bg-color: #2563eb; + --ant-btn-bg-color-hover: #1d4ed8; + --ant-btn-bg-color-active: #1e40af; + --ant-btn-text-color: #fff; + --ant-btn-text-color-hover: #fff; + --ant-btn-text-color-active: #fff; + --ant-btn-border-color: #2563eb; + --ant-btn-border-color-hover: #1d4ed8; + --ant-btn-border-color-active: #1e40af; + background: #2563eb !important; + border-color: #2563eb !important; + color: #fff !important; +} + +.customer-collect-page .customer-collect-submit.ant-btn:hover, +.customer-collect-page .customer-collect-submit.ant-btn:focus-visible, +.customer-auth-profile .customer-collect-submit.ant-btn:hover, +.customer-auth-profile .customer-collect-submit.ant-btn:focus-visible { + background: #1d4ed8 !important; + border-color: #1d4ed8 !important; + color: #fff !important; +} diff --git a/apps/frontend/src/styles/customer/responsive.css b/apps/frontend/src/styles/customer/responsive.css new file mode 100644 index 00000000..bdc80ab7 --- /dev/null +++ b/apps/frontend/src/styles/customer/responsive.css @@ -0,0 +1,162 @@ +@media (max-width: 640px) { + .customer-auth-page { + height: auto; + min-height: 100vh; + overflow: visible; + padding: 0; + background: var(--auth-panel); + } + + .customer-auth-shell { + width: 100%; + height: auto; + display: block; + border: 0; + border-radius: 0; + box-shadow: none; + } + + .customer-auth-hero { + min-height: auto; + padding: 38px 16px 10px; + background: none; + } + + .customer-auth-brand h1 { + font-size: 20px; + } + + .customer-auth-warning { + padding: 6px 16px 10px; + font-size: 14px; + } + + .customer-auth-main { + overflow: visible; + } + + .customer-auth-content-stack { + height: auto; + min-height: 0; + } + + .customer-auth-facts { + padding-inline: 20px; + } + + .customer-auth-facts > div { + grid-template-columns: 92px minmax(0, 1fr); + gap: 12px; + min-height: 52px; + padding-block: 8px; + } + + .customer-auth-facts > div > span { + font-size: 13px; + } + + .customer-auth-facts > div > strong { + font-size: 15px; + line-height: 1.35; + } + + .customer-auth-section { + padding: 16px; + } + + .customer-auth-section-copy h2, + .customer-auth-state h2 { + font-size: 20px; + } + + .customer-auth-section-copy p, + .customer-auth-state p, + .customer-auth-form-copy { + font-size: 13px; + line-height: 1.5; + } + + .customer-auth-tabs { + margin-top: 0; + } + + .customer-auth-tabs .ant-tabs-nav { + margin-bottom: 10px; + } + + .customer-auth-tabs .ant-tabs-nav-list { + gap: 4px; + padding: 4px; + } + + .customer-auth-tabs .ant-tabs-tab { + padding: 9px 14px; + } + + .customer-auth-tabs .ant-tabs-tab-btn { + font-size: 15px; + } + + .customer-auth-form { + gap: 10px; + padding-top: 0; + } + + .customer-auth-field { + min-height: 44px; + border-radius: 9px; + } + + .customer-auth-phone-field { + grid-template-columns: 50px minmax(0, 1fr) 104px; + } + + .customer-auth-code-field { + grid-template-columns: minmax(0, 1fr) 104px; + } + + .customer-auth-field .ant-select, + .customer-auth-field .ant-select-selector, + .customer-auth-field .ant-input, + .customer-auth-field .ant-input-affix-wrapper { + height: 44px; + } + + .customer-auth-field .ant-select-selection-item { + line-height: 42px !important; + } + + .customer-auth-field .ant-input-affix-wrapper { + padding-inline: 12px; + } + + .customer-auth-code-field { + padding: 4px; + } + + .customer-auth-code-submit { + height: 36px !important; + } + + .customer-auth-send-code { + height: 36px !important; + } + + .customer-auth-form-hint { + font-size: 10px; + line-height: 1.35; + } + + .customer-auth-qr-image, + .customer-auth-qr-placeholder { + width: 232px; + min-height: 232px; + } + + .customer-auth-privacy { + margin: 8px 16px 12px; + padding: 8px 12px; + font-size: 12px; + line-height: 1.45; + } +} diff --git a/apps/frontend/src/styles/customer/status.css b/apps/frontend/src/styles/customer/status.css new file mode 100644 index 00000000..dcf8972f --- /dev/null +++ b/apps/frontend/src/styles/customer/status.css @@ -0,0 +1,106 @@ +.customer-auth-button-stack { + width: min(100%, 580px); + display: flex; + flex-direction: column; + gap: 12px; +} + +.customer-auth-button-stack .ant-btn, +.customer-auth-form > .ant-btn { + height: 52px; + font-size: 17px; +} + +.customer-auth-status-pill { + display: inline-flex; + align-items: center; + justify-content: center; + min-height: 34px; + padding: 4px 15px; + color: #fff; + font-size: 15px !important; + font-weight: 600 !important; + text-align: center; + border-radius: 999px; + background: #3169aa; +} + +.customer-auth-status-pill.is-pending, +.customer-auth-status-pill.is-scanned { + background: #3a6fa8; +} + +.customer-auth-status-pill.is-success { + background: #237a57; +} + +.customer-auth-status-pill.is-danger { + background: #a33a48; +} + +.customer-auth-state { + display: flex; + flex-direction: column; + align-items: center; + gap: 12px; + padding: 48px 26px; + text-align: center; +} + +.customer-auth-state h2 { + margin: 0; +} + +.customer-auth-state p { + max-width: 560px; +} + +.customer-auth-state-icon { + width: 58px; + height: 58px; + display: grid; + place-items: center; + color: var(--auth-accent); + font-size: 29px; + border: 1px solid rgba(255, 255, 255, 0.16); + border-radius: 50%; + background: rgba(255, 255, 255, 0.045); +} + +.customer-auth-state.is-success .customer-auth-state-icon { + color: #52d39a; +} + +.customer-auth-state.is-error .customer-auth-state-icon { + color: #ff6975; +} + +.customer-auth-state-time { + color: var(--auth-muted); + font-size: 12px; +} + +.customer-auth-loading { + min-height: 240px; + display: grid; + place-items: center; + align-content: center; + gap: 14px; + color: var(--auth-muted); +} + +.customer-auth-privacy { + margin: 24px 26px 28px; + padding: 14px 18px; + color: #d8b46a; + font-size: 14px; + line-height: 1.65; + text-align: center; + border: 1px solid rgba(216, 180, 106, 0.64); + border-radius: 5px; + background: rgba(0, 0, 0, 0.08); +} + +.customer-auth-page .ant-spin-dot-item { + background: var(--auth-accent); +} diff --git a/apps/frontend/src/styles/main.css b/apps/frontend/src/styles/main.css index fc728f8c..bb223aba 100644 --- a/apps/frontend/src/styles/main.css +++ b/apps/frontend/src/styles/main.css @@ -3,12 +3,17 @@ * 按业务模块拆分,便于维护与多人协作开发: * 1. base.css - 全局主题变量、基础排版、重置、通用工具类 * 2. admin.css - 后台管理端 (Admin Portal & Login) - * 3. client.css - 买家前台提卡与聚合页 (Buyer Claim & Collect) - * 4. worker.css - 打手接单端 PC 与移动端 (Worker Portal & Mobile) + * 3. client.css - 买家提卡、补资料与兑换页样式入口 + * 4. customer/ - 客户领取页公共流程及平台差异 + * 5. worker.css - 打手接单端 PC 与移动端 (Worker Portal & Mobile) */ @import './base.css'; @import './admin.css'; @import './client.css'; +@import './customer/base.css'; +@import './customer/platform/huya.css'; +@import './customer/platform/weibo.css'; +@import './customer/platform/douyu.css'; @import './worker.css'; @import './table.css';