// 获取胶囊按钮位置信息
export const getCapsuleButton = () => {
let capsule = uni.getMenuButtonBoundingClientRect();
return {
// 胶囊到顶部举例
top: capsule.top,
// 胶囊高度+顶部间距- 已留空白间距
seatTop: capsule.top + capsule.height + 8,
}
}
06-26
02-27
2549
06-03