5db3d278 by 任超

style:样式

1 parent 0a35bd32
......@@ -14,18 +14,24 @@
min-height: 630px;
}
.item_list li{
line-height: 50px;
line-height: 40px;
padding-top: 10px;
border-bottom: 1px solid #DEDEDE;
box-sizing: border-box;
padding-right: 20px;
}
.item_list li .istop {
width: 36px;
float: right;
margin-top: 3px;
margin-left: 10px;
}
.item_list li p{
display: inline-block;
font-size: 20px;
color: #4a4a4a;
width: 82%;
width: 79%;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
......
.top-logo ul li {
display: inline-block;
padding: 0 8px;
}
.top-logo ul li:first-child {
border-right: 1px solid grey;
}
div.navigation {
text-align: center;
}
.navigation .layui-nav-item {
width: 147px;
position: relative;
}
.layui-bg-blue {
background-color: #006CFF !important;
}
.layui-nav-item a{
font-size: 16px;
}
/*------------------首页 end------------*/
/* --------------------导航tab------------------------- */
.navigation_crumbs {
width: 100%;
......@@ -280,7 +255,7 @@ div.navigation {
.gg {
text-overflow: clip;
overflow: hidden;
height: 100px;
height: 80px;
font-size: 20px;
font-weight: bold;
color: #4A4A4A;
......
......@@ -14,7 +14,8 @@
min-height: 630px;
}
.item_list li{
line-height: 50px;
padding-top: 10px;
line-height: 40px;
border-bottom: 1px solid #DEDEDE;
box-sizing: border-box;
padding-right: 20px;
......@@ -22,12 +23,18 @@
.policy_list_con li {
margin-bottom: 10px;
}
.item_list li .istop {
width: 36px;
float: right;
margin-top: 3px;
margin-left: 10px;
}
.item_list li p{
display: inline-block;
font-size: 20px;
color: #4a4a4a;
width: 82%;
width: 79%;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
......
......@@ -30,6 +30,9 @@ function getLawsArticleList() {
li = '<li>';
li += '<a href="./law/'+result.data.records[i].id+'.html" title="' + result.data.records[i].headline + '" target="_blank">'
li += '<p>' + result.data.records[i].headline + '</p>';
if (result.data.records[i].isTop == '1') {
li += '<img class="istop" src="../staticImages/ding.png">'
}
li += '<span>' + result.data.records[i].deadtime + '</span>';
li += '</a>';
li += '</li>';
......
$(function () {
newsDetail()
// newsDetail()
})
layui.use('element', function () {
......
......@@ -30,6 +30,9 @@ function getLawsArticleList() {
li = '<li>';
li += '<a href="./policy/'+result.data.records[i].id+'.html" title="' + result.data.records[i].headline + '" target="_blank">'
li += '<p>' + result.data.records[i].headline + '</p>';
if (result.data.records[i].isTop == '1') {
li += '<img class="istop" src="../staticImages/ding.png">'
}
li += '<span>' + result.data.records[i].deadtime + '</span>';
li += '</a>';
li += '</li>';
......