import { useDeviceInfo } from './deviceinfo-proxy.js'; import { useDeviceLocation } from './device-location-proxy.js'; Page({ behaviors: [useDeviceInfo, useDeviceLocation], data: {}, onLoad(options) { this.getOpenerEventChannel().on('acceptSceneData', data => { if (data) { this.setData({ scene: data.scene, }); } }); }, onReachBottom() {}, });