gxc
2020-02-28 66a9965c44ecc32a6696abca876ab9d1cd091584
ZigbeeApp/Shared/Phone/UserCenter/Password/CheckNewEmailForm.cs
@@ -65,6 +65,8 @@
            btnLine.Y = txtValue.Bottom;
            btnLine.BackgroundColor = UserCenterColor.Current.ButtomLine;
            frame.AddChidren(btnLine);
            //联动线的状态
            txtValue.btnLine = btnLine;
            if (string.IsNullOrEmpty(UserCenterResourse.UserInfo.Email) == false)
            {
@@ -102,6 +104,7 @@
            btnErrorMsg.TextAlignment = TextAlignment.Center;
            btnErrorMsg.TextColor = 0xfff75858;
            btnErrorMsg.TextID = R.MyInternationalizationString.uVerificationCodeErrorInputAgain;
            btnErrorMsg.IsBold = true;
            bodyFrameLayout.AddChidren(btnErrorMsg);
            btnErrorMsg.Visible = false;
@@ -150,7 +153,7 @@
            var sendCodePra = new SendCodePra();
            sendCodePra.Account = Email;
            bool falge = await UserCenterLogic.GetResultStatuByRequestHttps("ZigbeeUsers/LoginSendVerCode", false, sendCodePra);
            bool falge = await UserCenterLogic.GetResultStatuByRequestHttps("ZigbeeUsers/RegisterSendVerCode", false, sendCodePra);
            if (falge == false)
            {
                return;
@@ -164,11 +167,11 @@
            btnNext.CanClick = false;
            //?s后重发
            string repeat = Language.StringByID(R.MyInternationalizationString.RepeatSend1);
            //有效时间300秒
            int waitime = 300;
            //有效时间60秒
            int waitime = 60;
            btnNext.Text = waitime + "s" + repeat;
            new System.Threading.Thread(() =>
            HdlThreadLogic.Current.RunThread(() =>
            {
                while (this.Parent != null)
                {
@@ -176,7 +179,6 @@
                    System.Threading.Thread.Sleep(1000);
                    if (waitime == 0)
                    {
                        this.canCheckCode = false;
                        Application.RunOnMainThread(() =>
                        {
                            if (btnNext != null)
@@ -197,8 +199,7 @@
                        }
                    });
                }
            })
            { IsBackground = true }.Start();
            });
        }
        #endregion