wx.getMenuButtonBoundingClientRect()获取高度问题: 在开发者工具: 在真机上: 代码片段如下: https://developers.weixin.qq.com/s/wi6Pglmv7s8P。