ios12兼容性问题,调用原生接口,判断系统为ios12

if(data)

this.$nextTick(()=>{

let versionArr = getAppSystemVersion();

If(versionArr[0] === ‘12’){

If(doucument.querySelector(‘.button-wrap’)){

Let btndom = document.querySelector(‘.button-wrap’);

If(btndom.style){

Btndom.style.paddingBottom = 1.7+’rem’

}

}

}

})

posted @ 2018-12-17 13:58  凯尔Grant  阅读(634)  评论(0编辑  收藏  举报