// pages/mUser/sceneauthentication/sceneauthentication.js import $f from "../../../service/baserequest"; const app = getApp() Page({ /** * 页面的初始数据 */ data: { icon1: $f.baseIconUrl + 'res/companyinfo-1.png' }, /** * 生命周期函数--监听页面加载 */ onLoad(options) { this.setData({ sceneType: app.globalData.userInfo.extension2 }) this.getOpenerEventChannel().on('acceptDataFromOpenerPage', (data) => { this.setData({ authStatus: data.authStatus }) if (data.barTitle) { wx.setNavigationBarTitle({ title: data.barTitle, }); } }) }, onSubmit(e) { console.log(e); const info = e.detail } })