From 171bf03f3664226eeff2b20ee9bd2e914b63a17d Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 13 三月 2020 09:18:50 +0800 Subject: [PATCH] 20200313 --- HDL_ON/UI/MainPage.cs | 22 +++++++++++++++++++--- 1 files changed, 19 insertions(+), 3 deletions(-) diff --git a/HDL_ON/UI/MainPage.cs b/HDL_ON/UI/MainPage.cs index 0e4aa99..a9de67c 100644 --- a/HDL_ON/UI/MainPage.cs +++ b/HDL_ON/UI/MainPage.cs @@ -26,6 +26,23 @@ /// </summary> public static int Company = 0; + public static bool Increase + { + get + { +#if __IOS__ + if (Application.PhoneType>10) + { + return true; + } + return false; +#else + return false; +#endif + } + } + + public static void Show() { try @@ -96,9 +113,8 @@ var userPage = new UI.UserPage(); BasePageView.AddChidren(userPage); userPage.LoadPage(); - - - BasePageView.PageChange += (sender, e) => { + BasePageView.PageChange += (sender, e) => + { while (e < BasePageView.ChildrenCount - 1) { BasePageView.GetChildren(BasePageView.ChildrenCount - 1).RemoveFromParent(); -- Gitblit v1.8.0