From 388ece21a0c608c2571775137a89ad32ca0cedd8 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期一, 11 一月 2021 14:35:23 +0800 Subject: [PATCH] 2021-1-11-2 --- HDL_ON/UI/UI1-Login/LoginPage.cs | 23 ++++++++++++++--------- 1 files changed, 14 insertions(+), 9 deletions(-) diff --git a/HDL_ON/UI/UI1-Login/LoginPage.cs b/HDL_ON/UI/UI1-Login/LoginPage.cs index 4198205..fd7839d 100644 --- a/HDL_ON/UI/UI1-Login/LoginPage.cs +++ b/HDL_ON/UI/UI1-Login/LoginPage.cs @@ -14,6 +14,10 @@ //bodyView = new FrameLayout(); //AddChidren(bodyView); bodyView = this; + //2020-12-22 澧炲姞鐐瑰嚮闅愯棌閿洏浜嬩欢 + bodyView.MouseDownEventHandler += (sender, e) => { + Application.HideSoftInput(); + }; pm = new HttpServerRequest(); } @@ -25,10 +29,11 @@ waitPage.RemoveFromParent(); waitPage = null; } - else - { - base.RemoveFromParent(); - } + + base.RemoveFromParent(); + + ////2020-12-22 澧炲姞鐐瑰嚮闅愯棌閿洏浜嬩欢 + //Application.HideSoftInput(); } #region 灞�閮ㄥ彉閲� @@ -192,7 +197,7 @@ } else { - etAccount.Text = "18824864143"; + etAccount.Text = "13375012446";//13375012446 } b = !b; etPassword.Text = "123456"; @@ -468,7 +473,7 @@ }; bodyView.AddChidren(btnLogin); - LoadEventList(); + LoadEventList(); account = etAccount.Text.Trim(); #if DEBUG1211 @@ -509,7 +514,7 @@ /// <param name="frameBack"></param> private void AddServiceAgreementControl(FrameLayout frameLayout) { - isAgreePrivacyPolicy = UserInfo.Current.isAgreePrivacyPolicy; + isAgreePrivacyPolicy = OnAppConfig.Instance.isAgreePrivacyPolicy; var frameRow = new FrameLayout() { Height = Application.GetRealHeight(28), @@ -541,8 +546,8 @@ { isAgreePrivacyPolicy = !isAgreePrivacyPolicy; agreeBtn.IsSelected = isAgreePrivacyPolicy; - UserInfo.Current.isAgreePrivacyPolicy = isAgreePrivacyPolicy; - UserInfo.Current.SaveUserInfo(); + OnAppConfig.Instance.isAgreePrivacyPolicy = isAgreePrivacyPolicy; + OnAppConfig.Instance.SaveConfig(); }; agreeBtn.MouseUpEventHandler = eventHandler; -- Gitblit v1.8.0