获取用户所用手机系统
system() {
let that = this
wx.getSystemInfo({
success(res) {
if (res.system.substr(0, 3) == "iOS") {
console.log(res.system.substr(0, 3))
} else {
console.log(res.system)
}
}
})
}