18 lines
294 B
JavaScript
18 lines
294 B
JavaScript
// 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
|
|
})
|
|
},
|
|
|
|
}) |