mac
2024-07-25 3f6685c77beeb12baf840733fb890860f4c26e7c
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,6 +183,7 @@
                            HDLCommon.Current.BottomLineShowType(btnAccountViewBottomLine, BottomLineType.Error);
                            new Tip()
                            {
                                MaxWidth = Application.GetRealWidth(300),
                                CloseTime = 1,
                                Text = Language.StringByID(StringId.PlsEntryCorrectMobilNeumber),
                                Direction = AMPopTipDirection.None,
@@ -206,6 +207,7 @@
                            HDLCommon.Current.BottomLineShowType(btnAccountViewBottomLine, BottomLineType.Error);
                            new Tip()
                            {
                                MaxWidth = Application.GetRealWidth(300),
                                CloseTime = 1,
                                Text = Language.StringByID(StringId.PlsEntryCorrectEmailAddress),
                                Direction = AMPopTipDirection.None,
@@ -243,6 +245,7 @@
                        HDLCommon.Current.BottomLineShowType(btnPasswordViewBottomLine, BottomLineType.Error);
                        new Tip()
                        {
                            MaxWidth = Application.GetRealWidth(300),
                            CloseTime = 1,
                            Direction = AMPopTipDirection.None,
                            Text = Language.StringByID(StringId.PasswordIsUnqualified)
@@ -283,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();
            //        }
            //    }
            //};
        }
@@ -398,7 +401,7 @@
                                    {
                                        //短信发送间隔60s
                                        (sender as Button).IsSelected = false;
                                        etVerificationCode.Foucs = true;
                                        //etVerificationCode.Foucs = true;
                                    });
                                    //2.1获取验证码倒计时
                                    new Thread(() =>