小程序开发API之获取系统信息wx.getSystemInfo()、wx.getSystemInfoSync()

wx.getSystemInfo() 获取系统信息 函数参数: 返回值: 例如: 写法一 index.js /* brand 设备品牌 model 设备型号 pixelRatio 设备像素比 screenWidth 屏幕宽度,单位px screenHeight 屏幕高度,单位px windowWidth 可使用窗口宽度,单位px
相关文章
相关标签/搜索