From e552072d347efcfaed35ebb8050beb741f77badd Mon Sep 17 00:00:00 2001 From: Tong <1025782220@qq.com> Date: 星期四, 02 九月 2021 16:01:48 +0800 Subject: [PATCH] 解决home键、荧石sdk冲突 --- HDL_ON/UI/UI2/3-Intelligence/Automation/Weather.cs | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/Weather.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/Weather.cs index 90ab211..e0d3cbc 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/Weather.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/Weather.cs @@ -72,7 +72,14 @@ weatherCondition.Show(); MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; }; - + //绌烘皵璐ㄩ噺 + kongqiViewk.btnClick.MouseUpEventHandler += (sen, e) => { + AirQuality airQuality = new AirQuality(); + MainPage.BasePageView.AddChidren(airQuality); + airQuality.Show(); + MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; + }; + #endregion } } -- Gitblit v1.8.0