获取系统信息
API:
wx.getSystemInfoSync
wx.getSystemInfo
参数:
success 接口调用成功的回调函数
fail 接口调用失败的回调函数
complete 接口调用结束的回调函数
brand 手机品牌
model 手机型号
pixelRatio 设备像素比
screenWidth 屏幕宽度
screenHeight 屏幕高度
windowWidth 可使用窗口宽度
windowHeight 可使用窗口高度
statusBarHeight 状态栏的高度
version 微信版本号
system 操作系统版本
SDKVersion 客户端基础库版本
任务
- ?不会了怎么办
-