| | |
| | | //当焦点在密码文本框时,点击键盘回撤按键,触发的事件 |
| | | etPassword.EditorEnterAction += (obj) => |
| | | { |
| | | LoginEvent(); |
| | | Application.HideSoftInput(); |
| | | LoginEvent(); |
| | | }; |
| | | } |
| | | |
| | |
| | | { |
| | | //跳转页面---- |
| | | MainPage.GoUserPage(true); |
| | | this.RemoveFromParent(); |
| | | return; |
| | | } |
| | | }); |
| | |
| | | Common.ApiUtlis.Ins.DownloadDataComplete = false; |
| | | //跳转页面---- |
| | | MainPage.GoUserPage(true); |
| | | this.RemoveFromParent(); |
| | | }); |
| | | } |
| | | else |
| | |
| | | //调用验证码登录接口 |
| | | loginResult = pm.LoginValidCode(account, password); |
| | | } |
| | | if(loginResult == null) |
| | | { |
| | | |
| | | return false; |
| | | } |
| | | if (loginResult.Code == StateCode.SUCCESS) |
| | | { |
| | | var revertData = Newtonsoft.Json.JsonConvert.DeserializeObject<UserLoginRes>(loginResult.Data.ToString()); |