wxr
2023-04-11 f1173fc28f51e5845a0d1f0b0f6280a714696fda
HDL_ON/UI/MainPage.cs
@@ -26,7 +26,7 @@
        /// <summary>
        /// 版本号
        /// </summary>
        public static string VersionString = "1.6.6";
        public static string VersionString = "1.7";
        ///// <summary>
        ///// 客户端类型
        ///// </summary>
@@ -211,7 +211,10 @@
        /// </summary>
        public static void GoLoginPage(UserInfo userInfo = null)
        {
            BaseView.RemoveAll();
            for (int i = 0; i < BaseView.ChildrenCount; i++)
            {
                BaseView.GetChildren(i).RemoveFromParent();
            }
            BaseView.BackgroundColor = CSS_Color.BackgroundColor;
            var fisrtView = new UI.UI1Login.LoginPage();
            fisrtView.BackgroundColor = CSS_Color.MainBackgroundColor;
@@ -226,7 +229,11 @@
        /// <param name="pageShowEvent">主页显示之后触发的事件(没有住宅的话,则不会触发)</param>
        public static void GoUserPage(bool downloadData, bool isFirstOpen = false, Action pageShowEvent = null)
        {
            BaseView.RemoveAll();
            for (int i = 0; i < BaseView.ChildrenCount; i++)
            {
                BaseView.GetChildren(i).RemoveFromParent();
            }
            #region 后退事件
            BasePageView = new PageLayout();
            BasePageView.ScrollEnabled = false;