Web/Js/index.js

(开头部分) 8KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

$(document).ready(function () {
    //classMarginRight($(".accessories"));
    //classMarginRight($(".news"));

    //window.setTimeout("loadlatest($(\"#latest .huang\"), \"#latest_d_\")", 500);
    //window.setTimeout("loadlatest($(\"#recommend .huang\"), \"#recommend_d_\")", 1000);
    //window.setTimeout("loadlatest($(\"#accessories .huang\"), \"#accessories_d_\")", 1500);
    //window.setTimeout("loadlatest($(\"#news .huang\"), \"#news_d_\")", 2000);
    $("#latest #latest_s_1").click(function () {
        var _psId = $(this).attr("id");
        var count = _psId.lastIndexOf("_");
        _psId = _psId.substr(count + 1);

        $("#latest .chen").css("background", "url(images/ll_34.gif) no-repeat").css("color", "#6F6F6F");
        $("#latest .huang").css("background", "url(images/ll_34.gif) no-repeat").css("color", "#6F6F6F").css("padding-left", "0px");
        $(this).css("background", "url(images/ll_32.gif) no-repeat").css("color", "#FF5600");//.css("padding-left", "5px");

        $(".latest_d").css("display", "none");
        $("#latest_d_" + _psId).css("display", "block");

        $(".latest_more").css("display", "none");
        $("#lastest_more_" + _psId).css("display", "block");
loadlatest($("#latest .huang"), "#latest_d_");
    });
    $("#latest .huang").click(function () {
        var _psId = $(this).attr("id");
        var count = _psId.lastIndexOf("_");
        _psId = _psId.substr(count + 1);

       //GetIndex($("#latest_d_" + _psId), _psId);

        $("#latest .chen").css("background", "url(images/ll_34.gif) no-repeat").css("color", "#6F6F6F");
        $("#latest .huang").css("background", "url(images/ll_34.gif) no-repeat").css("color", "#6F6F6F").css("padding-left", "0px");
        $(this).css("background", "url(images/ll_32.gif) no-repeat").css("color", "#FF5600");//.css("padding-left", "5px");
        $(".latest_d").css("display", "none");
        $("#latest_d_" + _psId).css("display", "block");

        $(".latest_more").css("display", "none");
        $("#lastest_more_" + _psId).css("display", "block");
        //loadlatest($("#latest .11_34.gif"), '#latest_d_');
loadlatest($("#latest .huang"), "#latest_d_");
    });
    $("#recommend .chen").click(function () {
        var _psId = $(this).attr("id");
        var count = _psId.lastIndexOf("_");
        _psId = _psId.substr(count + 1);

        $("#recommend .chen").css("background", "url(images/ll_34.gif) no-repeat").css("color", "#6F6F6F");
        $("#recommend .huang").css("background", "url(images/ll_34.gif) no-repeat").css("color", "#6F6F6F").css("padding-left", "0px");
        $(this).css("background", "url(images/ll_32.gif) no-repeat").css("color", "#FF5600");//.css("padding-left", "5px");

        $(".recommend_d").css("display", "none");
        $("#recommend_d_" + _psId).css("display", "block");
loadlatest($("#recommend .huang"), "#recommend_d_");
    });

    $("#recommend .huang").click(function () {
        var _psId = $(this).attr("id");
        var count = _psId.lastIndexOf("_");
        _psId = _psId.substr(count + 1);
后面还有 150 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。