db6829ec by 任超

style:法律法规

1 parent 1d4b6cef
......@@ -121,7 +121,7 @@
<div class="regulations title">
<div class="regulations_content">
<h2>
<a href="" title="法律法规">
<a href="./staticViews/flfg.html" title="法律法规">
<p>
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconbanshizhinan"></use>
......@@ -139,7 +139,7 @@
<div class="policy title">
<div class="policy_content">
<h2>
<a href="" title="相应政策">
<a href="./staticViews/xyzc.html" title="相应政策">
<p>
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconzhengce"></use>
......
......@@ -27,6 +27,9 @@
color: #ffffff!important;
font-weight: 600!important;
}
.layui-laypage .layui-laypage-curr .layui-laypage-em {
background-color: #0091FF;
}
/* ----------------------公共样式-------------------------- */
.contentBox {
width: 1200px;
......
.laws_regulations {
width: 1200px;
margin: 0 auto;
padding-top: 30px;
overflow: hidden;
}
.item_list {
float: left;
width: 82%;
padding-bottom: 30px;
}
.item_list ul {
border-right: 1px solid #DEDEDE;
min-height: 630px;
}
.item_list li{
line-height: 50px;
border-bottom: 1px solid #DEDEDE;
box-sizing: border-box;
padding-right: 20px;
}
.item_list li p{
display: inline-block;
font-size: 20px;
color: #4a4a4a;
width: 85%;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}
.item_list li span {
color: #9B9B9B;
float: right;
}
.item_list li {
cursor: pointer;
}
.item_list li:hover p{
color: #0091FF;
}
.item_list li:hover span{
color: #0091FF;
}
.recommend_list {
float: right;
width: 200px;
margin-left: 10px;
margin-bottom: 10px;
min-height: 500px;
}
#page {
text-align: center;
margin-top: -35px;
}
.recommend_list h2 {
font-size: 18px;
margin-bottom: 15px;
color: #4A4A4A;
font-weight: 600;
}
.recommend_list h3 {
font-size: 14px;
color: #4A4A4A;
font-weight: 600;
margin-bottom: 5px;
}
.recommend_list .recommend_con {
color: #6D7278;
line-height: 21px;
font-size: 14px;
}
.recommend_list .recommend_date {
color: #9B9B9B;
font-size: 12px;
margin-top: 5px;
}
.policy_list {
padding-bottom: 30px;
border-bottom: 1px solid #DEDEDE;
}
.news_list {
padding-top: 30px;
}
.news_list img {
width: 100%;
height: 124px;
margin-bottom: 10px;
}
\ No newline at end of file
$(function () {
layui.use('element', function () {
let element = layui.element;
});
addTabs('#zwgk')
layui.use('laypage', function () {
var laypage = layui.laypage;
//执行一个laypage实例
laypage.render({
elem: 'page' //注意,这里的 test1 是 ID,不用加 # 号
, count: 50 //数据总数,从服务端得到
});
});
})
\ No newline at end of file
......@@ -13,6 +13,7 @@ $(function () {
elem: '#date'
});
})
addTabs('#zwgk')
initData()
HotArticle()
PolicyHotArticle()
......
......@@ -50,8 +50,8 @@ document.writeln(" <a href=\'javascript:;\'>政务公开</a>");
document.writeln(" <dl class=\'layui-nav-child\'>");
document.writeln(" <!-- 二级菜单 -->");
document.writeln(" <dd><a href=\'"+localhostPaht+"/staticViews/xyzc.html\'>相应政策</a></dd>");
document.writeln(" <dd><a href=\'\'>法律法规</a></dd>");
document.writeln(" <dd><a href=\'\'>公示公告</a></dd>");
document.writeln(" <dd><a href=\'"+localhostPaht+"/staticViews/flfg.html\'>法律法规</a></dd>");
document.writeln(" <dd><a href=\'"+localhostPaht+"/staticViews/gsgg.html\'>公示公告</a></dd>");
document.writeln(" </dl>");
document.writeln(" </li>");
document.writeln(" <li id='bszn' class=\'layui-nav-item\'><a href=\'"+localhostPaht+"/staticViews/bszn.html\' title=\'办事指南\'>办事指南</a></li>");
......
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style>
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>法律法规</title>
<script type="text/javascript" src="../staticJs/head.js"></script>
<link rel="stylesheet" type="text/css" href="../staticCss/flfg.css">
</head>
<body>
<div class="navigation_crumbs">
<div class="contentBox">
<span class="layui-breadcrumb">
<a href="../index.html">首页</a>
<a><cite>法律法规</cite></a>
</span>
</div>
</div>
<div class="laws_regulations">
<div class="item_list">
<ul>
<li>
<p>中华人民共和国物权法</p>
<span>2020-10-26</span>
</li>
</ul>
<div id="page"></div>
</div>
<div class="recommend_list">
<ul class="policy_list">
<h2>相应政策</h2>
<div class="policy_list_con">
<li>
<h3>爬山虎国土空间规划信息化解决</h3>
<p class="recommend_con">10月21日,农业农村部举行新闻发布会,</p>
<p class="recommend_date">2018-12-19</p>
</li>
</div>
</ul>
<ul class="news_list">
<h2>新闻推荐</h2>
<div class="news_list_con">
<li>
<img src="../staticImages/news_demo.jpg" alt="">
<h3>爬山虎国土空间规划信息化解决</h3>
<p class="recommend_date">2018-12-19</p>
</li>
</div>
</ul>
</div>
</div>
</body>
<script type="text/javascript" src="../staticJs/common.js"></script>
<script type="text/javascript" src="../staticJs/down.js"></script>
<script type="text/javascript" src="../staticJs/flfg.js"></script>
</html>
\ No newline at end of file
......@@ -6,7 +6,7 @@
<style>
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>政策法规</title>
<title>相应政策</title>
<script type="text/javascript" src="../staticJs/head.js"></script>
<link rel="stylesheet" type="text/css" href="../staticCss/zcfg.css">
</head>
......