From ef241f4cde952f8bd24bcabd8ecaa319b56ba2af Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期一, 28 六月 2021 13:48:15 +0800 Subject: [PATCH] 2021-06-28 1.更新Android网络监测方法 2.修复忘记密码发送邮件失败 --- Crabtree/SmartHome/UI/SimpleControl/MainPage.cs | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Crabtree/SmartHome/UI/SimpleControl/MainPage.cs b/Crabtree/SmartHome/UI/SimpleControl/MainPage.cs index ad140ac..99c4b5c 100644 --- a/Crabtree/SmartHome/UI/SimpleControl/MainPage.cs +++ b/Crabtree/SmartHome/UI/SimpleControl/MainPage.cs @@ -35,11 +35,11 @@ } return loading; } - } + } //public static Button LogoButton = new Button (); - public static string CodeIDString = "20191223"; + public static string CodeIDString = "20210608"; public static UserInfo LoginUser; @@ -108,11 +108,14 @@ //Pad.UserHomePage.Init (); } else { Phone.UserHomePage.Init (); -#if __IOS__ - //Loading.LodingBackgroundColor = 0x10777777; -#else + //#if __IOS__ + // //Loading.LodingBackgroundColor = 0x10777777; + //#else + // Loading.LodingBackgroundColor = SkinStyle.Current.MainColor; + //#endif + + Loading.TextColor = 0xFFA9A9A9; Loading.LodingBackgroundColor = SkinStyle.Current.MainColor; -#endif } } catch (Exception ex) { //new Alert ("Eorr", ex.Message, "Close").Show(); @@ -193,7 +196,6 @@ var webClient = new WebClient (); if (urlHead == "") { urlHead = $"{"https://homeautomation.havells.com"}/WebApi/"; - urlHead = "https://developer.hdlcontrol.com/api/"; } else { webClient.Headers.Add ("CONTENT-TYPE", "application/json"); } -- Gitblit v1.8.0