mounted() {
if (/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)) {
alert('苹果移动端或ipad')
window.location.replace("https://h5.q1.com/#/");
} else if (/(Android)/i.test(navigator.userAgent)) {
alert('安卓移动端')
window.location.replace("https://h5.q1.com/#/");
} else {
alert('pc端')
this.getlsLunbolist(); // 轮播图
// 跳转回顶部
document.documentElement.scrollTop = 0;
};
}