| | |
| | | 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() |
| | |
| | | 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 |
| | |
| | | { |
| | | var result = false; |
| | | var responsePack = pm.GetHomePager(); |
| | | if (responsePack == HttpUtil.SUCCESS_CODE) |
| | | if (responsePack == StateCode.SUCCESS) |
| | | { |
| | | } |
| | | else |