JLChen
2020-03-16 30d5375178a275abd2019f2e5ce0eab1dfa51e0e
Crabtree/SmartHome/UI/SimpleControl/MainPage.cs
@@ -1,16 +1,14 @@
using System;
using Shared.IO;
using Shared.Net;
using System.Text;
using System.Collections.Generic;
using System.Net;
using System.IO;
using Shared.SimpleControl.Phone;
// <summary>
// 程序主入口
// </summary>
//using SystemConfiguration;
using System.Net;
using System.IO;
using Shared.SimpleControl.Phone;
namespace Shared.SimpleControl
{
    /// <summary>
@@ -39,7 +37,7 @@
        //public static Button LogoButton = new Button ();
        public static string RequestVersion = "20200112";
        public static string RequestVersion = "20200310";
        public static UserInfo LoginUser;
        /// <summary>
        /// 是否是管理员权限(变更了,成员的时候,这个也为ture。为什么会声明这样变量,因为有些接口必须使用原来的Token)
@@ -53,6 +51,17 @@
                }
            }
        }
        ///// <summary>
        ///// 是否账号在其它设备登录了
        ///// </summary>
        //public static bool IsOtherDevicesLogin = false;
//#if __IOS__
//        public static readonly string PhoneType = "iOS";
//#else
//         public static readonly string PhoneType = "Android";
//#endif
        public static string SoftPadTitle = "Crabtree";
        public static string SoftTitle = "Crabtree";
@@ -128,10 +137,13 @@
                } else {
                    Phone.UserHomePage.Init ();
#if __IOS__
                    //Loading.LodingBackgroundColor = 0x10777777;
               //Loading.LodingBackgroundColor = 0x10777777;
#else
                    Loading.LodingBackgroundColor = SkinStyle.Current.MainColor;
              //Loading.LodingBackgroundColor = SkinStyle.Current.MainColor;
#endif
                    Loading.TextColor = 0xFFA9A9A9;
                    Loading.LodingBackgroundColor = SkinStyle.Current.MainColor;
                }
            } catch (Exception ex) {
                //new Alert ("Eorr", ex.Message, "Close").Show();
@@ -351,5 +363,7 @@
                MainPage.Loading.Hide ();
            });
        }
    }
}
}