| | |
| | | { |
| | | bodyView = new FrameLayout() |
| | | { |
| | | BackgroundColor = CSS_Color.BackgroundColor, |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | }; |
| | | AddChidren(bodyView); |
| | | |
| | |
| | | X = Application.GetRealWidth(49), |
| | | Width = Application.GetRealWidth(319 - 78), |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | //TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextColor = CSS_Color.PromptingColor1, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | //Text = "请选择国家/区域", |
| | | TextID = StringId.PleaseSelectCountryOrRegion, |
| | | //PlaceholderTextColor = CSS_Color.PromptingColor1, |
| | | //PlaceholderText = Language.StringByID(StringId.PlsRegisterPassword), |
| | | //SecureTextEntry = true, |
| | | }; |
| | | serverView.AddChidren(btnServerText); |
| | | |
| | |
| | | Y = verificationCodeView.Bottom + Application.GetRealHeight(42), |
| | | //Y = Application.GetRealHeight(421), |
| | | Width = Application.GetRealWidth(220), |
| | | Height = Application.GetRealHeight(44), |
| | | Radius = (uint)Application.GetRealHeight(22), |
| | | Height = Application.GetRealWidth(44), |
| | | Radius = (uint)Application.GetRealWidth(22), |
| | | SelectedBackgroundColor = CSS_Color.MainColor, |
| | | BackgroundColor = CSS_Color.PromptingColor1, |
| | | TextID = StringId.Register, |
| | |
| | | // userName = revertData.name |
| | | //}; |
| | | UserInfo.Current.userType = revertData.userType; |
| | | UserInfo.Current.accountString = account; |
| | | UserInfo.Current.AccountString = account; |
| | | //UserInfo.Current.password = password; |
| | | UserInfo.Current.lastTime = DateTime.Now; |
| | | UserInfo.Current.LastTime = DateTime.Now; |
| | | UserInfo.Current.ID = revertData.userId; |
| | | UserInfo.Current.loginTokenString = revertData.headerPrefix + revertData.accessToken; |
| | | UserInfo.Current.refreshToken = revertData.refreshToken; |
| | | UserInfo.Current.LoginTokenString = revertData.headerPrefix + revertData.accessToken; |
| | | UserInfo.Current.RefreshToken = revertData.refreshToken; |
| | | UserInfo.Current.userName = revertData.name; |
| | | |
| | | UserInfo.Current.SaveUserInfo(); |