news.min.js 564 B

1
  1. $(function(){$.getUrlParam=function(t){t=new RegExp("(^|&)"+t+"=([^&]*)(&|$)"),t=window.location.search.substr(1).match(t);return null!=t?unescape(t[2]):null};var t=$.getUrlParam("kid"),t=getServerHttp()+"/nx/article/article/"+t;$.ajax({url:t,type:"post",cache:!1,dataType:"json",success:function(t){t=ajaxDataParames(t);$(".news-content .content").html(t.contents),$(".news-content .title").html(t.title),$(".news-content .info .classify span").html(t.cate),$(".news-content .info .author span").html(t.name),$(".news-content .info .date span").html(t.date)}})});