This commit is contained in:
2025-04-05 23:47:00 +08:00
commit 8001f8eaeb
215 changed files with 14655 additions and 0 deletions

21
pages/webview/webview.js Normal file
View File

@@ -0,0 +1,21 @@
Page({
data: {
url: ""
},
onLoad: function(n) {
this.setData({
url: n.url
});
},
onReady: function() {},
onShow: function() {},
onHide: function() {},
onUnload: function() {},
onPullDownRefresh: function() {},
onReachBottom: function() {},
onShareAppMessage: function() {
return {
path: "/pages/webview/webview?url=".concat(this.data.url)
};
}
});

View File

@@ -0,0 +1,3 @@
{
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<web-view src="{{url}}"></web-view>

View File