黄学彪
2020-04-08 4dce704aaf8587cf3f91cf88f2208315a03c4cbb
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();