From 9acd3887f1f8db40d59f991b1726a61aa7c7637c Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 12 五月 2021 15:13:56 +0800
Subject: [PATCH] Merge branch 'CJL' into wxr4

---
 HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs |   22 +++++++++++++++++++---
 1 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs
index 5379de2..53fb6d3 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs
@@ -1,4 +1,5 @@
 锘縰sing System;
+using System.Collections.Generic;
 using HDL_ON.DAL.Server;
 using HDL_ON.Entity;
 using Shared;
@@ -18,11 +19,12 @@
             LoadEvent_GoPersonalDataPage();
             LoadEvent_SkipAboutOnPage();
             LoadEvent_SkipGetSupportPage();
-            if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare)
+            if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare)
             {
                 LoadEvent_SkipResdentialManagePage();
                 LoadEvent_GoMemberManagement();
                 LoadEvent_SkipbtnAddFunctionPage();
+                LoadEvent_SkipSmartSpeakerPage();
             }
         }
 
@@ -135,7 +137,7 @@
                     var btnHomeName = new Button()
                     {
                         Width = Application.GetRealWidth(112),
-                        Height = Application.GetRealHeight(44),
+                        Height = Application.GetRealHeight(40),
                         TextAlignment = TextAlignment.CenterLeft,
                         TextColor = CSS.CSS_Color.FirstLevelTitleColor,
                         SelectedTextColor = CSS.CSS_Color.MainColor,
@@ -194,7 +196,7 @@
         #region 浣忓畢绠$悊
         void LoadEvent_SkipResdentialManagePage()
         {
-            if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare)
+            if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare)
             {
                 EventHandler<MouseEventArgs> eventHandler = (sender, e) =>
                 {
@@ -299,6 +301,20 @@
                 MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
             };
         }
+
+        /// <summary>
+        /// 璺宠浆鏅鸿兘闊崇椤甸潰
+        /// </summary>
+        void LoadEvent_SkipSmartSpeakerPage()
+        {
+            btnSmartSpeakerText.MouseUpEventHandler = (sender, e) =>
+            {
+                var page = new SmartSpeakerListPage();
+                MainPage.BasePageView.AddChidren(page);
+                page.LoadPage();
+                MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+            };
+        }
         #endregion
 
 

--
Gitblit v1.8.0