{"size": 730, "ext": "js", "max_stars_repo_path": "js/index.js", "max_stars_repo_name": "bigBug2333/7-1-", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "js/index.js", "max_issues_repo_name": "bigBug2333/7-1-", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "js/index.js", "max_forks_repo_name": "bigBug2333/7-1-", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 26.0714285714, "max_line_length": 77, "alphanum_fraction": 0.4342465753}
$(function () {
    // 1.滚动事件

    // 2.发送ajax，渲染数据，
    $.ajax({
        type: 'get',
        url: 'http://127.0.0.1:9090/api/getmoneyctrl',
        success: function (info) {
          console.log(info);
          var html = template("tpl", info);
          $(".recommend ul").html(html);
        }
    })
    // 3.点击导肮区域

        $(".subnav li:nth-last-child(-n+4)").prev().on("click", function () {
            $(this).next().toggle();
            $(this).next().next().toggle();
            $(this).next().next().next().toggle();
            $(this).next().next().next().next().toggle();
        });

    // 4.返回顶部事件
        $(".back").on("click", function () {
            $("html,body").prop("scrollTop", 0);
        })

})