优化页面

This commit is contained in:
haomingming
2023-03-17 10:13:35 +08:00
parent dea1555b9b
commit 589c2cf823
81 changed files with 894 additions and 524 deletions
+18
View File
@@ -0,0 +1,18 @@
// Pages/webpage/index.js
Page({
/**
* 页面的初始数据
*/
data: {
src: ""
},
onLoad(options) {
console.log(options.src)
this.setData({
src: options.src
})
},
})
+3
View File
@@ -0,0 +1,3 @@
{
"usingComponents": {}
}
+2
View File
@@ -0,0 +1,2 @@
<!--Pages/webpage/index.wxml-->
<web-view src="{{src}}"/>
+1
View File
@@ -0,0 +1 @@
/* Pages/webpage/index.wxss */