523d2989 by 任超

style:新闻动态

1 parent 217122ff
...@@ -44,20 +44,20 @@ function HotArticle() { ...@@ -44,20 +44,20 @@ 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">'; 47 li = '<li class="tj"><a href="./xwxq.html?id='+result.data[i].id+'" 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 }
51 li += '<span class="tj-title">'+result.data[i].headline+'</span>'; 51 li += '<span class="tj-title">'+result.data[i].headline+'</span>';
52 li += '<span class="tj-date">'+result.data[i].deadtime+'</span>'; 52 li += '<span class="tj-date">'+result.data[i].deadtime+'</span>';
53 li += '</li>'; 53 li += '</a></li>';
54 recommend.append(li); 54 recommend.append(li);
55 } 55 }
56 } 56 }
57 } 57 }
58 }) 58 })
59 } 59 }
60 // 政策法规推荐 60 // 相应法规推荐
61 function PolicyHotArticle() { 61 function PolicyHotArticle() {
62 var regulation = $("#regulation"); 62 var regulation = $("#regulation");
63 regulation.empty(); 63 regulation.empty();
...@@ -72,9 +72,11 @@ function PolicyHotArticle() { ...@@ -72,9 +72,11 @@ 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 += '<div class="zcfg-top">'+result.data[i].headline+'</div>' 76 li += '<div class="zcfg-top">'+result.data[i].headline+'</div>'
76 li += '<p class="zcfg-body">'+result.data[i].summary+'</p>' 77 li += '<p class="zcfg-body">'+result.data[i].summary+'</p>'
77 li += '<div class="zcfg-bottom">'+result.data[i].deadtime+'</div>' 78 li += '<div class="zcfg-bottom">'+result.data[i].deadtime+'</div>'
79 li += '</a>'
78 li += '</li>' 80 li += '</li>'
79 regulation.append(li); 81 regulation.append(li);
80 } 82 }
......
...@@ -208,54 +208,12 @@ ...@@ -208,54 +208,12 @@
208 <h2 class="xwtjtitle">新闻推荐</h2> 208 <h2 class="xwtjtitle">新闻推荐</h2>
209 </div> 209 </div>
210 <div class="right-body" id="news_recommendation"> 210 <div class="right-body" id="news_recommendation">
211 <!-- <div class="tj">
212 <img
213 src="https://dss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=1938529415,777611275&fm=26&gp=0.jpg">
214 <span class="tj-title">
215 爬山虎国土空间信息化解决方案
216 </span>
217 <span class="tj-date">
218 2020-12-12
219 </span>
220 </div>
221 <div class="tj">
222 <img
223 src="https://dss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=1938529415,777611275&fm=26&gp=0.jpg">
224 <span class="tj-title">
225 爬山虎国土空间信息化解决方案终极方案
226 </span>
227 <span class="tj-date">
228 2020-12-12
229 </span>
230 </div> -->
231 </div> 211 </div>
232 <div class="right-bottom"> 212 <div class="right-bottom">
233 <div class="right-bottom-top"> 213 <div class="right-bottom-top">
234 <span>政策法规推荐</span> 214 <span>相应政策推荐</span>
235 </div> 215 </div>
236 <div id="regulation"></div> 216 <div id="regulation"></div>
237 <!-- <div class="zcfg">
238 <div class="zcfg-top">
239 <span>爬山虎国土空间规划信息化解决</span>
240 </div>
241 <div class="zcfg-body">
242 <span>10月21日,农业农村部举行新闻发布会,介绍2020年前三季度农业农村经济形势。</span>
243 </div>
244 <div class="zcfg-bottom">
245 <span>2020-10-28</span>
246 </div>
247 </div>
248 <div class="zcfg">
249 <div class="zcfg-top">
250 <span>爬山虎国土空间规划信息化解决</span>
251 </div>
252 <div class="zcfg-body">
253 <span>10月21日,农业农村部举行新闻发布会,介绍2020年前三季度农业农村经济形势。</span>
254 </div>
255 <div class="zcfg-bottom">
256 <span>2020-10-28</span>
257 </div>
258 </div> -->
259 </div> 217 </div>
260 </div> 218 </div>
261 </div> 219 </div>
......