onApply() {
let self = this;
wx.getSystemInfo({
success: function (e) {
var a = e.model;
if (a.indexOf("iPhone") != -1) {
//是不是包含iphoneX
if (a.indexOf("6" || "7" || "8") != -1) {
self.globalData.isIphone = false;
return;
}
self.globalData.isIphone = true;
} else {
self.globalData.isIphone = false;
}
}
});
}