wxr
2021-11-30 8108700f67ddbe1724ee0b1000d9e55a844f6f28
HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs
@@ -16,6 +16,9 @@
        PageLayout contentPageView;
        Button btnAutomationTitle;
        Button btnAddIconBg;
        #region 安防区域
        FrameLayout securityView;
        Button btnSecurityTitle;
@@ -131,6 +134,7 @@
                    };
                    topView.AddChidren(btnSceneTilte);
                    btnAutomationTitle = new Button();
                    btnAutomationTitle = new Button();
                }
            }
@@ -215,9 +219,10 @@
                        TextID = StringId.Automation,
                    };
                    topView.AddChidren(btnAutomationTitle);
                    btnAutomationTitle = new Button();
                }
            }
            var btnAddIconBg = new Button()
            btnAddIconBg = new Button()
            {
                X = Application.GetRealWidth(337),
                Y = Application.GetRealHeight(29),
@@ -597,6 +602,7 @@
            {
                if (contentPageView.PageIndex == 2)
                {
                    btnAddIconBg.Visible = false;
                    btnSecurityTitle.IsSelected = true;
                    btnSecurityTitle.TextSize = CSS_FontSize.HeadlineFontSize;
                    btnSecurityTitle.IsBold = true;
@@ -609,6 +615,7 @@
                }
                else if (contentPageView.PageIndex == 0)
                {
                    btnAddIconBg.Visible = true;
                    btnSecurityTitle.IsSelected = false;
                    btnSecurityTitle.TextSize = CSS_FontSize.TextFontSize;
                    btnSecurityTitle.IsBold = false;
@@ -621,6 +628,7 @@
                }
                else
                {
                    btnAddIconBg.Visible = true;
                    btnSecurityTitle.IsSelected = false;
                    btnSecurityTitle.TextSize = CSS_FontSize.TextFontSize;
                    btnSecurityTitle.IsBold = false;
@@ -661,7 +669,10 @@
                btnSceneTilte.TextSize = CSS_FontSize.TextFontSize;
                contentPageView.PageIndex = 1;
            };
            btnSecurityTitle.MouseUpEventHandler = (sender, e) => {
            if (btnSecurityTitle != null)
            {
                btnSecurityTitle.MouseUpEventHandler = (sender, e) =>
                {
                if(btnSecurityTitle.IsSelected )
                {
                    return;
@@ -675,6 +686,7 @@
                contentPageView.PageIndex = 2;
            };
        }
        }
        #endregion
        /// <summary>