vinc 发布的帖子
getScreenWidth: function(){
let baseUI = packageNameStartsWith("").depth(0).visibleToUser(true).findOne()
let width = baseUI.bounds().right
return width
},
getScreenHeight: function(){
let baseUI = packageNameStartsWith("").depth(0).visibleToUser(true).findOne()
let height = baseUI.bounds().bottom
return height
},