摘要: 1 getSystemInfoSync().windowHeight // 窗口的高度 2 createSelectorQuery() .select('css选择器') .boundingClientRect() .exec(rect ⇒ {console.log(rect, 可以得到某个元素的高 阅读全文
posted @ 2020-07-06 18:44 Running00 阅读(100) 评论(0) 推荐(0) 编辑
摘要: bind 阅读全文
posted @ 2020-07-06 11:00 Running00 阅读(83) 评论(0) 推荐(0) 编辑