| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using HDL_ON.DAL.Server; |
| | | using HDL_ON.Entity; |
| | | using HDL_ON.UI; |
| | | using HDL_ON.UI.CSS; |
| | |
| | | |
| | | 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"); |
| | | |
| | | Inverter.Ins.ShowWebviewFormUrl($"h5/index.html?homeId={DB_ResidenceData.Instance.CurrentRegion.id}&token={UserInfo.Current.AccessToken}&refresh_token={UserInfo.Current.RefreshToken}&url={HttpUtil.GlobalRequestHttpsHost}"); |
| | | Inverter.Ins.H5Page.JSToNativeAction = (pairs) => { |
| | | MainPage.Log("xxxx"); |
| | | }; |
| | | Inverter.Ins.H5Page.CallJS(""); |
| | | //Inverter.Ins.H5Page.DidFinishAction = () => { |
| | | |
| | | //}; |
| | | }; |
| | | |
| | | |