From 61513acf37a1b97e0b1cf5342ff459c3c6fe83b4 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 26 九月 2023 16:36:39 +0800 Subject: [PATCH] 问题修复 --- OnPro/HDL_ON/UI/MainPage.cs | 18 ++++++++---------- 1 files changed, 8 insertions(+), 10 deletions(-) diff --git a/OnPro/HDL_ON/UI/MainPage.cs b/OnPro/HDL_ON/UI/MainPage.cs index 15870d9..655794f 100644 --- a/OnPro/HDL_ON/UI/MainPage.cs +++ b/OnPro/HDL_ON/UI/MainPage.cs @@ -20,7 +20,6 @@ /// </summary> public static PageLayout BasePageView { get; set; } - public static Button BaseTopButton { get; set; } /// <summary> /// 鐢ㄦ埛鎺у埗鐖跺鍣� /// </summary> @@ -28,7 +27,7 @@ /// <summary> /// 鐗堟湰鍙� /// </summary> - public static string VersionString = "1.0"; + public static string VersionString = "1.0.0"; ///// <summary> ///// 瀹㈡埛绔被鍨� ///// </summary> @@ -144,22 +143,21 @@ try { Application.DesignWidth = 375; - Application.DesignHeight = 667+20; + Application.DesignHeight = 667; //璁剧疆璇█鐜 闃叉string杞� double鍑虹幇閫楀彿锛宼odouble寮傚父绛夐棶棰� System.Globalization.CultureInfo.CurrentCulture = System.Globalization.CultureInfo.CreateSpecificCulture("zh-CN"); //BaseView = Application.MainPage; Application.MainPage.BackgroundColor = 0xFFF7F7F7; - BaseTopButton = new Button() - { - Height = Application.GetRealHeight(22), - BackgroundColor = 0xFFF7F7F7,//0xFFCDC4BD,#C3BCB7 - }; - Application.MainPage.AddChidren(BaseTopButton); + //BaseTopButton = new Button() + //{ + // Height = Application.GetRealHeight(22), + // BackgroundColor = 0xFFF7F7F7,//0xFFCDC4BD,#C3BCB7 + //}; + //Application.MainPage.AddChidren(BaseTopButton); //Application.MainPage.BackgroundColor = 0xFFFF0000;// CSS_Color.MainBackgroundColor; BaseView = new FrameLayout() { - Y = Application.GetRealHeight(20), Width = Application.GetRealWidth(376), Height = Application.GetRealHeight(667), }; -- Gitblit v1.8.0