分包医生
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// Pages/webpage/index.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
src: ""
|
||||
},
|
||||
|
||||
onLoad(options) {
|
||||
console.log(options.src)
|
||||
this.setData({
|
||||
src: options.src
|
||||
})
|
||||
},
|
||||
|
||||
})
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
<!--Pages/webpage/index.wxml-->
|
||||
<web-view src="{{src}}"/>
|
||||
@@ -0,0 +1 @@
|
||||
/* Pages/webpage/index.wxss */
|
||||
Reference in New Issue
Block a user