看效果 这是一个全局的按钮,可以换成图片,自己写样式,每个页面都有; 须知: 1.uni.getSystemInfoSync()获取手机的信息接口 可以拿到手机屏幕的宽高 2.uni.createSelectorQuery().in(this) uniapp中式没有window对象,和dom元素的,但是有时我们需要获取页面上节点的一些几何信息; const query = uni.createSelectorQuery().in(this