wxr
2022-09-14 e22e6699a4ec73e81f45526eb8249379963e22d7
HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using HDL_ON.DAL.Server;
using HDL_ON.Entity;
using HDL_ON.UI;
using HDL_ON.UI.CSS;
@@ -1201,11 +1202,25 @@
                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 = () => {
                    //};
                };