From a715181089be0d31cd737a5367ffd02690b9d77f Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 12 十一月 2020 13:36:01 +0800
Subject: [PATCH] 20201112
---
HDL_ON/UI/UI1-Login/ForgetPasswordPageBLL.cs | 30 ++++++++++++++++++++----------
1 files changed, 20 insertions(+), 10 deletions(-)
diff --git a/HDL_ON/UI/UI1-Login/ForgetPasswordPageBLL.cs b/HDL_ON/UI/UI1-Login/ForgetPasswordPageBLL.cs
index 794f88a..ebbdac0 100644
--- a/HDL_ON/UI/UI1-Login/ForgetPasswordPageBLL.cs
+++ b/HDL_ON/UI/UI1-Login/ForgetPasswordPageBLL.cs
@@ -30,6 +30,11 @@
//閫夋嫨鎵嬫満鏂瑰紡
btnPhoneLogin.MouseUpEventHandler += (sender, e) =>
{
+ if (registerType == 0)
+ return;
+ etAccount.Text = registerPhone;
+ etPassword.Text = "";
+ etRepeatPassword.Text = "";
#region 鍒囨崲閫変腑鎸夐挳
btnGetVerificationCode_Phone.Visible = true;
btnGetVerificationCode_Mail.Visible = false;
@@ -37,7 +42,7 @@
btnEmailLogin.TextSize = CSS_FontSize.TextFontSize;
btnPhoneLogin.TextColor = CSS_Color.MainColor;
btnPhoneLogin.TextSize = CSS_FontSize.EmphasisFontSize_Secondary;
- etAccount.PlaceholderText = Language.StringByID(StringId.PlsEntryAccount);
+ etAccount.PlaceholderText = Language.StringByID(StringId.PlsEntryPhoneNumber);
#endregion
#region 鍒囨崲鏂瑰紡鏂瑰紡鍙婂浘鏍�
@@ -53,6 +58,11 @@
//閫夋嫨閭鏂瑰紡
btnEmailLogin.MouseUpEventHandler += (sender, e) =>
{
+ if (registerType == 1)
+ return;
+ etAccount.Text = registerEmail;
+ etPassword.Text = "";
+ etRepeatPassword.Text = "";
#region 鍒囨崲閫変腑鎸夐挳
btnGetVerificationCode_Phone.Visible = false;
btnGetVerificationCode_Mail.Visible = true;
@@ -141,7 +151,7 @@
btnAccountViewBottomLine.Height = Application.GetRealHeight(2);
new Tip()
{
- CloseTime = 3,
+ CloseTime = 1,
Text = Language.StringByID(StringId.PlsEntryCorrectMobilNeumber),
Direction = AMPopTipDirection.None,
}.Show(bodyView);
@@ -167,7 +177,7 @@
btnAccountViewBottomLine.Height = Application.GetRealHeight(2);
new Tip()
{
- CloseTime = 3,
+ CloseTime = 1,
Text = Language.StringByID(StringId.PlsEntryCorrectEmailAddress),
Direction = AMPopTipDirection.None,
}.Show(bodyView);
@@ -201,7 +211,7 @@
{
new Tip()
{
- CloseTime = 3,
+ CloseTime = 1,
Direction = AMPopTipDirection.None,
Text = Language.StringByID(StringId.PasswordIsUnqualified)
}.Show(bodyView);
@@ -228,7 +238,7 @@
btnRepeatPasswordViewBottomLine.Height = Application.GetRealHeight(2);
new Tip()
{
- CloseTime = 3,
+ CloseTime = 1,
Direction = AMPopTipDirection.None,
Text = Language.StringByID(StringId.IncorrectRepeatPassword)
}.Show(bodyView);
@@ -314,7 +324,7 @@
}){ IsBackground = true}.Start();
new Thread(() =>
{
- var result = pm.SendSms(account);
+ var result = pm.GetLoginVerCode(account);
if (result.StateCode.ToUpper() == "SUCCESS")
{
}
@@ -324,7 +334,7 @@
switch (result.StateCode)
{
case "Exist":
- tipString = Language.StringByID(StringId.AccountAlreadyExists);
+ tipString = Language.StringByID(StringId.AccountAlreadyUse);
break;
case "SendFail":
tipString = Language.StringByID(StringId.FailedToSendVerificationCode);
@@ -341,7 +351,7 @@
{
new Tip()
{
- CloseTime = 3,
+ CloseTime = 1,
Direction = AMPopTipDirection.None,
Text = tipString
}.Show(bodyView);
@@ -424,7 +434,7 @@
waitPage.Hide();
new Tip()
{
- CloseTime = 3,
+ CloseTime = 1,
Direction = AMPopTipDirection.None,
Text = erorrInfo,
}.Show(bodyView);
@@ -461,7 +471,7 @@
waitPage.Hide();
new Tip()
{
- CloseTime = 3,
+ CloseTime = 1,
Direction = AMPopTipDirection.None,
Text = erorrInfo,
}.Show(bodyView);
--
Gitblit v1.8.0