fix(semi-auto): 换绑失败卡透出虎牙原因与下次换绑时间,会话过期可返回登录
1) 下次换绑时间改按虎牙日界口径:changeBindTime 是绑定日次日 00:00,(日界 + changeBindDay - 1) 天;11-16 绑定 → 2026-11-23,与虎牙绑定页一致(原 +7 天会显示 11-24)。 2) 客户页换绑失败卡同时展示虎牙原文原因、预计下次可换绑时间与「每 7 个自然日可换绑 1 次」规则。 3) 绑定会话失效时给出整行「返回登录」入口;二维码加载失败可重试;告警标题统一为亮色不再黑字;提交类按钮统一 56px 蓝色主按钮。
This commit is contained in:
@@ -2431,13 +2431,20 @@
|
||||
}
|
||||
|
||||
.customer-login-submit.ant-btn {
|
||||
height: 52px;
|
||||
border-radius: 8px;
|
||||
background: #0aa53a !important;
|
||||
border-color: #0aa53a !important;
|
||||
height: 56px;
|
||||
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;
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.customer-login-alt.ant-btn {
|
||||
@@ -2498,6 +2505,53 @@
|
||||
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;
|
||||
@@ -2513,6 +2567,14 @@
|
||||
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;
|
||||
@@ -2525,7 +2587,8 @@
|
||||
}
|
||||
|
||||
.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-message,
|
||||
.customer-binding-stage .ant-alert-warning .ant-alert-title {
|
||||
color: #fbbf24;
|
||||
}
|
||||
|
||||
@@ -2539,7 +2602,8 @@
|
||||
}
|
||||
|
||||
.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-message,
|
||||
.customer-binding-stage .ant-alert-error .ant-alert-title {
|
||||
color: #fca5a5;
|
||||
}
|
||||
|
||||
@@ -2553,7 +2617,8 @@
|
||||
}
|
||||
|
||||
.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-message,
|
||||
.customer-binding-stage .ant-alert-success .ant-alert-title {
|
||||
color: #6ee7b7;
|
||||
}
|
||||
|
||||
@@ -2739,12 +2804,13 @@
|
||||
|
||||
.customer-binding-next.ant-btn {
|
||||
width: 100%;
|
||||
height: 46px;
|
||||
height: 56px;
|
||||
margin-top: 6px;
|
||||
border-radius: 8px;
|
||||
border-radius: 14px;
|
||||
background: #2563eb !important;
|
||||
border-color: #2563eb !important;
|
||||
color: #fff !important;
|
||||
font-size: 17px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user