ios端会有内边距
解决方法就是判断系统类型,来修改wxss样式
var phone = wx.getSystemInfoSync(); //调用方法获取机型
if (phone.platform == 'ios') {
this.isIos = true
} else if (phone.platform == 'android') {
this.isIos = false
}
ios端会有内边距
解决方法就是判断系统类型,来修改wxss样式
var phone = wx.getSystemInfoSync(); //调用方法获取机型
if (phone.platform == 'ios') {
this.isIos = true
} else if (phone.platform == 'android') {
this.isIos = false
}