| | |
| | | /// <param name="type">是否选择手机登录</param> |
| | | void LoginTypeChange(bool isPhone) |
| | | { |
| | | if(isPhone) |
| | | if (isPhone) |
| | | { |
| | | if (loginType == 0) |
| | | return; |
| | |
| | | IMessageCommon.Current.ShowErrorInfoAlter(loginResult.Code); |
| | | }); |
| | | |
| | | |
| | | |
| | | } |
| | | return result; |
| | | } |
| | |
| | | |
| | | var unlockDatetime = Utlis.UnixToDateTimeMS(revertData.unlockTime); |
| | | var unlockTimeInt = unlockDatetime.Minute - DateTime.Now.Minute; |
| | | if(unlockTimeInt <= 0) |
| | | if (unlockTimeInt <= 0) |
| | | { |
| | | unlockTimeInt = 1; |
| | | } |
| | |
| | | //2020-12-22 增加点击隐藏键盘事件 |
| | | Application.HideSoftInput(); |
| | | |
| | | |
| | | #if DEBUG |
| | | TestEZSDK(); |
| | | return; |
| | | #endif |
| | | |
| | | //判断是否同意了隐私政策 |
| | | if (CheckPrivacyPolicy() == false) return; |
| | | |
| | |
| | | MainPage.Log($"login callBackAction : {ex.Message}"); |
| | | } |
| | | }; |
| | | |
| | | |
| | | |
| | | var registerPage = new RegisterPage(autoLoginAction); |
| | | registerPage.Show(); |
| | | registerPage.ShowDialog(); |
| | | }; |
| | | } |
| | | |
| | | |
| | | void TestESVideo() |
| | | { |
| | | |
| | | #if __Android__ |
| | | #else |
| | | //EZSDK.IOS.EZSDK.Go2EZvizMonitor(); |
| | | Shared.ESVideoInfo eSVideoInfo = new Shared.ESVideoInfo(); |
| | | eSVideoInfo.DeviceName = "室外机88"; |
| | | eSVideoInfo.ESVideoUUID = "JJY000019VPLLF"; |
| | | eSVideoInfo.ESRoomID = 801; |
| | | eSVideoInfo.RoomName = "0801"; |
| | | Shared.ESVideo.ShowESVideoMonitor(eSVideoInfo); |
| | | return; |
| | | #endif |
| | | |
| | | } |
| | | |
| | | void TestEZSDK() |
| | | { |
| | | |
| | | #if __Android__ |
| | | #else |
| | | EZSDK.IOS.EZSDK.Go2EZvizMonitor(); |
| | | |
| | | return; |
| | | #endif |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | { |
| | | //2020-12-22 增加点击隐藏键盘事件 |
| | | Application.HideSoftInput(); |
| | | |
| | | #if DEBUG |
| | | TestESVideo(); |
| | | return; |
| | | #endif |
| | | |
| | | //判断是否同意了隐私政策 |
| | | if (CheckPrivacyPolicy() == false) return; |