feat(semi-auto): 首次绑定自动提交并由客户本地确认,统一客户页控件尺寸
1) 首次绑定(isBindAccount/isBindRole 任一为 0)扫码完成后自动调 confirmBindActAccount,新增 bindConfirmState/bindConfirmMessage,失败透出虎牙原文并提示重新扫码。 2) 确认绑定改为纯本地流转:不再调用 confirmBindActAccount,也不再重复查角色;换绑被虎牙拒绝时需 acceptExistingRole 二次确认「仍使用原角色」。新增 bindingSnapshot 只读快照。 3) 客户页资料收集去掉顶部大图,只保留温馨提示;输入框/选择器 48px、主按钮 52px、次级按钮 48px,登录/绑定/资料页统一。 4) 修正已确认/已过期/绑定失败状态仍显示「登录成功,请继续扫码绑定游戏角色」的横幅错误,改为按 bindingStatus 显式映射,确认后只保留「等待客服核实」卡片。
This commit is contained in:
@@ -2149,30 +2149,12 @@
|
||||
}
|
||||
|
||||
.customer-collect-hero {
|
||||
position: relative;
|
||||
height: 210px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.customer-collect-hero-image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
object-position: left center;
|
||||
filter: saturate(0.9) brightness(0.72);
|
||||
}
|
||||
|
||||
.customer-collect-hero-mask {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(180deg, rgba(11, 18, 32, 0.1), rgba(11, 18, 32, 0.96));
|
||||
padding: 42px 20px 6px;
|
||||
text-align: center;
|
||||
background: linear-gradient(180deg, #0f1a2d, #0b1220);
|
||||
}
|
||||
|
||||
.customer-collect-warning {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 22px;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
color: #f87171;
|
||||
@@ -2201,7 +2183,7 @@
|
||||
}
|
||||
|
||||
.customer-collect-readonly {
|
||||
height: 56px;
|
||||
height: 48px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 16px;
|
||||
@@ -2255,7 +2237,7 @@
|
||||
}
|
||||
|
||||
.customer-collect-input.ant-input {
|
||||
height: 56px;
|
||||
height: 48px;
|
||||
border-radius: 12px;
|
||||
background: #1b2436;
|
||||
border-color: #26344d;
|
||||
@@ -2268,7 +2250,7 @@
|
||||
|
||||
.customer-collect-select.ant-select {
|
||||
width: 100%;
|
||||
height: 56px;
|
||||
height: 48px;
|
||||
padding-inline: 16px;
|
||||
align-items: center;
|
||||
font-size: 15px;
|
||||
@@ -2276,7 +2258,7 @@
|
||||
border: 1px solid #26344d;
|
||||
background: #1b2436;
|
||||
color: #fff;
|
||||
--ant-select-height: 56px;
|
||||
--ant-select-height: 48px;
|
||||
--ant-select-border-radius: 12px;
|
||||
--ant-select-border-color: #26344d;
|
||||
--ant-select-background-color: #1b2436;
|
||||
@@ -2340,7 +2322,7 @@
|
||||
|
||||
.customer-collect-page .customer-collect-submit.ant-btn,
|
||||
.customer-auth-profile .customer-collect-submit.ant-btn {
|
||||
height: 56px;
|
||||
height: 52px;
|
||||
margin-top: 14px;
|
||||
border-radius: 14px;
|
||||
font-size: 17px;
|
||||
@@ -2391,7 +2373,7 @@
|
||||
.customer-login-mobile.ant-input {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
height: 52px;
|
||||
height: 48px;
|
||||
padding: 0 16px;
|
||||
border-radius: 8px;
|
||||
border-color: #3a4150;
|
||||
@@ -2407,7 +2389,7 @@
|
||||
.customer-login-code-button.ant-btn {
|
||||
flex: none;
|
||||
width: 118px;
|
||||
height: 52px;
|
||||
height: 48px;
|
||||
border-radius: 8px;
|
||||
background: #3b82f6 !important;
|
||||
border-color: #3b82f6 !important;
|
||||
@@ -2416,7 +2398,7 @@
|
||||
}
|
||||
|
||||
.customer-login-code-input.ant-input {
|
||||
height: 52px;
|
||||
height: 48px;
|
||||
border-radius: 8px;
|
||||
border-color: #3a4150;
|
||||
background: #1b2130;
|
||||
@@ -2431,7 +2413,7 @@
|
||||
}
|
||||
|
||||
.customer-login-submit.ant-btn {
|
||||
height: 56px;
|
||||
height: 52px;
|
||||
border-radius: 14px;
|
||||
background: #2563eb !important;
|
||||
border-color: #2563eb !important;
|
||||
@@ -2448,7 +2430,7 @@
|
||||
}
|
||||
|
||||
.customer-login-alt.ant-btn {
|
||||
height: 52px;
|
||||
height: 48px;
|
||||
border-radius: 8px;
|
||||
background: transparent !important;
|
||||
border-color: #3a4150 !important;
|
||||
@@ -2634,7 +2616,7 @@
|
||||
}
|
||||
|
||||
.customer-binding-role-actions .customer-binding-confirm.ant-btn {
|
||||
height: 56px;
|
||||
height: 52px;
|
||||
border-radius: 14px;
|
||||
background: #2563eb !important;
|
||||
border-color: #2563eb !important;
|
||||
@@ -2651,7 +2633,7 @@
|
||||
}
|
||||
|
||||
.customer-binding-role-actions .customer-binding-rebind.ant-btn {
|
||||
height: 56px;
|
||||
height: 48px;
|
||||
border-radius: 14px;
|
||||
background: transparent !important;
|
||||
border-color: #3a4150 !important;
|
||||
@@ -2671,6 +2653,23 @@
|
||||
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;
|
||||
@@ -2804,7 +2803,7 @@
|
||||
|
||||
.customer-binding-next.ant-btn {
|
||||
width: 100%;
|
||||
height: 56px;
|
||||
height: 52px;
|
||||
margin-top: 6px;
|
||||
border-radius: 14px;
|
||||
background: #2563eb !important;
|
||||
@@ -2897,7 +2896,7 @@
|
||||
|
||||
.customer-auth-button-stack .ant-btn,
|
||||
.customer-auth-form > .ant-btn {
|
||||
height: 50px;
|
||||
height: 52px;
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user