let custom = wx.getMenuButtonBoundingClientRect();
setTimeout(function() {
console.log('custom', custom)
that.globalData.Custom = custom;
that.globalData.CustomBar = custom.bottom + custom.top - e.statusBarHeight;
}, 500)
微信小程序开发问题解答
微信小程序开发者回答:
麻烦具体描述问题并提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
本文网址:http://www.91bianli.com/weixinxiaochengxu/7951.html