| | |
| | | } |
| | | else |
| | | { |
| | | BindingResidencePage page = new BindingResidencePage(); |
| | | MainPage.BaseView.AddChidren(page); |
| | | page.LoadView(); |
| | | |
| | | |
| | | |
| | | //2020-11-13 待确认 |
| | | //获取住宅失败,重新标记为未登录状态 |
| | | UserInfo.Current.LastTime = DateTime.MinValue; |
| | |
| | | //获取用户信息 |
| | | new Thread(() => |
| | | { |
| | | pm.GetUserHeadImage(revertData.userId); |
| | | pm.GetUserInfo(false); |
| | | pm.GetUserInfo(); |
| | | }) |
| | | { IsBackground = true }.Start(); |
| | | } |
| | |
| | | //账号或者密码错误 |
| | | Application.RunOnMainThread(() => |
| | | { |
| | | waitPage.Hide(); |
| | | |
| | | if (loginResult.Code == "10008") |
| | | { |
| | | //用户名或密码错误 |
| | |
| | | btnPasswordViewBottomLine.BackgroundColor = CSS_Color.AuxiliaryColor2; |
| | | btnPasswordViewBottomLine.Height = Application.GetRealHeight(2); |
| | | } |
| | | waitPage.Hide(); |
| | | else if (loginResult.Code == "10019") |
| | | { |
| | | var tipStr = Language.StringByID(StringId.AccountLoginLock) + "\r\n" + Language.StringByID(StringId.PleaseTryToForgetPassword); |
| | | Utlis.ShowTip(tipStr); |
| | | return; |
| | | } |
| | | IMessageCommon.Current.ShowErrorInfoAlter(loginResult.Code); |
| | | }); |
| | | |
| | | IMessageCommon.Current.ShowErrorInfoAlter(loginResult.Code); |
| | | |
| | | } |
| | | return result; |
| | | } |