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/RegisterPage.cs | 30 +++++++++++++++--------------- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git a/HDL_ON/UI/UI1-Login/RegisterPage.cs b/HDL_ON/UI/UI1-Login/RegisterPage.cs index b55a804..da291bd 100644 --- a/HDL_ON/UI/UI1-Login/RegisterPage.cs +++ b/HDL_ON/UI/UI1-Login/RegisterPage.cs @@ -246,22 +246,22 @@ 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; - } //btnDividingLineVertical_AccountView = new Button() @@ -677,7 +677,7 @@ var result = false; //璋冪敤鐧诲綍鎺ュ彛 var loginResult = pm.LoginByPassword(account, password); - if (loginResult.Code == HttpUtil.SUCCESS_CODE) + if (loginResult.Code == StateCode.SUCCESS) { var revertData = Newtonsoft.Json.JsonConvert.DeserializeObject<UserLoginRes>(loginResult.Data.ToString()); MainPage.LoginUser = new UserInfo @@ -715,7 +715,7 @@ { var result = false; var responsePack = pm.GetHomePager(); - if (responsePack == HttpUtil.SUCCESS_CODE) + if (responsePack == StateCode.SUCCESS) { } else -- Gitblit v1.8.0