From 320d7cc8feb394d0ce3db2ec1d01593b554d990f Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期三, 23 十二月 2020 10:57:13 +0800 Subject: [PATCH] 2020-12-23 1.更新 --- HDL_ON/UI/UI1-Login/LoginPage.cs | 40 +++++++++++++++++++++++++++------------- 1 files changed, 27 insertions(+), 13 deletions(-) diff --git a/HDL_ON/UI/UI1-Login/LoginPage.cs b/HDL_ON/UI/UI1-Login/LoginPage.cs index 769c30a..eaf1b96 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 灞�閮ㄥ彉閲� @@ -182,14 +187,23 @@ }; bodyView.AddChidren(btnIcon_bg); +#if DEBUG + bool b = false; btnIcon.MouseUpEventHandler += (sender, e) => { -#if DEBUG - etAccount.Text = "464027401@qq.com"; //"2791308028@qq.com";// - etPassword.Text = "qqqqqq"; + if (b) + { + etAccount.Text = "13697499568";// "18824864143";//"464027401@qq.com"; //"2791308028@qq.com";//13697499568 + } + else + { + etAccount.Text = "13375012446";//13375012446 + } + b = !b; + etPassword.Text = "123456"; btnLogin.IsSelected = true; -#endif }; +#endif #region 鐧诲綍鏂瑰紡閫夋嫨 btnPhoneLogin = new Button() @@ -448,8 +462,8 @@ Gravity = Gravity.CenterHorizontal, Y = Application.GetRealHeight(403), Width = Application.GetRealWidth(220), - Height = Application.GetRealHeight(44), - Radius = (uint)Application.GetRealHeight(22), + Height = Application.GetRealWidth(44), + Radius = (uint)Application.GetRealWidth(22), SelectedBackgroundColor = CSS_Color.MainColor, BackgroundColor = CSS_Color.PromptingColor1, TextID = StringId.Login, @@ -500,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), @@ -532,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