//判断是IOS还是安卓 docPros appSource() { const u = navigator.userAgent; const isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); if (isiOS) { // this.$utils.msgshow('ios') this.$refs.docPros.style.bottom='-0.03rem' } else { // this.$utils.msgshow('安卓') this.$refs.docPros.style.bottom='0.03rem' } },