From b69d7735274b8d0f741da8a6bb8b8e1347477a5a Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 19 三月 2020 17:14:16 +0800 Subject: [PATCH] 20200319 --- 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