From 89e5ee13906a80f5357e078301169fabbf9103c6 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期四, 01 四月 2021 10:28:23 +0800
Subject: [PATCH] 2021-4-1-5

---
 HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
index d23f3b4..c0aff4b 100644
--- a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
+++ b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
@@ -627,7 +627,7 @@
                             LoadEvent_SwitchFunction(btnLightPower, item, functionView);
                         };
                         functionPageTitleId = StringId.Lights;
-                      
+
                         #endregion
                         break;
                     case ShowFunction.AC:
@@ -805,13 +805,10 @@
                         break;
                     case ShowFunction.VideoIntercom:
                         btnName.TextID = StringId.VideoIntercom;
-
                         btnFunctionViewBg.MouseUpEventHandler = (sender, e) =>
                         {
-                            var mainView = new HDL_ON.UI.UI2.FuntionControlView.Video.MainView();
-                            MainPage.BasePageView.AddChidren(mainView);
-                            mainView.Show();
-                            MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+                            var videoMethod = new UI2.FuntionControlView.Video.VideoMethod();
+                            videoMethod.MianView(this,FunctionList.List.videoIntercom);
                         };
                         break;
 

--
Gitblit v1.8.0