From e2ffb5fce53119f5cb36e3b2466becbefa096842 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 20 十一月 2020 18:09:13 +0800 Subject: [PATCH] Revert "20201120" --- 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