From a2572dfd5f01df2f8c6980e53ff01d1100fbb5c8 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 05 六月 2023 09:35:26 +0800
Subject: [PATCH] 安卓键盘弹出事件

---
 HDL_ON/UI/UI1-Login/LoginPageBLL.cs |   22 ++++++++++++----------
 1 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/HDL_ON/UI/UI1-Login/LoginPageBLL.cs b/HDL_ON/UI/UI1-Login/LoginPageBLL.cs
index 8515ed2..13fc4ad 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();

--
Gitblit v1.8.0