锶源昆仑会员+体验官
This commit is contained in:
30
pages/webView/index.js
Normal file
30
pages/webView/index.js
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* 手太欠
|
||||
* 愿这世界都如故事里一样 美好而动人~
|
||||
*/
|
||||
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
url:''
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad (options) {
|
||||
this.setData({
|
||||
url : decodeURIComponent(options.url)
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow: function () {
|
||||
|
||||
}
|
||||
})
|
||||
3
pages/webView/index.json
Normal file
3
pages/webView/index.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
pages/webView/index.wxml
Normal file
1
pages/webView/index.wxml
Normal file
@@ -0,0 +1 @@
|
||||
<web-view src="{{url}}"></web-view>
|
||||
1
pages/webView/index.wxss
Normal file
1
pages/webView/index.wxss
Normal file
@@ -0,0 +1 @@
|
||||
/* pages/webView/index.wxss */
|
||||
Reference in New Issue
Block a user