introduce.js 385 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 Page({ /** * 页面的初始数据 */ data: { servicesList: [] }, onLoad(options) { if (options && options.element) { const query = JSON.parse(decodeURIComponent(options.element)) this.setData({ servicesList: query.servicesList, package: query.package }) } }, })