微信小程序判斷是否爲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沒找到
相關文章
相關標籤/搜索