From 66a9965c44ecc32a6696abca876ab9d1cd091584 Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期五, 28 二月 2020 15:25:13 +0800 Subject: [PATCH] 2020.2.28 --- ZigbeeApp/Shared/Phone/UserCenter/Password/ForgotAccountPasswordForm.cs | 14 +++++--------- 1 files changed, 5 insertions(+), 9 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Password/ForgotAccountPasswordForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Password/ForgotAccountPasswordForm.cs index 2495684..b58e19e 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Password/ForgotAccountPasswordForm.cs +++ b/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.RadiusEx = 12; btnCode.TextID = R.MyInternationalizationString.uGetVerificationCode; btnCode.TextColor = UserCenterColor.Current.White; btnCode.BackgroundColor = UserCenterColor.Current.TextOrangeColor; @@ -154,8 +154,6 @@ if (frameTran.Visible == false) { frameTran.Visible = true; - //鍔ㄧ敾鏁堟灉 - frameAnimate.Animate = Animate.UpToDown; } }; } @@ -187,11 +185,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 +197,6 @@ System.Threading.Thread.Sleep(1000); if (waitime == 0) { - this.canCheckCode = false; Application.RunOnMainThread(() => { if (btnCode != null) @@ -221,8 +218,7 @@ } }); } - }) - { IsBackground = true }.Start(); + }); } #endregion -- Gitblit v1.8.0