This commit is contained in:
haomingming
2023-05-09 15:04:05 +08:00
parent 7b9b80be8d
commit 807698b89f
53 changed files with 896 additions and 222 deletions
+18
View File
@@ -0,0 +1,18 @@
// Pages/webpage/index.js
Page({
/**
* 页面的初始数据
*/
data: {
src: ""
},
onLoad(options) {
console.log(options.agreement_id)
this.setData({
src: "https://img.applets.igandanyiyuan.com/basic/file/agreement.htm?id="+options.agreement_id
})
},
})
+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 */