From bbd6b592a6b883e013ff1e0a574976ceba5009ea Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 27 十月 2022 09:11:33 +0800 Subject: [PATCH] Merge branch 'dev--wxr' --- HDL_ON/UI/UI2/H5Page.cs | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/H5Page.cs b/HDL_ON/UI/UI2/H5Page.cs new file mode 100644 index 0000000..46f6b8f --- /dev/null +++ b/HDL_ON/UI/UI2/H5Page.cs @@ -0,0 +1,25 @@ +锘縰sing System; +using Shared; +namespace HDL_ON.UI.UI2 +{ + public class H5Page : FrameLayout + { + public H5Page() + { + } + public void LoadView() + { + WebView webView = new WebView(); + this.AddChidren(webView); + webView.LoadFileUrl("h5/index"); + + //Button button = new Button { Width = 200, Height = 200, Text = "Hello", Y = 300, BackgroundColor = 0xFFFF0012 }; + //button.MouseUpEventHandler += (s, e) => + //{ + // webView.CallJS("uniAppAndroidFun(" + "'hello world'" + ")"); + //}; + //this.AddChidren(button); + + } + } +} -- Gitblit v1.8.0