wxr
2022-10-27 bbd6b592a6b883e013ff1e0a574976ceba5009ea
HDL_ON/UI/UI2/H5Page.cs
New file
@@ -0,0 +1,25 @@
using 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);
        }
    }
}