From c1cb2d8c6034a2ee7aa8a5710bba15b14f76cebc Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期五, 18 八月 2023 18:54:31 +0800 Subject: [PATCH] 2023年08月18日18:54:22 --- HDL_ON/UI/UI1-Login/LoginPageBLL.cs | 24 +++++++++++++----------- 1 files changed, 13 insertions(+), 11 deletions(-) diff --git a/HDL_ON/UI/UI1-Login/LoginPageBLL.cs b/HDL_ON/UI/UI1-Login/LoginPageBLL.cs index 8515ed2..e1cded2 100644 --- a/HDL_ON/UI/UI1-Login/LoginPageBLL.cs +++ b/HDL_ON/UI/UI1-Login/LoginPageBLL.cs @@ -445,17 +445,19 @@ { btnPasswordViewBottomLine.BackgroundColor = CSS_Color.MainColor; btnPasswordViewBottomLine.Height = Application.GetRealHeight(2); - new Thread(() => { - for(var i = 0; i < 10; i++) - { - Application.RunOnMainThread(() => - { - this.Y = 0-Application.GetRealHeight(10 * i); - }); - Thread.Sleep(10); - } - }) { IsBackground = true }.Start(); + #if __IOS__ + new Thread(() => { + for(var i = 0; i < 10; i++) + { + Application.RunOnMainThread(() => + { + this.Y = 0-Application.GetRealHeight(10 * i); + }); + Thread.Sleep(10); + } + }) { IsBackground = true }.Start(); + var sst = etPassword.MyTextContentType; Console.WriteLine(sst); etPassword.SetTextContentTypeToOneTimeCode(); @@ -477,8 +479,8 @@ //褰撶劍鐐瑰湪瀵嗙爜鏂囨湰妗嗘椂锛岀偣鍑婚敭鐩樺洖鎾ゆ寜閿紝瑙﹀彂鐨勪簨浠� etPassword.EditorEnterAction += (obj) => { - LoginEvent(); Application.HideSoftInput(); + LoginEvent(); }; } -- Gitblit v1.8.0