From 1209d93632b447823caf371dea5ccf030ab20434 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期五, 13 十一月 2020 17:11:55 +0800 Subject: [PATCH] 2020-11-13 1.更新 --- HDL_ON/UI/UI1-Login/ForgetPasswordPage.cs | 27 ++++++++++++++------------- 1 files changed, 14 insertions(+), 13 deletions(-) diff --git a/HDL_ON/UI/UI1-Login/ForgetPasswordPage.cs b/HDL_ON/UI/UI1-Login/ForgetPasswordPage.cs index b08c915..1d03af1 100644 --- a/HDL_ON/UI/UI1-Login/ForgetPasswordPage.cs +++ b/HDL_ON/UI/UI1-Login/ForgetPasswordPage.cs @@ -225,24 +225,25 @@ X = Application.GetRealWidth(9), TextAlignment = TextAlignment.CenterLeft, TextColor = CSS_Color.FirstLevelTitleColor, - Text = "+86", + Text = "+" + phoneZoneCode, TextSize = CSS_FontSize.TextFontSize, }; + + //璺宠浆鍥藉鍖哄彿閫夋嫨鐣岄潰 + EventHandler<MouseEventArgs> eHandler = (sender, e) => { + JLCountrycode.CountryCodeView.Current.Show((countryName, code) => { + if (!string.IsNullOrEmpty(code)) + { + phoneZoneCode = code; + btnGlobalRoaming.Text = "+" + phoneZoneCode; + } + }); + }; + btnGlobalRoaming.MouseUpEventHandler += eHandler; + if (accountType == 0) { accountView.AddChidren(btnGlobalRoaming); - - EventHandler<MouseEventArgs> eHandler = (sender, e) => { - JLCountrycode.CountryCodeView.Current.Show((countryName, code) => { - if (!string.IsNullOrEmpty(code)) - { - phoneZoneCode = code; - btnGlobalRoaming.Text = "+" + phoneZoneCode; - - } - }); - }; - btnGlobalRoaming.MouseUpEventHandler += eHandler; } etAccount = new EditText() -- Gitblit v1.8.0