分包医生
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
// Pages/webpage/index.js
|
||||
import { API } from '../../../utils/network/api'
|
||||
const api = new API()
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
src: "",
|
||||
static_host: api.getStaticHost()
|
||||
},
|
||||
|
||||
onLoad(options) {
|
||||
console.log(options.agreement_id)
|
||||
console.log(this.data.static_host+"/basic/file/agreement.htm?id="+options.agreement_id)
|
||||
this.setData({
|
||||
src: this.data.static_host+"/basic/file/agreement.htm?id="+options.agreement_id
|
||||
})
|
||||
},
|
||||
|
||||
})
|
||||
@@ -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