From 1244f5fdd2a30a010692006dea17426f43dfd65d Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 16 四月 2024 10:25:05 +0800 Subject: [PATCH] Update Entitlements.plist --- HDL_ON/UI/UI1-Login/RegisterPageBLL.cs | 26 +++++++++++--------------- 1 files changed, 11 insertions(+), 15 deletions(-) diff --git a/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs b/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs index ed383e7..de7d890 100644 --- a/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs +++ b/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs @@ -58,26 +58,24 @@ { if (!Utlis.CheckPhoneNumber(etAccount.Text.Trim(), phoneZoneCode)) { - btnGetVerificationCode_Phone_isSelected = btnGetVerificationCode_Phone.IsSelected = false; + btnGetVerificationCode_Phone.IsSelected = false; } else { if (btnGetVerificationCode_Phone.Text == Language.StringByID(StringId.GetVerificationCode)) - { - btnGetVerificationCode_Phone_isSelected = btnGetVerificationCode_Phone.IsSelected = true; - } + btnGetVerificationCode_Phone.IsSelected = true; } } else//閭娉ㄥ唽鑾峰彇楠岃瘉鐮佹寜閽敓鏁堟潯浠� { if (!Utlis.CheckEmail(etAccount.Text.Trim())) { - btnGetVerificationCode_Mail_isSelected = btnGetVerificationCode_Mail.IsSelected = false; + btnGetVerificationCode_Mail.IsSelected = false; } else { if (btnGetVerificationCode_Mail.Text == Language.StringByID(StringId.GetVerificationCode)) - btnGetVerificationCode_Mail_isSelected = btnGetVerificationCode_Mail.IsSelected = true; + btnGetVerificationCode_Mail.IsSelected = true; } } CheckEnableRegisterButton(); @@ -115,7 +113,6 @@ #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; @@ -151,7 +148,6 @@ 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; @@ -198,10 +194,10 @@ if (!Utlis.CheckPhoneNumber(etAccount.Text.Trim(), phoneZoneCode)) { HDLCommon.Current.BottomLineShowType(btnAccountViewBottomLine, BottomLineType.Error); - btnGetVerificationCode_Phone_isSelected = btnGetVerificationCode_Phone.IsSelected = false; + btnGetVerificationCode_Phone.IsSelected = false; new Tip() { - MaxWidth = Application.GetRealWidth(300), + MaxWidth = Application.GetRealWidth(300), CloseTime = 1, Text = Language.StringByID(StringId.PlsEntryCorrectMobilNeumber), Direction = AMPopTipDirection.None, @@ -212,7 +208,7 @@ if (btnGetVerificationCode_Phone.Text == Language.StringByID(StringId.GetVerificationCode)) { //鏍囪鎵嬫満鍙风爜鏈夋晥 - btnGetVerificationCode_Phone_isSelected = btnGetVerificationCode_Phone.IsSelected = true; + btnGetVerificationCode_Phone.IsSelected = true; } //璐﹀彿鏈夋晥銆佸瘑鐮佹湁鏁堛�侀獙璇佺爜杈撳叆浜嗭紝鎵嶈兘鐐瑰嚮娉ㄥ唽 if (ValidPassword && !string.IsNullOrEmpty(etVerificationCode.Text.Trim())) @@ -227,10 +223,10 @@ if (!Utlis.CheckEmail(etAccount.Text.Trim())) { HDLCommon.Current.BottomLineShowType(btnAccountViewBottomLine, BottomLineType.Error); - btnGetVerificationCode_Mail_isSelected = btnGetVerificationCode_Mail.IsSelected = false; + btnGetVerificationCode_Mail.IsSelected = false; new Tip() { - MaxWidth = Application.GetRealWidth(300), + MaxWidth = Application.GetRealWidth(300), CloseTime = 1, Text = Language.StringByID(StringId.PlsEntryCorrectEmailAddress), Direction = AMPopTipDirection.None, @@ -240,7 +236,7 @@ { if (btnGetVerificationCode_Mail.Text == Language.StringByID(StringId.GetVerificationCode)) {//鏍囪鎵嬫満鍙风爜鏈夋晥 - btnGetVerificationCode_Mail_isSelected = btnGetVerificationCode_Mail.IsSelected = true; + btnGetVerificationCode_Mail.IsSelected = true; } //璐﹀彿鏈夋晥銆佸瘑鐮佹湁鏁堛�侀獙璇佺爜杈撳叆浜嗭紝鎵嶈兘鐐瑰嚮娉ㄥ唽 if (ValidPassword && string.IsNullOrEmpty(etVerificationCode.Text.Trim())) @@ -692,7 +688,7 @@ isSelectServer = true; ShowServerBottomLineState(false); btnServerText.TextColor = CSS_Color.FirstLevelTitleColor; - btnServerText.Text = OnAppConfig.Instance.GlobalRegion.regionName.Replace("HDL","SANTAN"); + btnServerText.Text = OnAppConfig.Instance.GlobalRegion.regionName; } -- Gitblit v1.8.0