From 6eb21769c74cfcd10084f73ff3f212355849a3c7 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期一, 17 五月 2021 15:00:13 +0800
Subject: [PATCH] 2021-5-17-2
---
HDL_ON/UI/UI2/3-Intelligence/Automation/Weather.cs | 18 +++++++++++++++++-
1 files changed, 17 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 53bba3f..e11c983 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/Weather.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/Weather.cs
@@ -46,6 +46,15 @@
weatherView.btnText.TextID = StringId.tianqibianhua;
viewLayout.AddChidren(weatherView.FLayoutView());
+ //绌烘皵璐ㄩ噺
+ LogicView.SelectTypeView kongqiViewk = new LogicView.SelectTypeView();
+ kongqiViewk.frameLayout.Y = weatherView.frameLayout.Bottom;
+ kongqiViewk.btnIcon.Visible = false;
+ kongqiViewk.btnText.X = Application.GetRealWidth(16);
+ kongqiViewk.btnLine.X = Application.GetRealWidth(16);
+ kongqiViewk.btnLine.Width = Application.GetRealWidth(375 - 16 - 16);
+ kongqiViewk.btnText.TextID = StringId.kongqizhiliang;
+ viewLayout.AddChidren(kongqiViewk.FLayoutView());
#endregion
#region 鎵�鏈夌偣鍑讳簨浠�
@@ -64,7 +73,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