From 9c16d3614d9b88c637f967518a329f239fcd3aaf Mon Sep 17 00:00:00 2001 From: lss <316519258@qq.com> Date: 星期五, 12 六月 2020 09:22:04 +0800 Subject: [PATCH] 2020.06.12 --- ZigbeeApp/Shared/Phone/UserCenter/Password/CheckOldPhoneForm.cs | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Password/CheckOldPhoneForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Password/CheckOldPhoneForm.cs index 2279789..c7230fe 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Password/CheckOldPhoneForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Password/CheckOldPhoneForm.cs @@ -108,6 +108,7 @@ btnErrorMsg.TextAlignment = TextAlignment.Center; btnErrorMsg.TextColor = 0xfff75858; btnErrorMsg.TextID = R.MyInternationalizationString.uVerificationCodeErrorInputAgain; + btnErrorMsg.IsBold = true; bodyFrameLayout.AddChidren(btnErrorMsg); btnErrorMsg.Visible = false; @@ -118,6 +119,8 @@ bodyFrameLayout.AddChidren(btnNext); btnNext.ButtonClickEvent += (sender, e) => { + //娓呯┖杈撳叆鐨勫�� + btnCodeControl.ClearInputValue(); //鍙戦�侀獙璇佺爜鍒版墜鏈� this.SendCodeToPhone(btnNext); }; @@ -146,11 +149,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) { @@ -158,7 +161,6 @@ System.Threading.Thread.Sleep(1000); if (waitime == 0) { - this.canCheckCode = false; Application.RunOnMainThread(() => { if (btnNext != null) @@ -179,8 +181,7 @@ } }); } - }) - { IsBackground = true }.Start(); + }); } #endregion -- Gitblit v1.8.0