微信小程序判断是否为iphonePlus iphoneX,iphoneXR等

onLaunch: function () { let _self = this; wx.getSystemInfo({ success: res => { let modelmes = res.model;//手机类型 if(modelmes.search('iPhone 6/7/8 Plus') != -1){ //-1没找到
相关文章
相关标签/搜索