$(function(){function r(a,t){t=t||1,$.ajax({url:getServerHttp("cp")+a,type:"post",cache:!1,dataType:"json",data:{p:t},success:function(t){for(var t=ajaxDataParames(t),e="",n=0;n'+t.rows[n].title+""+t.rows[n].date+"";$(".lists ul").html(e),layui.laypage.render({elem:"paging",count:t.number,limit:20,first:"首页",last:"尾页",curr:t.p,groups:5,jump:function(t,e){e||(console.log("第"+t.curr+"页"),r(a,t.curr))}})}})}var e="/nx/article/enterprisedynamic",n=e;$(".option").on("click",function(t){"enterprisedynamic"===t.target.name?n=e:"industrynews"===t.target.name?n="/nx/article/industrynews":"policies"===t.target.name&&(n="/nx/article/policies"),r(n)}),r(n)});