if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
window.location.href = "https://www.baidu.com/";//手机端跳转百度
} else {
window.location.href = "http://news.baidu.com/";//电脑端跳转百度新闻
}
window.location.href = "https://www.baidu.com/";//手机端跳转百度
} else {
window.location.href = "http://news.baidu.com/";//电脑端跳转百度新闻
}