<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">$(function () {
    banner();
	/*å·¥ç¨‹æ¡ˆä¾‹*/
    $('.index .case').slide({ titCell:'.hd ul', mainCell:'.bd ul', autoPlay:true, autoPage:true, delayTime:300, effect:'leftLoop',trigger:"click",scroll:4,vis:4});
	$("#top").click(function () {
        $("body, html").stop().animate({ "scrollTop": 0 });
    });
});
// bannerç„¦ç‚¹å›¾
function banner() {
    if (!$("#banner").length || $("#banner li").length &lt;= 1) {	return false; }
    $("#banner ul li:gt(0)").css({"display":"none"});
    var b = $("#banner"),
        me = $("#banner ul"),
        tip = $("#banner .tip"),
        t, interval = 5000,
        speed = 1000,
        speed2 = 700,
        n = 0,
        N = me.children("li").length;
    wid = b.children("li").width();
    step = 200,time = 5000;
    if ($("#banner .tip").length) {
        var htmlTip = "";
        for (var i = 0; i &lt; N; i++) {
            if (i == 0) {
                htmlTip += "&lt;span class='cur'&gt;"+(i+1)+"&lt;/span&gt;";
            } else {
                htmlTip += "&lt;span&gt;"+(i+1)+"&lt;/span&gt;";
            }
        }
        tip.html(htmlTip);
    }
    var func = function() {
        if (n &gt;= N - 1) {
            n = 0;
        }else if(n &lt; -1){
            n = N-1;
        }
        else {
            n++;
        }
        me.children("li").eq(n).css({
            "z-index": 2
        }).stop().fadeIn(speed).siblings("li").css({
            "z-index": 1
        }).stop().fadeOut(speed2);
        if ($("#banner .tip").length) {
            tip.children("span").eq(n).addClass("cur").siblings("span").removeClass("cur");
        }
    }
    $dragBln = false;
    $("#btn_prev").click(function(){
        clearInterval(t);
        n -= 2;
        func();
        t = setInterval(func, time)
    });
    $("#btn_next").click(function(){
        clearInterval(t);
        func();
        t = setInterval(func, time)
    });

    tip.children("span").click(function() {
        clearInterval(t);
        n = $(this).index() - 1;
        func();
        t = setInterval(func, interval);
    })
    $("#banner ul.list li").mouseenter(function() {
        clearInterval(t);
    }).mouseleave(function() {
        t = setInterval(func, time);
    });
    t = setInterval(func, interval);
}</pre></body></html>