From 5de5a26d3825b3182a7d3a18ed1cbdbb78a3f9aa Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 23 七月 2020 16:39:59 +0800 Subject: [PATCH] 2020-07-23 --- HDL_ON/UI/UI2/1-HomePage/HomePage.cs | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/HDL_ON/UI/UI2/1-HomePage/HomePage.cs b/HDL_ON/UI/UI2/1-HomePage/HomePage.cs index f4268e7..336b3c3 100644 --- a/HDL_ON/UI/UI2/1-HomePage/HomePage.cs +++ b/HDL_ON/UI/UI2/1-HomePage/HomePage.cs @@ -105,7 +105,7 @@ { X = Application.GetRealWidth(16), Y = Application.GetRealHeight(32), - Width = Application.GetRealWidth(200), + Width = Application.GetRealWidth(400), Height = Application.GetRealHeight(33), TextColor = CSS_Color.MainBackgroundColor, TextSize = CSS_FontSize.EmphasisFontSize_FirstLevel, @@ -123,7 +123,6 @@ }); }; #endif - environmentalView = new FrameLayout() { @@ -149,7 +148,7 @@ Gravity = Gravity.CenterVertical, TextColor = CSS_Color.MainBackgroundColor, TextSize = CSS_FontSize.PromptFontSize_FirstLevel, - Text = MainPage.cityInfo.temperature, + Text = MainPage.cityInfo.temperature + "掳", TextAlignment = TextAlignment.CenterLeft, }; environmentalView.AddChidren(btnTempValues); @@ -171,7 +170,7 @@ Gravity = Gravity.CenterVertical, TextColor = CSS_Color.MainBackgroundColor, TextSize = CSS_FontSize.PromptFontSize_FirstLevel, - Text = MainPage.cityInfo.humidity, + Text = MainPage.cityInfo.humidity + "%", TextAlignment = TextAlignment.CenterLeft, }; environmentalView.AddChidren(btnHumidityValues); @@ -306,7 +305,7 @@ contentView = new PageLayout() { Y = changeView.Bottom , - Height = Application.GetRealHeight(310 + 30), //20涓鸿秴鍑洪儴鍒� + Height = Application.GetRealHeight(310 + 30 + 10), //20涓鸿秴鍑洪儴鍒� }; bodyView.AddChidren(contentView); @@ -321,7 +320,7 @@ contentView.PageIndex = 0; #endregion - bodyView.AddChidren(new Button() { Y = changeView.Bottom, Height = Application.GetRealHeight(7), BackgroundColor = 0xAAF2F3F7 }); + bodyView.AddChidren(new Button() { Y = changeView.Bottom, Height = Application.GetRealHeight(4), BackgroundColor = 0xAAF2F3F7 }); LoadEvent_ChangeShowedFunctionType(); } -- Gitblit v1.8.0