获取顶级top
var ua = navigator.userAgent.toLowerCase();
    if(ua.indexOf("android") > 0 || ua.indexOf("iphone") > 0){
        window.location.href = "m/index.html";
    }else if(top.location.href.indexOf("guigu")){
        window.location.href = "c/index.html";
    }