From e22e6699a4ec73e81f45526eb8249379963e22d7 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 14 九月 2022 13:49:05 +0800
Subject: [PATCH] 光伏更新

---
 HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
index f32c15f..1ee95b0 100644
--- a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
+++ b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
@@ -1,5 +1,6 @@
 锘縰sing 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 = () => {
+
+                    //};
                 };
 
 

--
Gitblit v1.8.0