function getData(){$.ajax({url:"/Data/_GetStatisticsNumber/",type:"post",dataType:"json",async:!1,success:function(n){if(n.code=="200")var t=n.data.PageList[1].count*1,i=n.data.PageList[0].count*1,r=n.data.PageList[2].count,u=(r/1e4).toFixed(4),f=$("#administratorNum").text(t),e=$("#privateNum").text(i),o=$("#userNum").text(u)},error:function(){var n=$("#administratorNum").text(25e3),t=$("#privateNum").text(150110),i=$("#userNum").text(129,463)}})}$(function(){function n(n){return n.toFixed()}function t(n){var t=$(this);n=$.extend({},n||{},t.data("countToOptions")||{});t.countTo(n)}getData();$.fn.countTo=function(n){return n=n||{},$(this).each(function(){function c(){i+=h;o++;s(i);typeof t.onUpdate=="function"&&t.onUpdate.call(f,i);o>=e&&(u.removeData("countTo"),clearInterval(r.interval),i=t.to,typeof t.onComplete=="function"&&t.onComplete.call(f,i))}function s(n){var i=t.formatter.call(f,n,t);u.html(i)}var t=$.extend({},$.fn.countTo.defaults,{from:$(this).data("from"),to:$(this).text(),speed:2e3,refreshInterval:$(this).data("refresh-interval"),decimals:$(this).data("decimals")},n),e=Math.ceil(t.speed/t.refreshInterval),h=(t.to-t.from)/e,f=this,u=$(this),o=0,i=t.from,r=u.data("countTo")||{};u.data("countTo",r);r.interval&&clearInterval(r.interval);r.interval=setInterval(c,t.refreshInterval);s(i)})};$.fn.countTo.defaults={from:0,to:0,speed:1e3,refreshInterval:100,decimals:0,formatter:n,onUpdate:null,onComplete:null};$(".timer").data("countToOptions",{formatter:function(n){return n.toFixed().replace(/\B(?=(?:\d{3})+(?!\d))/g,",")}});$(".timer").each(t)})