gxc
2019-12-25 944b87b6bcccb095cd73f13f4410fb20faf48f74
ZigbeeApp/Shared/Phone/UserCenter/Password/ForgotAccountPasswordForm.cs
@@ -81,7 +81,7 @@
            var btnCode = new NormalViewControl(302, 127, true);
            btnCode.X = rowPhone.Right + Application.GetRealWidth(35);
            btnCode.Y = Application.GetRealHeight(23);
            btnCode.Radius = (uint)Application.GetMinRealAverage(4);
            btnCode.Radius = 4;
            btnCode.TextID = R.MyInternationalizationString.uGetVerificationCode;
            btnCode.TextColor = UserCenterColor.Current.White;
            btnCode.BackgroundColor = UserCenterColor.Current.TextOrangeColor;
@@ -187,11 +187,11 @@
            btnCode.BackgroundColor = 0xfffebca9;
            //?s后重发
            string repeat = Language.StringByID(R.MyInternationalizationString.RepeatSend1);
            //有效时间300秒
            int waitime = 300;
            //有效时间60秒
            int waitime = 60;
            btnCode.Text = waitime + "s" + repeat;
            new System.Threading.Thread(() =>
            HdlThreadLogic.Current.RunThread(() =>
            {
                while (this.Parent != null)
                {
@@ -199,7 +199,6 @@
                    System.Threading.Thread.Sleep(1000);
                    if (waitime == 0)
                    {
                        this.canCheckCode = false;
                        Application.RunOnMainThread(() =>
                        {
                            if (btnCode != null)
@@ -221,8 +220,7 @@
                        }
                    });
                }
            })
            { IsBackground = true }.Start();
            });
        }
        #endregion