wxr
2023-04-11 7ee9224f4779efc78bfc8130e518e7d123864d47
HDL_ON/UI/MainPage.cs
@@ -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;