From e64dd8689cf4bdf812b43a2f02e51c2100bedd02 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期二, 27 四月 2021 19:06:15 +0800 Subject: [PATCH] 2021-4-27-1 --- HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs b/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs index 7fd9097..4579724 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs @@ -61,6 +61,7 @@ public void LoadPage() { + MainPage.CurPageIndex = 2; bodyView.BackgroundColor = CSS_Color.MainBackgroundColor; #region top topView = new FrameLayout() @@ -71,7 +72,7 @@ bodyView.AddChidren(topView); //涓嶆槸A缃戝叧鎴栬�呮槸鎴愬憳 鍙厑璁告坊鍔犲満鏅殣钘忚嚜鍔ㄥ寲 - var HideAutoPage = DB_ResidenceData.Instance.GatewayType != 1 || DB_ResidenceData.Instance.CurrentRegion.IsOthreShare; + var HideAutoPage = DB_ResidenceData.Instance.CurrentRegion.IsOthreShare; //鍒ゆ柇鏄惁闇�瑕侀殣钘忚嚜鍔ㄥ寲 if (HideAutoPage) { @@ -229,7 +230,7 @@ sceneFunctionView = new VerticalScrolViewLayout() { - Y = Application.GetRealHeight(53), + Y = Application.GetRealHeight(53), Height = Application.GetRealHeight(667 - 64 - 49 - 52 + 30), }; scenePageView.AddChidren(sceneFunctionView); @@ -605,7 +606,8 @@ else { //璺宠浆鍒伴�昏緫鐣岄潰 - UI2.Intelligence.Automation.MainView.SkipAddLogicPage(); + UI2.Intelligence.Automation.MainView logicMainView = new UI2.Intelligence.Automation.MainView(); + logicMainView.SkipAddLogicPage(); } }; } -- Gitblit v1.8.0