67dacb75 by 任超

style:政策法规

1 parent 4857bf0c
......@@ -130,6 +130,7 @@ div.top-logo .top_logo_search i {
div.navigation {
text-align: center;
height: 60px;
}
.navigation .layui-nav-item {
width: 147px;
......
......@@ -42,9 +42,9 @@ document.writeln(" <div class=\'navigation\'>");
document.writeln(" <ul class=\'layui-nav layui-bg-blue\' lay-filter=\'\'>");
document.writeln(" <li id='index' class=\'layui-nav-item\'><a href=\'"+localhostPaht+"/index.html\' title=\'首页\'>首页</a></li>");
document.writeln(" <li id='news' class=\'layui-nav-item\'><a href=\'"+localhostPaht+"/staticViews/xwdt/index.html\' title=\'新闻动态\'>新闻动态</a></li> ");
document.writeln(" <li class=\'layui-nav-item\'><a href=\'\'>政策法规</a></li>");
document.writeln(" <li id='zcfg' class=\'layui-nav-item\'><a href=\'"+localhostPaht+"/staticViews/zcfg/index.html\' title=\'政策法规\'>政策法规</a></li>");
document.writeln(" <li id='bszn' class=\'layui-nav-item\'><a href=\'"+localhostPaht+"/staticViews/bszn/index.html\'>办事指南</a></li>");
document.writeln(" <li id='business' class=\'layui-nav-item\'><a href=\'\'>业务办理</a></li>");
document.writeln(" <li id='business' class=\'layui-nav-item\'><a href=\'\'>网上申请</a></li>");
document.writeln(" <li class=\'layui-nav-item\'>");
document.writeln(" <a href=\'javascript:;\'>查验中心</a>");
document.writeln(" <dl class=\'layui-nav-child\'>");
......
$(function () {
layui.use('element', function () {
let element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块
//监听导航点击
......@@ -9,18 +8,15 @@ $(function () {
});
});
layui.use('laypage', function () {
// $(function () {
// let laypage = layui.laypage;
// //执行一个laypage实例
// laypage.render({
// elem: 'page' //注意,这里的 test1 是 ID,不用加 # 号
// , count: 50 //数据总数,从服务端得到
// , prev: '<'
// , next: '>'
// , theme: '#0091FF'
// });
// });
let laypage = layui.laypage;
//执行一个laypage实例
laypage.render({
elem: 'page' //注意,这里的 test1 是 ID,不用加 # 号
, count: 50 //数据总数,从服务端得到
, prev: '<'
, next: '>'
, theme: '#0091FF'
});
})
addTabs('#news')
})
\ No newline at end of file
......
$(function () {
layui.use('element', function () {
let element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块
//监听导航点击
element.on('nav(demo)', function (elem) {
//console.log(elem)
layer.msg(elem.text());
});
});
layui.use('laypage', function () {
let laypage = layui.laypage;
//执行一个laypage实例
laypage.render({
elem: 'page' //注意,这里的 test1 是 ID,不用加 # 号
, count: 50 //数据总数,从服务端得到
, prev: '<'
, next: '>'
, theme: '#0091FF'
});
})
addTabs('#zcfg')
})
\ No newline at end of file
.main {
overflow: hidden;
}
div.subject h2 a:hover {
color: #0091FF;
}
div.subject {
margin: 0 auto;
float: none;
clear: both;
position: relative;
min-width: 1200px;
}
.contentBox {
width: 1200px;
margin: 0 auto;
overflow: hidden;
padding-bottom: 0!important;
}
.one_content {
border: 1px solid #DEDEDE;;
margin-top: 30px;
}
.one_content .layui-tab {
margin: 0;
}
.one_content .layui-tab-title li {
width: 100px;
font-weight: 600;
color: #6D7278;
}
.one_content .layui-tab-title .layui-this {
color: #4A4A4A;
}
.layui-tab-brief > .layui-tab-more li.layui-this:after, .layui-tab-brief > .layui-tab-title .layui-this:after {
border-color: #006CFF;
}
.layui-tab .layui-tab-brief .layui-this {
color: #006CFF;
}
.layui-tab .layui-tab-brief li {
width: 90px;
}
.online_business {
margin-top: 20px;
}
.online_business h2 {
width: 100%;
height: 43px;
line-height: 43px;
background: #FAFAFA;
border-radius: 4px;
border: 1px solid #DEDEDE;
padding-left: 15px;
box-sizing: border-box;
}
.online_list {
padding-bottom: 20px;
overflow: hidden;
}
.online_list li {
width: 45% !important;
float: left;
height: 60px;
line-height: 60px;
border-bottom: 1px dotted #DEDEDE;
}
.online_list li:nth-child(even) {
margin-left: 10%;
}
.online_list li a {
display: block;
width: 100%;
}
.online_list li a:hover span {
color: #0091FF;
}
.online_list li a button {
float: right;
margin-top: 15px;
}
/* ---------------------------------------------------- */
.leftandright {
width: 1200px;
margin: 0 auto;
overflow: hidden;
min-height:calc(100vh - 207px);
}
.leftandright .left {
width: 80%;
}
.right {
width: 400px;
}
.left, .right {
float: left;
}
.xw {
display: block;
padding-top: 10px;
height: 150px;
cursor: pointer;
}
.xw-left {
margin-right: 20px;
}
.xw-left img {
width: 200px;
height: 125px;
background: #D8D8D8;
}
.xw-left, .xw-right {
float: left;
}
.xw-right {
padding-right: 10px;
}
.leftContainer{
border-right: 1px solid #DEDEDE;
margin-top: 28px;
}
.leftContainer li:last-child{
border-bottom: 1px solid #DEDEDE;
}
.left-top {
width: 408px;
height: 18px;
font-size: 18px;
font-weight: bold;
color: #4A4A4A;
line-height: 18px;
cursor: pointer;
}
.left-top:hover {
color: #4A4A4A;
}
.left-body {
height: 60px;
font-size: 14px;
font-weight: 400;
color: #6D7278;
line-height: 25px;
}
.left-buttom {
overflow: hidden;
color: #9B9B9B;
}
.left-buttom .icon{
width: 36px;
height: 24px;
position: relative;
top: 6px;
}
.left-buttom div:nth-child(2) {
margin-left: 60px;
}
.left-buttom div {
float: left;
line-height: 57px
}
.left-buttom-date {
line-height: 57px;
float: right !important;
margin-right: 20px;
}
#page {
margin-top: 20px;
text-align: center;
}
.right {
width: 200px;
margin-top: 36px;
margin-left: 15px;
}
.right-top {
height: 18px;
font-size: 18px;
font-weight: 500;
color: #4A4A4A;
line-height: 0;
}
.right-top h2 {
font-weight: 600;
cursor: pointer;
}
.right-body {
display: inline-block;
margin-bottom: 20px;
}
.tj img {
width: 200px;
height: 125px;
margin-top: 20px;
}
.tj img, .tj span {
float: left;
}
.tj-title {
width: 203px;
font-size: 14px;
font-weight: bold;
color: #4A4A4A;
line-height: 21px;
}
.tj-date {
width: 90px;
height: 12px;
font-size: 12px;
font-weight: 400;
color: #9B9B9B;
line-height: 12px;
}
.right-bottom {
border-top: 1px solid #DEDEDE;
}
.right-bottom-top {
width: 108px;
height: 18px;
font-size: 18px;
margin-top: 20px;
font-weight: bold;
color: #4A4A4A;
line-height: 18px;
}
.zcfg {
margin-top: 20px;
display: inline-block;
}
.zcfg div {
float: left;
}
.zcfg-top {
width: 200px;
height: 14px;
font-size: 14px;
font-weight: bold;
color: #4A4A4A;
line-height: 14px;
}
.zcfg-body {
width: 200px;
font-size: 14px;
display: inline-block;
font-weight: 400;
color: #6D7278;
line-height: 21px;
}
.zcfg-bottom {
width: 90px;
height: 12px;
font-size: 12px;
font-weight: 400;
color: #9B9B9B;
line-height: 12px;
}
<!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="css/index.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="leftandright">
<div class="left">
<ul class="leftContainer">
<li>
<a class="left-top" title="前三季度主要指标由负转正 中国经济持续稳定恢复" href="./../xwxq/index.html" target="_blank">
前三季度主要指标由负转正 中国经济持续稳定恢复
</a>
<a class="xw" href="./../xwxq/index.html" target="_blank">
<div class="xw-right">
<div class="left-body">
10月21日,农业农村部举行新闻发布会,介绍2020年前三季度农业农村经济形式,农业农村部总经济师,发展
划司司长魏白刚介绍,今年农业收来之不易,农业农村经济保持了持续向好、稳中有进的态势,粮食丰收已成定局,预计产量达到历史最高水平
</div>
<div class="left-buttom">
<div>
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconchakan"></use>
</svg>
<span>123</span>
</div>
<div>
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconpinglun"></use>
</svg>
<span>456</span>
</div>
<div class="left-buttom-date">
2020-12-27
</div>
</div>
</div>
</a>
</li>
<li>
<a class="left-top" title="前三季度主要指标由负转正 中国经济持续稳定恢复" href="./../xwxq/index.html" target="_blank">
前三季度主要指标由负转正 中国经济持续稳定恢复
</a>
<a class="xw" href="./../xwxq/index.html" target="_blank">
<div class="xw-right">
<div class="left-body">
10月21日,农业农村部举行新闻发布会,介绍2020年前三季度农业农村经济形式,农业农村部总经济师,发展
划司司长魏白刚介绍,今年农业收来之不易,农业农村经济保持了持续向好、稳中有进的态势,粮食丰收已成定局,预计产量达到历史最高水平
</div>
<div class="left-buttom">
<div>
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconchakan"></use>
</svg>
<span>123</span>
</div>
<div>
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconpinglun"></use>
</svg>
<span>456</span>
</div>
<div class="left-buttom-date">
2020-12-27
</div>
</div>
</div>
</a>
</li>
</ul>
<div id="page"></div>
</div>
<div class="right">
<div class="right-top">
<h2>政策法规推荐</h2>
</div>
<ul class="right-bottom">
<li class="zcfg">
<div class="zcfg-top">
<span>爬山虎国土空间规划信息化解决</span>
</div>
<div class="zcfg-body">
<span>10月21日,农业农村部举行新闻发布会,介绍2020年前三季度农业农村经济形势。</span>
</div>
<div class="zcfg-bottom">
<span>2020-10-28</span>
</div>
</li>
<li class="zcfg">
<div class="zcfg-top">
<span>爬山虎国土空间规划信息化解决</span>
</div>
<div class="zcfg-body">
<span>10月21日,农业农村部举行新闻发布会,介绍2020年前三季度农业农村经济形势。</span>
</div>
<div class="zcfg-bottom">
<span>2020-10-28</span>
</div>
</li>
</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/zcfg.js"></script>
</html>
\ No newline at end of file