右上角膠囊的信息,包含width、height、top等
let rect= wx.getMenuButtonBoundingClientRect();
機型信息
let info=wx.getSystemInfoSync();
膠囊底部到手機最上面的距離
rect.bottom
膠囊三個點到屏幕右邊的距離
info.screenWidth-rect.right+ rect.width*3/4+5