<script type="text/javascript">
var ua = navigator.userAgent.toLowerCase();
var isWeixin = ua.indexOf('micromessenger') != -1;
var isAndroid = ua.indexOf('android') != -1;
var isIos = (ua.indexOf('iphone') != -1) || (ua.indexOf('ipad') != -1);
var isQQ = ua.indexOf('qq') != -1;
var isChrome = ua.indexOf('chrome') != -1;
if (isWeixin || isAndroid || isIos || isQQ) {//手机访问
location.href = "#"
}else{//电脑访问
location.href = "#"
}
if (isWeixin) {//微信访问
location.href = "#"
}
if (isAndroid) {//安卓访问
location.href = "#"
}
if (isIos) {//苹果访问
location.href = "#"
}
if(isQQ){//QQ访问
location.href = "#"
}
</script>
留言咨询