b488da87 by 任超

style:新闻动态

1 parent 45fdb165
......@@ -272,7 +272,6 @@ div.subject {
.zcfg-top {
width: 200px;
height: 14px;
font-size: 14px;
font-weight: bold;
color: #686666;
......@@ -286,7 +285,7 @@ div.subject {
font-weight: 400;
color: #6D7278;
line-height: 23px;
margin-top: 25px;
margin-top: 10px;
}
.zcfg-bottom {
......
......@@ -19,7 +19,9 @@
box-sizing: border-box;
padding-right: 20px;
}
.policy_list_con li {
margin-bottom: 10px;
}
.item_list li p{
display: inline-block;
......@@ -77,7 +79,7 @@
margin-top: 5px;
}
.policy_list {
padding-bottom: 30px;
padding-bottom: 20px;
border-bottom: 1px solid #DEDEDE;
}
.news_list {
......
......@@ -55,9 +55,11 @@ function getPolicyHotArticleList() {
if (result.code == 200 && result.data != null) {
for (var i = 0; i < result.data.length; i++) {
li = '<li>'
li += '<a href="./xyzcxq.html?id='+result.data[i].id+'" title="' + result.data[i].headline + '" target="_blank">'
li += '<h3>'+result.data[i].headline+'</h3>'
li += '<p class="recommend_con">'+result.data[i].summary+'</p>'
li += '<p class="recommend_date">'+result.data[i].deadtime+'</p>'
li += '</a>'
li += '</li>'
policy_list_con.append(li);
}
......
......@@ -84,7 +84,7 @@ function HotArticle() {
}
})
}
// 政策法规推荐
// 相应政策推荐
function PolicyHotArticle() {
var regulation = $("#regulation");
regulation.empty();
......@@ -98,9 +98,11 @@ function PolicyHotArticle() {
if (result.code == 200 && result.data != null) {
for (var i = 0; i < result.data.length; i++) {
li = '<li class="zcfg">'
li += '<a href="./xyzcxq.html?id='+result.data[i].id+'" title="' + result.data[i].headline + '" target="_blank">'
li += '<div class="zcfg-top">' + result.data[i].headline + '</div>'
li += '<p class="zcfg-body">' + result.data[i].summary + '</p>'
li += '<div class="zcfg-bottom">' + result.data[i].deadtime + '</div>'
li += '</a>'
li += '</li>'
regulation.append(li);
}
......
......@@ -65,7 +65,7 @@ function HotArticle() {
}
})
}
// 政策法规推荐
// 相应政策推荐
function PolicyHotArticle() {
var regulation = $("#regulation");
regulation.empty();
......@@ -79,9 +79,11 @@ function PolicyHotArticle() {
if (result.code == 200 && result.data != null) {
for (var i = 0; i < result.data.length; i++) {
li = '<li class="zcfg">'
li += '<a href="./xyzcxq.html?id='+result.data[i].id+'" title="' + result.data[i].headline + '" target="_blank">'
li += '<div class="zcfg-top">' + result.data[i].headline + '</div>'
li += '<p class="zcfg-body">' + result.data[i].summary + '</p>'
li += '<div class="zcfg-bottom">' + result.data[i].deadtime + '</div>'
li += '</a>';
li += '</li>'
regulation.append(li);
}
......
......@@ -57,9 +57,11 @@ function getPolicyHotArticleList() {
if (result.code == 200 && result.data != null) {
for (var i = 0; i < result.data.length; i++) {
li = '<li>'
li += '<a href="./xyzcxq.html?id='+result.data[i].id+'" title="' + result.data[i].headline + '" target="_blank">'
li += '<h3>'+result.data[i].headline+'</h3>'
li += '<p class="recommend_con">'+result.data[i].summary+'</p>'
li += '<p class="recommend_date">'+result.data[i].deadtime+'</p>'
li += '</a>'
li += '</li>'
policy_list_con.append(li);
}
......