<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">function GetQueryString(name)
{
     var reg = new RegExp("(^|&amp;)"+ name +"=([^&amp;]*)(&amp;|$)");
     var r = window.location.search.substr(1).match(reg);
     if(r!=null)return  unescape(r[2]); return null;
}

function getScrollTop() {  
        var scrollPos;  
        if (window.pageYOffset) {  
        scrollPos = window.pageYOffset; }  
        else if (document.compatMode &amp;&amp; document.compatMode != 'BackCompat')  
        { scrollPos = document.documentElement.scrollTop; }  
        else if (document.body) { scrollPos = document.body.scrollTop; }   
        return scrollPos;   
}

/*menu*/
$(".toTop").click(function(){  
    $('body,html').animate({scrollTop:0},700); //鐐瑰嚮鎸夐挳璁╁叾鍥炲埌椤甸潰椤堕儴  
}); 

// $(window).scroll(function() { 
//     var yheight=getScrollTop(); //婊氬姩鏉¤窛椤剁鐨勮窛绂� 
//     if(700  &lt;= yheight){
//         $(".menu").fadeIn(500);
//     }else{
//         $(".menu").fadeOut(500);
//     } 
// })

$(".arrow").on("click",function(){
    var hhh = $(".banner").height();
    $('body,html').animate({scrollTop:hhh},700);
})

/*set rem*/
! function(e, t) {
    function n() {}
    function d() { 
        var e = i.clientWidth / 10;
        i.style.fontSize = e + "px" 
    } 
    var i = t.documentElement, o = e.devicePixelRatio || 1; 
        if (n(), d(), e.addEventListener("resize", d), 
            e.addEventListener("pageshow", function(e) { 
                e.persisted &amp;&amp; d() 
            }), 
            o &gt;= 2) { 
            var a = t.createElement("body"),
            s = t.createElement("div");
            s.style.border = ".5px solid transparent", 
            a.appendChild(s), i.appendChild(a), 
            1 === s.offsetHeight &amp;&amp; i.classList.add("hairlines"), i.removeChild(a) 
        } 
    }(window, document);

$("#wx-code").hover(function(){
    $(".wx-code").fadeIn(500);
},function(){
    $(".wx-code").fadeOut(500);
})

$(".footer-list ul h3").on("click",function(){
    var have = $(this).parent().hasClass("on");
    if(have){
        $(this).parent().removeClass('on');
    }else{
        $(this).parent().addClass('on');
    }
    $(this).next().find('p').slideToggle();
})

$(".subheader-fix li h3").on("click",function(){
    var have = $(this).parent().hasClass("on");
    if(have){
        $(this).parent().removeClass('on');
    }else{
        $(this).parent().addClass('on');
    }
    $(this).parent().find('p').slideToggle();
})

$(".menu").on("click",function(){
    $(".subheader").fadeIn(500);
    $(".subheader-fix ul li").removeClass("bounceOutLeft hide").addClass('bounceInLeft');
})

$(".mask").on("click",function(){
    var  time = setTimeout(function(){
        $(".subheader").fadeOut(500);
    },800)
    $(".subheader-fix ul li").removeClass("bounceInLeft").addClass('bounceOutLeft hide');
})</pre></body></html>