From 1b6d5116f9f3e291da636b9ec510d65a4fedf639 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 16 四月 2024 17:19:22 +0800
Subject: [PATCH] 登录布防修改,logo修改

---
 HDL_ON/UI/UI1-Login/ForgetPasswordPageBLL.cs |   54 +++++++++++++++++++++++++++---------------------------
 1 files changed, 27 insertions(+), 27 deletions(-)

diff --git a/HDL_ON/UI/UI1-Login/ForgetPasswordPageBLL.cs b/HDL_ON/UI/UI1-Login/ForgetPasswordPageBLL.cs
index db8615e..1160e9c 100644
--- a/HDL_ON/UI/UI1-Login/ForgetPasswordPageBLL.cs
+++ b/HDL_ON/UI/UI1-Login/ForgetPasswordPageBLL.cs
@@ -134,16 +134,16 @@
                     }
                 }
 
+                LoadMothed_EnableResetButton();
             };
 
-            etVerificationCode.TextChangeEventHandler = (sender, e) =>
-            {
+            //etVerificationCode.TextChangeEventHandler = (sender, e) => {
 
-                if (etVerificationCode.Text.Length > 1)
-                {
-                    LoadMothed_EnableResetButton();
-                }
-            };
+            //    if (etVerificationCode.Text.Length > 1)
+            //    {
+            //        LoadMothed_EnableResetButton();
+            //    }
+            //};
 
             Action<View, string> textChangeEventHandler = (view, textStr) =>
             {
@@ -183,7 +183,7 @@
                             HDLCommon.Current.BottomLineShowType(btnAccountViewBottomLine, BottomLineType.Error);
                             new Tip()
                             {
-                                MaxWidth = Application.GetRealWidth(300),
+                            MaxWidth = Application.GetRealWidth(300),
                                 CloseTime = 1,
                                 Text = Language.StringByID(StringId.PlsEntryCorrectMobilNeumber),
                                 Direction = AMPopTipDirection.None,
@@ -207,7 +207,7 @@
                             HDLCommon.Current.BottomLineShowType(btnAccountViewBottomLine, BottomLineType.Error);
                             new Tip()
                             {
-                                MaxWidth = Application.GetRealWidth(300),
+                            MaxWidth = Application.GetRealWidth(300),
                                 CloseTime = 1,
                                 Text = Language.StringByID(StringId.PlsEntryCorrectEmailAddress),
                                 Direction = AMPopTipDirection.None,
@@ -245,8 +245,8 @@
                         HDLCommon.Current.BottomLineShowType(btnPasswordViewBottomLine, BottomLineType.Error);
                         new Tip()
                         {
-                            MaxWidth = Application.GetRealWidth(300),
                             CloseTime = 1,
+                            MaxWidth = Application.GetRealWidth(300),
                             Direction = AMPopTipDirection.None,
                             Text = Language.StringByID(StringId.PasswordIsUnqualified)
                         }.Show(bodyView);
@@ -286,23 +286,23 @@
             };
 
             //楠岃瘉鐮佹枃鏈鐒︾偣鍙樺寲浜嬩欢
-            //etVerificationCode.FoucsChanged += (sender, e) =>
-            //{
-            //    if (etVerificationCode.Foucs)
-            //    {
-            //        HDLCommon.Current.BottomLineShowType(btnVerificationCodeViewBottomLine, BottomLineType.GotFocus);
-            //    }
-            //    else
-            //    {
-            //        if (isHitBack) return;//鐐瑰嚮杩斿洖鍏抽棴椤甸潰涓嶆娴嬫彁绀�
+            etVerificationCode.FoucsChanged += (sender, e) =>
+            {
+                if (etVerificationCode.Foucs)
+                {
+                    HDLCommon.Current.BottomLineShowType(btnVerificationCodeViewBottomLine, BottomLineType.GotFocus);
+                }
+                else
+                {
+                    if (isHitBack) return;//鐐瑰嚮杩斿洖鍏抽棴椤甸潰涓嶆娴嬫彁绀�
 
-            //        HDLCommon.Current.BottomLineShowType(btnVerificationCodeViewBottomLine, BottomLineType.Normal);
-            //        if (etVerificationCode.Text.Length > 4)
-            //        {
-            //            LoadMothed_EnableResetButton();
-            //        }
-            //    }
-            //};
+                    HDLCommon.Current.BottomLineShowType(btnVerificationCodeViewBottomLine, BottomLineType.Normal);
+                    if (etVerificationCode.Text.Length > 4)
+                    {
+                        LoadMothed_EnableResetButton();
+                    }
+                }
+            };
         }
 
 
@@ -401,7 +401,7 @@
                                     {
                                         //鐭俊鍙戦�侀棿闅�60s
                                         (sender as Button).IsSelected = false;
-                                        //etVerificationCode.Foucs = true;
+                                        etVerificationCode.Foucs = true;
                                     });
                                     //2.1鑾峰彇楠岃瘉鐮佸�掕鏃�
                                     new Thread(() =>

--
Gitblit v1.8.0