自定义头部导航栏 logo 与胶囊按钮对齐 uniapp 自定义头部导航栏 logo 与胶囊按钮对齐 获取胶囊位置信息 let top = getMenuButtonBoundingClientRect().top; 设置 logo 位置