From 032a22c21bc9b2adb6b9ff3201433522a335df57 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 16 五月 2023 16:08:50 +0800
Subject: [PATCH] 安卓短信自动填充,首页插座改成总控

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

diff --git a/HDL_ON/UI/UI1-Login/LoginPageBLL.cs b/HDL_ON/UI/UI1-Login/LoginPageBLL.cs
index 849ce05..34968ff 100644
--- a/HDL_ON/UI/UI1-Login/LoginPageBLL.cs
+++ b/HDL_ON/UI/UI1-Login/LoginPageBLL.cs
@@ -86,6 +86,9 @@
                         btnAccountViewBottomLine.Height = Application.GetRealHeight(2);
                         return;
                     }
+#if __IOS__
+                    etPassword.Foucs = true;
+#endif
                     //鍔犺浇Loading鏁堟灉
                     var waitPage = new Loading();
                     bodyView.AddChidren(waitPage);
@@ -315,6 +318,7 @@
                 //}
                 //闅愯棌瀵嗙爜
                 etPassword.SecureTextEntry = true;
+                etPassword.IsNumberKeyboardType = false;
             }
             //楠岃瘉鐮佺櫥褰�
             else if (logintMode == 1)
@@ -342,6 +346,24 @@
                 }
                 //楠岃瘉鐮佷笉闇�瑕侀殣钘�
                 etPassword.SecureTextEntry = false;
+                etPassword.Text = smsCode;
+                etPassword.IsNumberKeyboardType = true;
+#if __IOS__
+                var currentInputMode = UIKit.UITextInputMode.CurrentInputMode;
+                var installedInputModes = UIKit.UITextInputMode.ActiveInputModes;
+                var temmm = new EditText()
+                {
+                    X = Application.GetRealWidth(78),
+                    Width = Application.GetRealWidth(61 + 84),
+                    TextColor = CSS_Color.FirstLevelTitleColor,
+                    TextSize = CSS_FontSize.TextFontSize,
+                    TextAlignment = TextAlignment.CenterLeft,
+                    Foucs = true,
+                    BackgroundColor  = 0x44330000,
+                };
+                passwordView.AddChidren(etPassword); 
+
+#endif
             }
         }
 

--
Gitblit v1.8.0