wxr
2023-07-26 75b7ec9583cbd0ad84b08cfa4d3df87ba42c2ba4
Crabtree/SmartHome/UI/SimpleControl/MainPage.cs
@@ -39,7 +39,11 @@
        //public static Button LogoButton = new Button ();
        public static string CodeIDString = "20200403";
        public static string CodeIDString = "20230202";
        /// <summary>
        /// 网关状态
        /// </summary>
        public static string GatewayStatus = "";
        public static UserInfo LoginUser;
@@ -108,11 +112,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();
@@ -192,7 +199,7 @@
                #region
                var webClient = new WebClient ();
                if (urlHead == "") {
                    urlHead = $"{"https://homeautomation.havells.com"}/WebApi/";
                    urlHead = "https://homeautomation.havells.com/WebApi/";
                } else {
                    webClient.Headers.Add ("CONTENT-TYPE", "application/json");
                }