merge(douyu): 合入客户领取与直播账号履约
- 合入斗鱼客户资料收集、角色绑定和半自动履约工作台 - 合入事务 Outbox、签名 Webhook 与低频对账链路 - 合入双角色识别、绑定重置、取消释放账号和已分配状态修复 - 将斗鱼履约数据库变更合并为单个 171 迁移文件 - 更新拆分后的客户样式测试入口并适配最新 main 客户页样式
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user