const _app = getApp() Page({ data: { popupShow: false, popupType: 'argument', popupParams: { position: 'bottom', }, pageTop: '', background: 'transparent', }, onLoad() { const menuInfo = wx.getMenuButtonBoundingClientRect() this.setData({ pageTop: menuInfo.bottom, }) }, routerTo(e) { const { url } = e.currentTarget.dataset wx.navigateTo({ url, }) }, }) export {}