fix(semi-auto): 换绑未生效原因与 7 天冷却提示

This commit is contained in:
2026-11-16 13:30:26 +08:00
parent 19367bdfdf
commit 5aa627a0ca
10 changed files with 781 additions and 93 deletions
+152 -7
View File
@@ -1855,7 +1855,7 @@
}
.customer-auth-page .ant-btn-primary {
color: #111827;
color: #fff;
border-color: var(--auth-accent);
background: var(--auth-accent);
font-weight: 700;
@@ -1863,7 +1863,7 @@
}
.customer-auth-page .ant-btn-primary:hover {
color: #111827 !important;
color: #fff !important;
border-color: var(--auth-accent-hover) !important;
background: var(--auth-accent-hover) !important;
}
@@ -2087,7 +2087,13 @@
font-size: 13px;
}
.customer-auth-profile,
.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);
@@ -2096,12 +2102,22 @@
}
.customer-auth-profile > p {
margin: 0 0 10px;
color: var(--auth-muted);
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;
@@ -2322,7 +2338,8 @@
font-weight: 600;
}
.customer-collect-page .customer-collect-submit.ant-btn {
.customer-collect-page .customer-collect-submit.ant-btn,
.customer-auth-profile .customer-collect-submit.ant-btn {
height: 56px;
margin-top: 14px;
border-radius: 14px;
@@ -2343,7 +2360,9 @@
}
.customer-collect-page .customer-collect-submit.ant-btn:hover,
.customer-collect-page .customer-collect-submit.ant-btn:focus-visible {
.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;
@@ -2479,6 +2498,114 @@
padding: 16px;
}
/* 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;
}
.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 {
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 {
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 {
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: 56px;
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: 56px;
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-info {
padding: 16px;
border: 1px solid #3a4150;
@@ -2543,6 +2670,24 @@
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;