From 0813323658fb874cf72a21f2ac3a8699927d5731 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 02 九月 2022 17:14:58 +0800 Subject: [PATCH] 适配安卓沉浸式导航栏 --- HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs index 3873cb5..1fab8d9 100644 --- a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs +++ b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs @@ -1196,6 +1196,24 @@ }; inverterListView.AddChidren(btnOperationDataTotalData); + var clickButton = new Button(); + inverterListView.AddChidren(clickButton); + + clickButton.MouseUpEventHandler = (sender2, e2) => { + var h5BasePage = new FrameLayout(); + +#if __Android__ + //閫傞厤瀹夊崜娌夋蹈寮忓鑸爮 + h5BasePage.Y = Application.GetRealHeight(16); + h5BasePage.Height = Application.GetRealHeight(651); +#endif + MainPage.BasePageView.AddChidren(h5BasePage); + MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; + + h5BasePage.AddChidren(Inverter.Ins.H5Page); + Inverter.Ins.ShowWebviewFormUrl("h5/index"); + }; + index++; } -- Gitblit v1.8.0