如图,微信小程序右上角会有系统默认的两个按钮,适配的时候需要去获取偏移量,这个有api可以获取吗
应该是用微信自己的api吧 https://developers.weixin.qq.com/miniprogram/dev/api/ui/menu/wx.getMenuButtonBoundingClientRect.html