HDL Home App 第二版本 旧平台金堂用 正在使用
chenqiyang
2022-06-22 dc0309e64f02227d8e1468b7326c07955f804612
ZigbeeApp/Shared/Phone/UserCenter/Password/CheckNewEmailForm.cs
@@ -95,7 +95,11 @@
            btnCodeControl.FinishInputEvent += (value) =>
            {
                //校验验证码
                this.CheckVerificationCode(value);
                if (this.CheckVerificationCode(value) == false)
                {
                    //清空验证码
                    btnCodeControl.ClearInputValue();
                }
            };
            //验证码错误,请重新输入
@@ -182,7 +186,7 @@
                    System.Threading.Thread.Sleep(1000);
                    if (waitime == 0)
                    {
                        Application.RunOnMainThread(() =>
                        HdlThreadLogic.Current.RunMain(() =>
                        {
                            if (btnNext != null)
                            {
@@ -194,13 +198,13 @@
                        });
                        break;
                    }
                    Application.RunOnMainThread(() =>
                    HdlThreadLogic.Current.RunMain(() =>
                    {
                        if (btnNext != null)
                        {
                            btnNext.Text = waitime + "s" + repeat;
                        }
                    });
                    }, ShowErrorMode.NO);
                }
            });
        }
@@ -213,14 +217,14 @@
        /// 验证验证码
        /// </summary>
        /// <returns></returns>
        private void CheckVerificationCode(string code)
        private bool CheckVerificationCode(string code)
        {
            if (this.canCheckCode == false)
            {
                //验证码错误,请重新输入
                this.btnErrorMsg.Visible = true;
                this.btnErrorMsg.TextID = R.MyInternationalizationString.uVerificationCodeErrorInputAgain;
                return;
                return false;
            }
            var checkCodePra = new CheckCodePra();
            checkCodePra.Code = code;
@@ -232,11 +236,12 @@
                //验证码错误,请重新输入
                this.btnErrorMsg.Visible = true;
                this.btnErrorMsg.TextID = R.MyInternationalizationString.uVerificationCodeErrorInputAgain;
                return;
                return false;
            }
            //变更邮箱
            this.SaveNewEmail();
            return true;
        }
        /// <summary>