style:新闻动态
Showing
6 changed files
with
15 additions
and
6 deletions
... | @@ -272,7 +272,6 @@ div.subject { | ... | @@ -272,7 +272,6 @@ div.subject { |
272 | 272 | ||
273 | .zcfg-top { | 273 | .zcfg-top { |
274 | width: 200px; | 274 | width: 200px; |
275 | height: 14px; | ||
276 | font-size: 14px; | 275 | font-size: 14px; |
277 | font-weight: bold; | 276 | font-weight: bold; |
278 | color: #686666; | 277 | color: #686666; |
... | @@ -286,7 +285,7 @@ div.subject { | ... | @@ -286,7 +285,7 @@ div.subject { |
286 | font-weight: 400; | 285 | font-weight: 400; |
287 | color: #6D7278; | 286 | color: #6D7278; |
288 | line-height: 23px; | 287 | line-height: 23px; |
289 | margin-top: 25px; | 288 | margin-top: 10px; |
290 | } | 289 | } |
291 | 290 | ||
292 | .zcfg-bottom { | 291 | .zcfg-bottom { | ... | ... |
... | @@ -19,7 +19,9 @@ | ... | @@ -19,7 +19,9 @@ |
19 | box-sizing: border-box; | 19 | box-sizing: border-box; |
20 | padding-right: 20px; | 20 | padding-right: 20px; |
21 | } | 21 | } |
22 | 22 | .policy_list_con li { | |
23 | margin-bottom: 10px; | ||
24 | } | ||
23 | 25 | ||
24 | .item_list li p{ | 26 | .item_list li p{ |
25 | display: inline-block; | 27 | display: inline-block; |
... | @@ -77,7 +79,7 @@ | ... | @@ -77,7 +79,7 @@ |
77 | margin-top: 5px; | 79 | margin-top: 5px; |
78 | } | 80 | } |
79 | .policy_list { | 81 | .policy_list { |
80 | padding-bottom: 30px; | 82 | padding-bottom: 20px; |
81 | border-bottom: 1px solid #DEDEDE; | 83 | border-bottom: 1px solid #DEDEDE; |
82 | } | 84 | } |
83 | .news_list { | 85 | .news_list { | ... | ... |
... | @@ -55,9 +55,11 @@ function getPolicyHotArticleList() { | ... | @@ -55,9 +55,11 @@ function getPolicyHotArticleList() { |
55 | if (result.code == 200 && result.data != null) { | 55 | if (result.code == 200 && result.data != null) { |
56 | for (var i = 0; i < result.data.length; i++) { | 56 | for (var i = 0; i < result.data.length; i++) { |
57 | li = '<li>' | 57 | li = '<li>' |
58 | li += '<a href="./xyzcxq.html?id='+result.data[i].id+'" title="' + result.data[i].headline + '" target="_blank">' | ||
58 | li += '<h3>'+result.data[i].headline+'</h3>' | 59 | li += '<h3>'+result.data[i].headline+'</h3>' |
59 | li += '<p class="recommend_con">'+result.data[i].summary+'</p>' | 60 | li += '<p class="recommend_con">'+result.data[i].summary+'</p>' |
60 | li += '<p class="recommend_date">'+result.data[i].deadtime+'</p>' | 61 | li += '<p class="recommend_date">'+result.data[i].deadtime+'</p>' |
62 | li += '</a>' | ||
61 | li += '</li>' | 63 | li += '</li>' |
62 | policy_list_con.append(li); | 64 | policy_list_con.append(li); |
63 | } | 65 | } | ... | ... |
... | @@ -84,7 +84,7 @@ function HotArticle() { | ... | @@ -84,7 +84,7 @@ function HotArticle() { |
84 | } | 84 | } |
85 | }) | 85 | }) |
86 | } | 86 | } |
87 | // 政策法规推荐 | 87 | // 相应政策推荐 |
88 | function PolicyHotArticle() { | 88 | function PolicyHotArticle() { |
89 | var regulation = $("#regulation"); | 89 | var regulation = $("#regulation"); |
90 | regulation.empty(); | 90 | regulation.empty(); |
... | @@ -98,9 +98,11 @@ function PolicyHotArticle() { | ... | @@ -98,9 +98,11 @@ function PolicyHotArticle() { |
98 | if (result.code == 200 && result.data != null) { | 98 | if (result.code == 200 && result.data != null) { |
99 | for (var i = 0; i < result.data.length; i++) { | 99 | for (var i = 0; i < result.data.length; i++) { |
100 | li = '<li class="zcfg">' | 100 | li = '<li class="zcfg">' |
101 | li += '<a href="./xyzcxq.html?id='+result.data[i].id+'" title="' + result.data[i].headline + '" target="_blank">' | ||
101 | li += '<div class="zcfg-top">' + result.data[i].headline + '</div>' | 102 | li += '<div class="zcfg-top">' + result.data[i].headline + '</div>' |
102 | li += '<p class="zcfg-body">' + result.data[i].summary + '</p>' | 103 | li += '<p class="zcfg-body">' + result.data[i].summary + '</p>' |
103 | li += '<div class="zcfg-bottom">' + result.data[i].deadtime + '</div>' | 104 | li += '<div class="zcfg-bottom">' + result.data[i].deadtime + '</div>' |
105 | li += '</a>' | ||
104 | li += '</li>' | 106 | li += '</li>' |
105 | regulation.append(li); | 107 | regulation.append(li); |
106 | } | 108 | } | ... | ... |
... | @@ -65,7 +65,7 @@ function HotArticle() { | ... | @@ -65,7 +65,7 @@ function HotArticle() { |
65 | } | 65 | } |
66 | }) | 66 | }) |
67 | } | 67 | } |
68 | // 政策法规推荐 | 68 | // 相应政策推荐 |
69 | function PolicyHotArticle() { | 69 | function PolicyHotArticle() { |
70 | var regulation = $("#regulation"); | 70 | var regulation = $("#regulation"); |
71 | regulation.empty(); | 71 | regulation.empty(); |
... | @@ -79,9 +79,11 @@ function PolicyHotArticle() { | ... | @@ -79,9 +79,11 @@ function PolicyHotArticle() { |
79 | if (result.code == 200 && result.data != null) { | 79 | if (result.code == 200 && result.data != null) { |
80 | for (var i = 0; i < result.data.length; i++) { | 80 | for (var i = 0; i < result.data.length; i++) { |
81 | li = '<li class="zcfg">' | 81 | li = '<li class="zcfg">' |
82 | li += '<a href="./xyzcxq.html?id='+result.data[i].id+'" title="' + result.data[i].headline + '" target="_blank">' | ||
82 | li += '<div class="zcfg-top">' + result.data[i].headline + '</div>' | 83 | li += '<div class="zcfg-top">' + result.data[i].headline + '</div>' |
83 | li += '<p class="zcfg-body">' + result.data[i].summary + '</p>' | 84 | li += '<p class="zcfg-body">' + result.data[i].summary + '</p>' |
84 | li += '<div class="zcfg-bottom">' + result.data[i].deadtime + '</div>' | 85 | li += '<div class="zcfg-bottom">' + result.data[i].deadtime + '</div>' |
86 | li += '</a>'; | ||
85 | li += '</li>' | 87 | li += '</li>' |
86 | regulation.append(li); | 88 | regulation.append(li); |
87 | } | 89 | } | ... | ... |
... | @@ -57,9 +57,11 @@ function getPolicyHotArticleList() { | ... | @@ -57,9 +57,11 @@ function getPolicyHotArticleList() { |
57 | if (result.code == 200 && result.data != null) { | 57 | if (result.code == 200 && result.data != null) { |
58 | for (var i = 0; i < result.data.length; i++) { | 58 | for (var i = 0; i < result.data.length; i++) { |
59 | li = '<li>' | 59 | li = '<li>' |
60 | li += '<a href="./xyzcxq.html?id='+result.data[i].id+'" title="' + result.data[i].headline + '" target="_blank">' | ||
60 | li += '<h3>'+result.data[i].headline+'</h3>' | 61 | li += '<h3>'+result.data[i].headline+'</h3>' |
61 | li += '<p class="recommend_con">'+result.data[i].summary+'</p>' | 62 | li += '<p class="recommend_con">'+result.data[i].summary+'</p>' |
62 | li += '<p class="recommend_date">'+result.data[i].deadtime+'</p>' | 63 | li += '<p class="recommend_date">'+result.data[i].deadtime+'</p>' |
64 | li += '</a>' | ||
63 | li += '</li>' | 65 | li += '</li>' |
64 | policy_list_con.append(li); | 66 | policy_list_con.append(li); |
65 | } | 67 | } | ... | ... |
-
Please register or sign in to post a comment