From 608b97795c1419b0411b6320126c9681dd4126da Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 21 三月 2023 09:11:50 +0800
Subject: [PATCH] 组合调光

---
 HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
index fa38584..34a2c9b 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
@@ -585,7 +585,7 @@
                     #endregion
 
                     residenceFunctionCount++;
-                    #region ---浜鸿劯绠$悊
+                    #region ---缁勫悎璋冨厜
                     var faceManagementView = new FrameLayout()
                     {
                         X = Application.GetRealWidth(28 - 24),
@@ -608,7 +608,7 @@
                     {
                         Y = btnResidenceManageIcon.Bottom,
                         Height = Application.GetRealHeight(29),
-                        TextID = StringId.FaceManagemant,
+                        TextID = StringId.CombinedDimming,
                         TextAlignment = TextAlignment.Center,
                         TextColor = CSS_Color.FirstLevelTitleColor,
                         TextSize = CSS_FontSize.PromptFontSize_FirstLevel
@@ -617,9 +617,14 @@
                     #endregion
 
                     EventHandler<MouseEventArgs> eventHandler = (sender, e) => {
-
+                        var page = new CombinedDimmingListPage();
+                        MainPage.BasePageView.AddChidren(page);
+                        page.LoadPage();
+                        MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
                     };
-
+                    faceManagementView.MouseUpEventHandler = eventHandler;
+                    btnFaceManagementText.MouseUpEventHandler = eventHandler;
+                    btnFaceManagementIcon.MouseUpEventHandler = eventHandler;
                 }
             }
             else

--
Gitblit v1.8.0