56477187 by 任超

style:新闻详情

1 parent 8a20cdb5
...@@ -44,7 +44,7 @@ function HotArticle() { ...@@ -44,7 +44,7 @@ function HotArticle() {
44 if (result.code == 200 && result.data != null) { 44 if (result.code == 200 && result.data != null) {
45 for (var i = 0; i < result.data.length; i++) { 45 for (var i = 0; i < result.data.length; i++) {
46 if (i == 3) return; 46 if (i == 3) return;
47 li = '<li class="tj"><a href="./xwxq.html?id='+result.data[i].id+'" target="_blank">'; 47 li = '<li class="tj"><a href="/staticViews/news/'+result.data[i].id+'.html" target="_blank">';
48 if (result.data[i].preViewUrl) { 48 if (result.data[i].preViewUrl) {
49 li += '<img src="' + result.data[i].preViewUrl + '">'; 49 li += '<img src="' + result.data[i].preViewUrl + '">';
50 } 50 }
...@@ -72,7 +72,7 @@ function PolicyHotArticle() { ...@@ -72,7 +72,7 @@ function PolicyHotArticle() {
72 if (result.code == 200 && result.data != null) { 72 if (result.code == 200 && result.data != null) {
73 for (var i = 0; i < result.data.length; i++) { 73 for (var i = 0; i < result.data.length; i++) {
74 li = '<li class="zcfg">' 74 li = '<li class="zcfg">'
75 li += '<a href="./xyzcxq.html?id='+result.data[i].id+'" title="' + result.data[i].headline + '" target="_blank">' 75 li += '<a href="/staticViews/policy/'+result.data[i].id+'.html" title="' + result.data[i].headline + '" target="_blank">'
76 li += '<div class="zcfg-top">'+result.data[i].headline+'</div>' 76 li += '<div class="zcfg-top">'+result.data[i].headline+'</div>'
77 li += '<p class="zcfg-body">'+result.data[i].summary+'</p>' 77 li += '<p class="zcfg-body">'+result.data[i].summary+'</p>'
78 li += '<div class="zcfg-bottom">'+result.data[i].deadtime+'</div>' 78 li += '<div class="zcfg-bottom">'+result.data[i].deadtime+'</div>'
......