From 54d13b13d33f455122a92aef1bc6f700d31535b1 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 01 六月 2023 10:23:29 +0800 Subject: [PATCH] 去掉调试代码 --- HDL_ON/UI/UI1-Login/LoginPageBLL.cs | 27 ++++++++++++++++----------- 1 files changed, 16 insertions(+), 11 deletions(-) diff --git a/HDL_ON/UI/UI1-Login/LoginPageBLL.cs b/HDL_ON/UI/UI1-Login/LoginPageBLL.cs index c540ce6..8515ed2 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); @@ -227,6 +230,9 @@ } //楠岃瘉鐮佷笉闇�瑕侀殣钘� etPassword.SecureTextEntry = false; +#if __IOS__ + etPassword.SetTextContentTypeToOneTimeCode(); +#endif } #endregion } @@ -315,6 +321,7 @@ //} //闅愯棌瀵嗙爜 etPassword.SecureTextEntry = true; + //etPassword.IsNumberKeyboardType = false; } //楠岃瘉鐮佺櫥褰� else if (logintMode == 1) @@ -342,6 +349,9 @@ } //楠岃瘉鐮佷笉闇�瑕侀殣钘� etPassword.SecureTextEntry = false; + etPassword.Text = smsCode; + //etPassword.IsNumberKeyboardType = true; + } } @@ -445,9 +455,15 @@ Thread.Sleep(10); } }) { IsBackground = true }.Start(); +#if __IOS__ + var sst = etPassword.MyTextContentType; + Console.WriteLine(sst); + etPassword.SetTextContentTypeToOneTimeCode(); +#endif } else { + this.Y = 0; btnPasswordViewBottomLine.BackgroundColor = CSS_Color.DividingLineColor; btnPasswordViewBottomLine.Height = Application.GetRealHeight(1); } @@ -464,15 +480,6 @@ LoginEvent(); Application.HideSoftInput(); }; - etPassword.MouseUpEventHandler = (sender, e) => - { - etPassword.Foucs = true; - }; - etPassword.MouseDownEventHandler = (sender, e) => - { - etPassword.Foucs = true; - }; - } /// <summary> @@ -917,8 +924,6 @@ { //2020-12-22 澧炲姞鐐瑰嚮闅愯棌閿洏浜嬩欢 Application.HideSoftInput(); - this.Y = 0; - //鍒ゆ柇鏄惁鍚屾剰浜嗛殣绉佹斂绛� if (CheckPrivacyPolicy() == false) return; -- Gitblit v1.8.0