merge(douyu): 合入客户领取与直播账号履约
- 合入斗鱼客户资料收集、角色绑定和半自动履约工作台 - 合入事务 Outbox、签名 Webhook 与低频对账链路 - 合入双角色识别、绑定重置、取消释放账号和已分配状态修复 - 将斗鱼履约数据库变更合并为单个 171 迁移文件 - 更新拆分后的客户样式测试入口并适配最新 main 客户页样式
This commit is contained in:
@@ -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;
|
||||
}
|
||||
@@ -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';
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,240 @@
|
||||
/** 客户领取页公共样式:布局、表单、登录、订单、角色绑定与状态。 */
|
||||
|
||||
/**
|
||||
* 客户领取页样式
|
||||
*
|
||||
* 覆盖虎牙、微博、斗鱼客户领取、资料收集、角色绑定与二维码阶段。
|
||||
* 从 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 {
|
||||
position: relative;
|
||||
min-height: clamp(112px, 15vw, 136px);
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: flex-start;
|
||||
padding: 12px 20px 14px;
|
||||
overflow: hidden;
|
||||
text-align: left;
|
||||
background-color: #0b1220;
|
||||
background-image:
|
||||
linear-gradient(180deg, rgba(11, 18, 32, 0.06) 0%, rgba(11, 18, 32, 0.62) 72%, #232936 100%),
|
||||
url('/images/customer/inside-kv.jpg');
|
||||
background-repeat: no-repeat;
|
||||
background-position: center 38%;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
/* 微博与虎牙客户页统一使用同一套顶部 KV,不再单独覆盖背景。 */
|
||||
.customer-auth-brand {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
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: left;
|
||||
text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
|
||||
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;
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
@@ -0,0 +1,240 @@
|
||||
/* ==========================================================================
|
||||
客户履约页(半自动)固定移动端 + 窄屏自适应
|
||||
--------------------------------------------------------------------------
|
||||
全局 base.css 给 body 设了 min-width:320px,worker.css 又用 overflow-x:hidden
|
||||
裁掉横向溢出。应用内浏览器 / 分屏 / 系统显示放大时实际视口可能小于 320px,
|
||||
页面右侧(输入框、商品值、提示文案)会被直接裁掉。
|
||||
下面只作用于客户履约页(body.customer-mobile-body),不影响后台与打手端。
|
||||
========================================================================== */
|
||||
|
||||
html.customer-mobile-html,
|
||||
body.customer-mobile-body {
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
body.customer-mobile-body #root {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
body.customer-mobile-body .customer-collect-page,
|
||||
body.customer-mobile-body .customer-auth-page {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
max-width: 100%;
|
||||
min-height: 100vh;
|
||||
min-height: 100dvh;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
body.customer-mobile-body .customer-collect-hero {
|
||||
width: min(480px, 100%);
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
body.customer-mobile-body .customer-collect-body {
|
||||
width: 100%;
|
||||
max-width: 480px;
|
||||
margin: 0 auto;
|
||||
padding: 20px clamp(12px, 4vw, 20px) calc(40px + env(safe-area-inset-bottom));
|
||||
padding-left: max(clamp(12px, 4vw, 20px), env(safe-area-inset-left));
|
||||
padding-right: max(clamp(12px, 4vw, 20px), env(safe-area-inset-right));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
body.customer-mobile-body .customer-auth-shell {
|
||||
width: min(480px, 100%);
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
body.customer-mobile-body .customer-auth-main {
|
||||
padding-bottom: calc(24px + env(safe-area-inset-bottom));
|
||||
}
|
||||
|
||||
body.customer-mobile-body .customer-auth-content-stack,
|
||||
body.customer-mobile-body .customer-auth-section,
|
||||
body.customer-mobile-body .customer-auth-facts,
|
||||
body.customer-mobile-body .customer-auth-facts > div,
|
||||
body.customer-mobile-body .customer-auth-task-switcher,
|
||||
body.customer-mobile-body .customer-login-form,
|
||||
body.customer-mobile-body .customer-collect-card,
|
||||
body.customer-mobile-body .customer-order-card {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
body.customer-mobile-body .customer-collect-card,
|
||||
body.customer-mobile-body .customer-collect-readonly,
|
||||
body.customer-mobile-body .customer-collect-input.ant-input,
|
||||
body.customer-mobile-body .customer-collect-select.ant-select,
|
||||
body.customer-mobile-body .customer-login-mobile.ant-input,
|
||||
body.customer-mobile-body .customer-login-code-input.ant-input,
|
||||
body.customer-mobile-body .customer-login-submit.ant-btn,
|
||||
body.customer-mobile-body .customer-login-alt.ant-btn {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* 订单卡片自带左右 16px 外边距,不能用 width:100% 再加边距 */
|
||||
body.customer-mobile-body .customer-order-card {
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
body.customer-mobile-body .customer-collect-card > div,
|
||||
body.customer-mobile-body .customer-order-card > div {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
body.customer-mobile-body .customer-collect-card > div strong,
|
||||
body.customer-mobile-body .customer-order-card > div strong {
|
||||
flex: 1 1 10ch;
|
||||
min-width: 0;
|
||||
overflow-wrap: anywhere;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
/* 状态胶囊保持自身宽度,不参与长值换行规则 */
|
||||
body.customer-mobile-body .customer-order-card > div strong.customer-order-status {
|
||||
flex: 0 0 auto;
|
||||
max-width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
body.customer-mobile-body .customer-collect-readonly {
|
||||
overflow-wrap: anywhere;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
body.customer-mobile-body .customer-collect-card > p {
|
||||
overflow-wrap: anywhere;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
body.customer-mobile-body .customer-login-form,
|
||||
body.customer-mobile-body .customer-login-mobile-row,
|
||||
body.customer-mobile-body .customer-login-code-input.ant-input {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
body.customer-mobile-body .customer-auth-role-card,
|
||||
body.customer-mobile-body .customer-auth-button-stack {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* 登录/绑定二维码:容器与图片都不超过可用宽度,避免 232/252/260px 固定宽溢出 */
|
||||
body.customer-mobile-body .customer-auth-qr-image,
|
||||
body.customer-mobile-body .customer-auth-qr-placeholder {
|
||||
width: min(252px, 100%);
|
||||
min-height: 0;
|
||||
aspect-ratio: 1;
|
||||
}
|
||||
|
||||
body.customer-mobile-body .customer-auth-qr-image .ant-image,
|
||||
body.customer-mobile-body .customer-auth-qr-image img,
|
||||
body.customer-mobile-body .customer-binding-qr-card .ant-image,
|
||||
body.customer-mobile-body .customer-binding-qr-card img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* 固定宽度弹窗(绑定确认 520 / 虎牙验证 430)在窄屏必须收到视口内 */
|
||||
@media (max-width: 640px) {
|
||||
.customer-binding-modal,
|
||||
.customer-huya-challenge-modal {
|
||||
width: calc(100vw - 24px) !important;
|
||||
max-width: 480px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.customer-binding-modal .ant-modal-content,
|
||||
.customer-huya-challenge-modal .ant-modal-content {
|
||||
max-height: calc(100vh - 32px);
|
||||
overflow-y: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 380px) {
|
||||
body.customer-mobile-body .customer-binding-qr-actions,
|
||||
body.customer-mobile-body .customer-binding-modal-actions {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 340px) {
|
||||
body.customer-mobile-body .customer-collect-body {
|
||||
padding-inline: 12px;
|
||||
}
|
||||
|
||||
/* 标签 + 长值改为上下排列,值不再被挤到屏幕外 */
|
||||
body.customer-mobile-body .customer-collect-card > div,
|
||||
body.customer-mobile-body .customer-order-card > div {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
body.customer-mobile-body .customer-collect-card > div strong,
|
||||
body.customer-mobile-body .customer-order-card > div strong {
|
||||
flex: 0 1 auto;
|
||||
max-width: 100%;
|
||||
justify-self: start;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
body.customer-mobile-body .customer-order-card > div strong.customer-order-status {
|
||||
flex: 0 0 auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
body.customer-mobile-body .customer-collect-card > p {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
body.customer-mobile-body .customer-login-mobile-row {
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
body.customer-mobile-body .customer-login-code-button.ant-btn {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
body.customer-mobile-body .customer-auth-task-switcher {
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
body.customer-mobile-body .customer-auth-task-switcher > span {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
body.customer-mobile-body .customer-auth-facts {
|
||||
padding-inline: 12px;
|
||||
}
|
||||
|
||||
body.customer-mobile-body .customer-auth-facts > div {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
gap: 4px;
|
||||
min-height: 0;
|
||||
padding-block: 12px;
|
||||
}
|
||||
|
||||
body.customer-mobile-body .customer-auth-facts > div > strong {
|
||||
justify-self: start;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
body.customer-mobile-body .customer-auth-state {
|
||||
padding: 32px 16px;
|
||||
}
|
||||
|
||||
body.customer-mobile-body .customer-auth-privacy {
|
||||
margin-inline: 16px;
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
@@ -0,0 +1,221 @@
|
||||
/** 虎牙客户安全验证样式。 */
|
||||
|
||||
.customer-huya-steps {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
margin: 12px 16px 0;
|
||||
padding: 12px 14px;
|
||||
list-style: none;
|
||||
border: 1px solid #3a4150;
|
||||
border-radius: 12px;
|
||||
background: #1b212c;
|
||||
}
|
||||
|
||||
.customer-huya-step {
|
||||
display: flex;
|
||||
flex: 1 1 0;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
min-width: 0;
|
||||
color: #64748b;
|
||||
font-size: 13px;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.customer-huya-step-index {
|
||||
display: inline-flex;
|
||||
flex: 0 0 auto;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
border: 1px solid #3a4150;
|
||||
border-radius: 50%;
|
||||
color: #94a3b8;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
background: #212733;
|
||||
}
|
||||
|
||||
.customer-huya-step-label {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.customer-huya-step.is-active {
|
||||
color: #f8fafc;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.customer-huya-step.is-active .customer-huya-step-index {
|
||||
color: #fff;
|
||||
border-color: #2563eb;
|
||||
background: #2563eb;
|
||||
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
|
||||
}
|
||||
|
||||
.customer-huya-step.is-done {
|
||||
color: #6ee7b7;
|
||||
}
|
||||
|
||||
.customer-huya-step.is-done .customer-huya-step-index {
|
||||
color: #6ee7b7;
|
||||
border-color: #065f46;
|
||||
background: rgba(6, 78, 59, 0.4);
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.customer-huya-steps {
|
||||
gap: 6px;
|
||||
margin: 10px 16px 0;
|
||||
padding: 10px 12px;
|
||||
}
|
||||
|
||||
.customer-huya-step {
|
||||
gap: 5px;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.customer-huya-step-index {
|
||||
width: 19px;
|
||||
height: 19px;
|
||||
font-size: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
/** 微博客户领取页平台差异样式。 */
|
||||
|
||||
.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);
|
||||
}
|
||||
@@ -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(132px, 18vw, 160px);
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: center;
|
||||
padding: 0 18px 12px;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
background-color: #0b1220;
|
||||
background-image:
|
||||
linear-gradient(180deg, rgba(11, 18, 32, 0) 38%, rgba(11, 18, 32, 0.55) 72%, #0b1220 100%),
|
||||
url('/images/customer/inside-kv.jpg');
|
||||
background-repeat: no-repeat;
|
||||
background-position: center 40%;
|
||||
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: 132px;
|
||||
padding: 0 16px 12px;
|
||||
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;
|
||||
}
|
||||
@@ -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: 112px;
|
||||
padding: 12px 16px 14px;
|
||||
background-position: center 42%;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user