From 4dce704aaf8587cf3f91cf88f2208315a03c4cbb Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期三, 08 四月 2020 13:54:58 +0800 Subject: [PATCH] 先上传一个版本 --- ZigbeeApp/Shared/Phone/Login/AccountLogin.cs | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Login/AccountLogin.cs b/ZigbeeApp/Shared/Phone/Login/AccountLogin.cs index 1d723ca..616eb2f 100755 --- a/ZigbeeApp/Shared/Phone/Login/AccountLogin.cs +++ b/ZigbeeApp/Shared/Phone/Login/AccountLogin.cs @@ -71,7 +71,11 @@ /// <summary> /// 杈撳叆鐨勭櫥闄嗚处鍙�(閲嶆柊鐧婚檰鏃朵娇鐢�) /// </summary> - private string oldInputAccount = string.Empty; + private string oldInputPhone = string.Empty; + /// <summary> + /// 杈撳叆鐨勭櫥闄嗚处鍙�(閲嶆柊鐧婚檰鏃朵娇鐢�) + /// </summary> + private string oldInputEmail = string.Empty; #endregion @@ -120,8 +124,8 @@ public void LoginViewShow(string account = "") { //璁剧疆涓�涓嬪垵濮嬪�� - if (account.Contains("@") == true) { this.oldInputAccount = account; } - else { this.oldInputAccount = account; } + if (account.Contains("@") == true) { this.oldInputEmail = account; } + else { this.oldInputPhone = account; } #region midFrameLayout midFrameLayout = new FrameLayout() @@ -751,7 +755,7 @@ return; } phoneRow = new PhoneLoginRowForm(); - phoneRow.Init(accountPwdFrameLayout, this, this.oldInputAccount, 29, 29); + phoneRow.Init(accountPwdFrameLayout, this, this.oldInputPhone, 29, 29); phoneRow.AccountET.TextChangeEventHandler += Account_TextChange; phonePwdRow = new PwdLoginRowForm(); @@ -776,7 +780,7 @@ return; } emailRow = new EmailLoginRowForm(); - emailRow.Init(accountPwdFrameLayout, this.oldInputAccount, 29, 29); + emailRow.Init(accountPwdFrameLayout, this.oldInputEmail, 29, 29); emailRow.AccountET.TextChangeEventHandler += Account_TextChange; emailPwdRow = new PwdLoginRowForm(); -- Gitblit v1.8.0