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/RegisterPageBLL.cs | 26 +++++++++++++++----------- 1 files changed, 15 insertions(+), 11 deletions(-) diff --git a/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs b/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs index de7d890..ed383e7 100644 --- a/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs +++ b/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs @@ -58,24 +58,26 @@ { if (!Utlis.CheckPhoneNumber(etAccount.Text.Trim(), phoneZoneCode)) { - btnGetVerificationCode_Phone.IsSelected = false; + btnGetVerificationCode_Phone_isSelected = btnGetVerificationCode_Phone.IsSelected = false; } else { if (btnGetVerificationCode_Phone.Text == Language.StringByID(StringId.GetVerificationCode)) - btnGetVerificationCode_Phone.IsSelected = true; + { + btnGetVerificationCode_Phone_isSelected = btnGetVerificationCode_Phone.IsSelected = true; + } } } else//閭娉ㄥ唽鑾峰彇楠岃瘉鐮佹寜閽敓鏁堟潯浠� { if (!Utlis.CheckEmail(etAccount.Text.Trim())) { - btnGetVerificationCode_Mail.IsSelected = false; + btnGetVerificationCode_Mail_isSelected = btnGetVerificationCode_Mail.IsSelected = false; } else { if (btnGetVerificationCode_Mail.Text == Language.StringByID(StringId.GetVerificationCode)) - btnGetVerificationCode_Mail.IsSelected = true; + btnGetVerificationCode_Mail_isSelected = btnGetVerificationCode_Mail.IsSelected = true; } } CheckEnableRegisterButton(); @@ -113,6 +115,7 @@ #region 鍒囨崲閫変腑鎸夐挳 btnGetVerificationCode_Mail.Visible = false; btnGetVerificationCode_Phone.Visible = true; + btnGetVerificationCode_Phone.IsSelected = btnGetVerificationCode_Phone_isSelected; btnEmailLogin.TextColor = CSS_Color.PromptingColor1; btnEmailLogin.TextSize = CSS_FontSize.TextFontSize; btnPhoneLogin.TextColor = CSS_Color.MainColor; @@ -148,6 +151,7 @@ etRepeatPassword.Text = ""; #region 鍒囨崲閫変腑鎸夐挳 btnGetVerificationCode_Mail.Visible = true; + btnGetVerificationCode_Mail.IsSelected = btnGetVerificationCode_Mail_isSelected; btnGetVerificationCode_Phone.Visible = false; btnPhoneLogin.TextColor = CSS_Color.PromptingColor1; btnPhoneLogin.TextSize = CSS_FontSize.TextFontSize; @@ -194,10 +198,10 @@ if (!Utlis.CheckPhoneNumber(etAccount.Text.Trim(), phoneZoneCode)) { HDLCommon.Current.BottomLineShowType(btnAccountViewBottomLine, BottomLineType.Error); - btnGetVerificationCode_Phone.IsSelected = false; + btnGetVerificationCode_Phone_isSelected = btnGetVerificationCode_Phone.IsSelected = false; new Tip() { - MaxWidth = Application.GetRealWidth(300), + MaxWidth = Application.GetRealWidth(300), CloseTime = 1, Text = Language.StringByID(StringId.PlsEntryCorrectMobilNeumber), Direction = AMPopTipDirection.None, @@ -208,7 +212,7 @@ if (btnGetVerificationCode_Phone.Text == Language.StringByID(StringId.GetVerificationCode)) { //鏍囪鎵嬫満鍙风爜鏈夋晥 - btnGetVerificationCode_Phone.IsSelected = true; + btnGetVerificationCode_Phone_isSelected = btnGetVerificationCode_Phone.IsSelected = true; } //璐﹀彿鏈夋晥銆佸瘑鐮佹湁鏁堛�侀獙璇佺爜杈撳叆浜嗭紝鎵嶈兘鐐瑰嚮娉ㄥ唽 if (ValidPassword && !string.IsNullOrEmpty(etVerificationCode.Text.Trim())) @@ -223,10 +227,10 @@ if (!Utlis.CheckEmail(etAccount.Text.Trim())) { HDLCommon.Current.BottomLineShowType(btnAccountViewBottomLine, BottomLineType.Error); - btnGetVerificationCode_Mail.IsSelected = false; + btnGetVerificationCode_Mail_isSelected = btnGetVerificationCode_Mail.IsSelected = false; new Tip() { - MaxWidth = Application.GetRealWidth(300), + MaxWidth = Application.GetRealWidth(300), CloseTime = 1, Text = Language.StringByID(StringId.PlsEntryCorrectEmailAddress), Direction = AMPopTipDirection.None, @@ -236,7 +240,7 @@ { if (btnGetVerificationCode_Mail.Text == Language.StringByID(StringId.GetVerificationCode)) {//鏍囪鎵嬫満鍙风爜鏈夋晥 - btnGetVerificationCode_Mail.IsSelected = true; + btnGetVerificationCode_Mail_isSelected = btnGetVerificationCode_Mail.IsSelected = true; } //璐﹀彿鏈夋晥銆佸瘑鐮佹湁鏁堛�侀獙璇佺爜杈撳叆浜嗭紝鎵嶈兘鐐瑰嚮娉ㄥ唽 if (ValidPassword && string.IsNullOrEmpty(etVerificationCode.Text.Trim())) @@ -688,7 +692,7 @@ isSelectServer = true; ShowServerBottomLineState(false); btnServerText.TextColor = CSS_Color.FirstLevelTitleColor; - btnServerText.Text = OnAppConfig.Instance.GlobalRegion.regionName; + btnServerText.Text = OnAppConfig.Instance.GlobalRegion.regionName.Replace("HDL","SANTAN"); } -- Gitblit v1.8.0