From 0c6057a603d1ce44ffe7ccbcecc2cf6cae5675f5 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 01 七月 2021 14:19:58 +0800 Subject: [PATCH] 1 --- HDL_ON/UI/UI2/3-Intelligence/Automation/Weather.cs | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/Weather.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/Weather.cs index c1fc7aa..90ab211 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/Weather.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/Weather.cs @@ -35,6 +35,7 @@ airqualityView.btnLine.X = Application.GetRealWidth(16); airqualityView.btnLine.Width = Application.GetRealWidth(375 - 16 - 16); airqualityView.btnText.TextID =StringId.shuwaigongneng; + airqualityView.btnText.Width = Application.GetRealWidth(280); viewLayout.AddChidren(airqualityView.FLayoutView()); //澶╂皵鍙樺寲(鍩庡競澶╂皵) LogicView.SelectTypeView weatherView = new LogicView.SelectTypeView(); @@ -71,14 +72,7 @@ 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