// 切换移动端/pc
function switchViewTemplate() {if (window.location.search.indexOf('type=media') > 0) returnvar winWidth = '';if (window.innerWidth) {winWidth = window.innerWidth;} else if ((document.body) && (document.body.clientWidth)) {winWidth = document.body.clientWidth;}var urlPath = window.location.href.split('index.html')[0];if (/(iPhone|Android)/i.test(navigator.userAgent) || winWidth <= 750) {window.location.href = urlPath + "mobile.html";}
}