微信小程序适配iphonex
                                // 在app.js中判断是否是哪种设备 globalData: { isIphoneX: false, userInfo: null }, onShow:function(){ let that = this; wx.getSystemInfo({ success: res=>{ // console.log('手机信息res'+res.model) let modelmes = res.model; if (modelmes.search('iPhone X') != -1) { that.globalData.isIphoneX = true }   } }) }, 在需要引用的页面js                            
                            
                            
                            
                        
                            下载地址
                        
                    
                            用户评论