wxr
2023-05-18 dbae982b5f97a12d49279e87aa3d167ae0c71a09
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
            }
        }
@@ -448,6 +470,7 @@
                }
                else
                {
                    this.Y = 0;
                    btnPasswordViewBottomLine.BackgroundColor = CSS_Color.DividingLineColor;
                    btnPasswordViewBottomLine.Height = Application.GetRealHeight(1);
                }
@@ -464,15 +487,6 @@
                LoginEvent();
                Application.HideSoftInput();
            };
            etPassword.MouseUpEventHandler = (sender, e) =>
            {
                etPassword.Foucs = true;
            };
            etPassword.MouseDownEventHandler = (sender, e) =>
            {
                etPassword.Foucs = true;
            };
        }
        /// <summary>
@@ -917,8 +931,6 @@
            {
                //2020-12-22 增加点击隐藏键盘事件
                Application.HideSoftInput();
                this.Y = 0;
                //判断是否同意了隐私政策
                if (CheckPrivacyPolicy() == false) return;