• 以下为网站的基础统计数据、统计报表及配置参数
    折线图区域
    日期 独立访客 IP
    今天 2 2
    昨天 2 1
    2017-12-28 2 0
    2017-12-27 0 0
    2017-12-26 1 1
  • 123456
$(function () { // 获取时间 var currDate = new Date(); var d = new Date(); var YMDHMS = d.getFullYear() + "-" + ((d.getMonth() + 1) < 10 ? "0" + (d.getMonth() + 1) : (d.getMonth() + 1)) + "-" + (d.getDate() < 10 ? "0" + d.getDate() : d.getDate()) + " " + (d.getHours() < 10 ? "0" + d.getHours() : d.getHours()) + ":" + (d.getMinutes() < 10 ? "0" + d.getMinutes() : d.getMinutes()) + ":" + (d.getSeconds() < 10 ? "0" + d.getSeconds() : d.getSeconds()); $(".date").html(YMDHMS); $(".loginTime").html(YMDHMS); window.setInterval(function () { var currDate = new Date(); var d = new Date(); var YMDHMS = d.getFullYear() + "-" + ((d.getMonth() + 1) < 10 ? "0" + (d.getMonth() + 1) : (d.getMonth() + 1)) + "-" + (d.getDate() < 10 ? "0" + d.getDate() : d.getDate()) + " " + (d.getHours() < 10 ? "0" + d.getHours() : d.getHours()) + ":" + (d.getMinutes() < 10 ? "0" + d.getMinutes() : d.getMinutes()) + ":" + (d.getSeconds() < 10 ? "0" + d.getSeconds() : d.getSeconds()); $(".date").html(YMDHMS); }, 1000); // 左侧导航 $(".sidebar-menu li").click(function () { $(this).siblings("li").removeClass("act"); $(this).addClass("act"); }); // tab $(".statistics .data li").eq(0).show(); $(".statistics .nav-tabs li").click(function () { $(this).siblings("li").removeClass("active"); $(this).addClass("active"); var _index = $(this).index(); $(".statistics .data li").hide().eq(_index).show(); });; // 图标旋转 var n = 90; $(".sidebar-toggle").click(function () { if(n==90){ n=0; }else{ n=90; } $(this).children("i").css("transform", "rotateZ("+n+"deg)"); }); });