This commit is contained in:
“虞渠成” 2026-06-26 14:15:49 +08:00
parent 12eab8a3e1
commit dda8163ac4
3 changed files with 13 additions and 20 deletions

View File

@ -904,7 +904,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 30, y: -200}
m_SizeDelta: {x: -60, y: 40}
m_SizeDelta: {x: -60, y: 50}
m_Pivot: {x: 0, y: 1}
--- !u!222 &8054373993398652999
CanvasRenderer:

View File

@ -71,16 +71,13 @@ namespace Kill.UI.Pages
}
else
{
await LoginPageCtrl.Instance.SendCode(email, () =>
// 设置验证码页面为注册场景
var verifyPanel = GetSubPage(LoginPageCtrl.SubPageType.VerificationCode) as VerificationCodePanel;
if (verifyPanel != null)
{
// 设置验证码页面为注册场景
var verifyPanel = GetSubPage(LoginPageCtrl.SubPageType.VerificationCode) as VerificationCodePanel;
if (verifyPanel != null)
{
verifyPanel.SetSceneType(VerificationCodePanel.CodeSceneType.Register);
}
ShowPage(LoginPageCtrl.SubPageType.VerificationCode);
});
verifyPanel.SetSceneType(VerificationCodePanel.CodeSceneType.Register);
}
ShowPage(LoginPageCtrl.SubPageType.VerificationCode);
}
},
onError: (code, message) =>

View File

@ -51,17 +51,13 @@ namespace Kill.UI.Pages
}
else
{
LoginPageCtrl.Instance.SetCurrentEmail(email);
await LoginPageCtrl.Instance.SendCode(email, () =>
// 设置验证码页面为注册场景
var verifyPanel = GetSubPage(LoginPageCtrl.SubPageType.VerificationCode) as VerificationCodePanel;
if (verifyPanel != null)
{
// 设置验证码页面为注册场景
var verifyPanel = GetSubPage(LoginPageCtrl.SubPageType.VerificationCode) as VerificationCodePanel;
if (verifyPanel != null)
{
verifyPanel.SetSceneType(VerificationCodePanel.CodeSceneType.bindThirdParty);
}
ShowPage(LoginPageCtrl.SubPageType.VerificationCode);
});
verifyPanel.SetSceneType(VerificationCodePanel.CodeSceneType.bindThirdParty);
}
ShowPage(LoginPageCtrl.SubPageType.VerificationCode);
}
},