80ce80b5 by 焦小希

公告列表页面的更改

1 parent d79aaeee
* {
margin: 0;
padding: 0;
}
::-webkit-input-placeholder { /* WebKit browsers */
font-size: 13px;
color: #9B9B9B;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
font-size: 13px;
color: #9B9B9B;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
font-size: 13px;
color: #9B9B9B;
}
input {
padding-left: 10px;
}
/*================首页 start=====================*/
div a {
color: #000000;
text-decoration: none;
}
div.subject h2 a:hover {
color: #f46143;
}
div.subject {
margin: 0 auto;
float: none;
clear: both;
position: relative;
}
/*新闻 */
div.top-logo {
width: 1200px;
height: 70px;
padding-top: 20px;
}
div.top-logo ::-webkit-input-placeholder { /* WebKit browsers */
font-size: 13px;
}
div.top-logo ::-moz-placeholder { /* Mozilla Firefox 19+ */
font-size: 13px;
}
div.top-logo :-ms-input-placeholder { /* Internet Explorer 10+ */
font-size: 13px;
}
.top_logo_content {
height: 40px;
width: 100%;
margin: 0 auto;
}
div.top-logo .top_logo_search {
float: left;
width: 350px;
position: relative;
margin-left: 400px;
}
div.top-logo .top_logo_search input {
border-radius: 50px;
}
div.top-logo .login {
float: right;
margin-top: 8px;
}
div.top-logo .top_logo_search i {
position: absolute;
right: 10px;
top: 11px;
cursor: pointer;
}
/*------------------首页 end------------*/
.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%;
height: 50px;
padding: 10px 0;
line-height: 25px;
background: #FAFAFA;
border: 1px solid #E6E6E6;
/* box-sizing: border-box; */
}
.navigation_crumbs .layui-breadcrumb a:hover {
color: #f46143!important;
}
.contentBox {
width: 1200px;
margin: 0 auto;
overflow: hidden;
}
.layui-tab-brief>.layui-tab-title .layui-this{
color: #4A4A4A !important;
font-size: 18px;
font-weight: 500;
}
.layui-tab-brief>.layui-tab-title .layui-this:after{
border-bottom: 2px solid #006CFF !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: #f46143;
}
.online_list li a button {
float: right;
margin-top: 15px;
}
/* ---------------------------------------------------- */
.mainbody {
width: 1200px;
margin: 0 auto;
/* min-height:calc(100vh - 200px); */
/* overflow: hidden; */
}
.listArea{
min-height: calc(100vh - 200px);
}
.top {
text-align: center;
height: 106px;
font-size: 14px;
font-weight: bold;
color: #4A4A4A;
border-bottom: 1px solid #DEDEDE;
display: flex;
align-items: center;
}
.top > div {
margin: 0 auto;
display: inline-block;
}
.top span{
display:inline-block;
width: 60px;
height: 14px;
font-size: 14px;
font-weight: 500;
color: #4A4A4A;
line-height: 14px;
}
.top input {
width: 360px;
height: 36px;
background: #FFFFFF;
border-radius: 2px;
border: 1px solid #CBCBCB;
margin-left: 10px;
}
.top button {
width: 120px;
height: 40px;
background: #0091FF;
border: none;
border-radius: 3px;
color: white;
}
.gglist{
width:76%;
float: left;
/* background: red; */
}
.gglist li{
height: 104px;
}
.gglist li{
border-bottom:1px solid #EAEAEA;
border-right:1px solid #EAEAEA
}
.rightcontainer{
float:right;
width: 23%
}
.diver{
float:right;
width: 23%;
width: 195px;
height: 1px;
background: #DEDEDE;
margin:0 auto;
margin-bottom:40px;
margin-top: 40px;
margin-right: 77px;
}
.zc-top{
width: 72px;
height: 18px;
font-size: 18px;
font-weight: 500;
color: #4A4A4A;
line-height: 18px;
}
/* .top-date input:before {
content: attr(placeholder)
} */
.filter {
display: flex;
justify-content: left;
}
.filter div {
display: inline-block;
padding: 20px;
background: #FFFFFF;
width: 102px;
font-size: 16px;
font-weight: 500;
color: #6D7278;
line-height: 20px;
}
.filter div:first-child {
width: 102px;
height: 20px;
font-size: 18px;
font-weight: bold;
color: #4A4A4A;
line-height: 20px;
}
.body {
display: flex;
justify-items: left;
}
.body div {
display: inline-block;
}
.left {
border-right-style: inset;
border-right: 1px solid #DEDEDE;
}
.right {
width: 400px;
}
.left, .right {
float: left;
}
.gg-tag {
background-color: #FA6800;
width: 40px;
height: 15px;
font-size: 10px;
font-weight: 500;
color: #FFFFFF;
line-height: 15px;
padding-left: 8px;
}
.gg {
text-overflow: clip;
overflow: hidden;
height: 100px;
font-size: 20px;
font-weight: bold;
color: #4A4A4A;
line-height: 104px;
padding-left: 20px;
padding-right: 20px;
}
.right {
width: 200px;
margin-left: 15px;
}
.right-top {
width: 72px;
height: 18px;
font-size: 18px;
font-weight: 500;
color: #4A4A4A;
line-height: 18px;
margin-bottom: 19px;
margin-top:30px
}
.right-body {
display: inline-block;
margin-bottom: 20px;
}
.tj img {
width: 200px;
height: 125px;
}
.tj img, .tj span {
float: left;
}
.tj-title {
width: 203px;
font-size: 14px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: bold;
color: #4A4A4A;
line-height: 21px;
display: inline-block;
margin-top: 9px
}
.tj-date {
width: 90px;
height: 12px;
font-size: 12px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #9B9B9B;
line-height: 12px;
display: inline-block;
margin-top: 6px;
}
.right-bottom {
border-top-style: inset;
border-top: 1px solid #DEDEDE;
}
.right-bottom-top {
width: 108px;
height: 18px;
font-size: 18px;
margin-top: 20px;
font-family: PingFangSC-Medium, PingFang SC;
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-family: PingFangSC-Medium, PingFang SC;
font-weight: bold;
color: #4A4A4A;
line-height: 14px;
}
.zcfg-body {
width: 200px;
font-size: 14px;
display: inline-block;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #6D7278;
line-height: 21px;
}
.zcfg-bottom {
width: 90px;
height: 12px;
font-size: 12px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #9B9B9B;
line-height: 12px;
}
\ No newline at end of file
layui.use('element', function () {
var element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块
//监听导航点击
element.on('nav(demo)', function (elem) {
//console.log(elem)
layer.msg(elem.text());
});
});
\ No newline at end of file
<!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/gsgg.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="mainbody">
<div class="top">
<div class="top-title">
<span>标题内容:</span><input type="text" placeholder="请输入标题内容">
</div>
<div class="top-date ">
<span>发布时间:</span><input type="date" placeholder="选择时间">
</div>
<div class="top-serach">
<button>查询</button>
</div>
</div>
<div class="layui-tab layui-tab-brief" lay-filter="">
<ul class="layui-tab-title">
<li class="layui-this">全部</li>
<li>公示</li>
<li>公告</li>
</ul>
</div>
<!-- 列表区域 -->
<div class="listArea">
<div>
<ul class="gglist">
<li>
<a href="./ggxq.html" target="_blank">
<div class="gg">
<button type="button" class="layui-btn layui-btn-warm layui-btn-xs">公告</button>
党的十八大以来双拥工作综述:为实现中国梦强军梦凝聚强大力量 前三季度主要指标由负转正
</div>
</a>
</li>
<li>
<a href="./ggxq.html" target="_blank">
<div class="gg">
<button type="button" class="layui-btn layui-btn-warm layui-btn-xs">公告</button>
党的十八大以来双拥工作综述:为实现中国梦强军梦凝聚强大力量 前三季度主要指标由负转正
</div>
</a>
</li>
<li>
<a href="./ggxq.html" target="_blank">
<div class="gg">
<button type="button" class="layui-btn layui-btn-warm layui-btn-xs">公告</button>
党的十八大以来双拥工作综述:为实现中国梦强军梦凝聚强大力量
</div>
</a>
</li>
<li>
<a href="./ggxq.html" target="_blank">
<div class="gg">
<button type="button" class="layui-btn layui-btn-warm layui-btn-xs">公告</button>
党的十八大以来双拥工作综述:为实现中国梦强军梦凝聚强大力量 前三季度主要指标由负转正
</div>
</a>
</li>
<li>
<a href="./ggxq.html" target="_blank">
<div class="gg">
<button type="button" class="layui-btn layui-btn-warm layui-btn-xs">公告</button>
党的十八大以来双拥工作综述:为实现中国梦强军梦凝聚强大力量 前三季度主要指标由负转正
</div>
</a>
</li>
<li>
<a href="./ggxq.html" target="_blank">
<div class="gg">
<button type="button" class="layui-btn layui-btn-warm layui-btn-xs">公告</button>
党的十八大以来双拥工作综述:为实现中国梦强军梦凝聚强大力量 前三季度主要指标由负转正
</div>
</a>
</li>
<li>
<a href="./ggxq.html" target="_blank">
<div class="gg">
<button type="button" class="layui-btn layui-btn-warm layui-btn-xs">公告</button>
党的十八大以来双拥工作综述:为实现中国梦强军梦凝聚强大力量 前三季度主要指标由负转正
</div>
</a>
</li>
<li>
<a href="./ggxq.html" target="_blank">
<div class="gg">
<button type="button" class="layui-btn layui-btn-warm layui-btn-xs">公告</button>
党的十八大以来双拥工作综述:为实现中国梦强军梦凝聚强大力量 前三季度主要指标由负转正
</div>
</a>
</li>
<li>
<a href="./ggxq.html" target="_blank">
<div class="gg">
<button type="button" class="layui-btn layui-btn-warm layui-btn-xs">公告</button>
党的十八大以来双拥工作综述:为实现中国梦强军梦凝聚强大力量 前三季度主要指标由负转正
</div>
</a>
</li>
<li>
<a href="./ggxq.html" target="_blank">
<div class="gg">
<button type="button" class="layui-btn layui-btn-warm layui-btn-xs">公告</button>
党的十八大以来双拥工作综述:为实现中国梦强军梦凝聚强大力量 前三季度主要指标由负转正
</div>
</a>
</li>
</ul>
</div>
<div>
<ul class="rightcontainer">
<h2 class="right-top">新闻推荐</h2>
<li class="tj">
<img src="https://dss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=1938529415,777611275&fm=26&gp=0.jpg">
<span class="tj-title"> 爬山虎国土空间信息化解决方案</span>
<span class="tj-date">2020-12-12</span>
</li>
<li class="tj" >
<img src="https://dss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=1938529415,777611275&fm=26&gp=0.jpg">
<span class="tj-title"> 爬山虎国土空间信息化解决方案</span>
<span class="tj-date">2020-12-12</span>
</li>
</ul>
<ul class="diver">
<li></li>
</ul>
<ul class="rightcontainer">
<h2 class="zc-top">政策法规</h2>
<li>
<div 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>
</div>
</li>
<li>
<div 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>
</div>
</li>
</ul>
</div>
</div>
</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/gsgg.js"></script>
</html>
\ No newline at end of file