3ee806de by 任超

style:首页的修改

1 parent ee93f7e9
......@@ -48,7 +48,9 @@ div a {
div.subject h2 a:hover {
color: #f46143;
}
.layui-nav-item a{
font-size: 16px;
}
div.subject {
margin: 0 auto;
float: none;
......@@ -57,9 +59,10 @@ div.subject {
min-width: 1200px;
}
div.top-logo {
width: 1200px;
width: 1185px;
height: 70px!important;
padding-top: 20px;
margin: 0 auto;
}
div.top-logo ::-webkit-input-placeholder { /* WebKit browsers */
......
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
border: 0;
margin: 0;
outline: 0 none;
padding: 0;
vertical-align: baseline;
font-size: 100%;
background: transparent;
font-family: Arial;
}
.clearfix {
overflow: auto;
}
.layui-nav-item a{
font-size: 16px;
}
/*================首页 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;
min-width: 1200px;
}
/*新闻 */
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 .login a:hover {
color: #f46143;
}
div.top-logo .top_logo_search i {
position: absolute;
right: 10px;
top: 11px;
cursor: pointer;
}
/*end*/
.top-logo h1 {
display: inline-block;
float: left;
}
/*------------------首页 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: 130px;
position: relative;
margin: 0 22px;
}
.layui-bg-blue {
background-color: #006CFF!important;
}
.layui-nav-item:not(:first-child)::before {
content: '';
position: absolute;
height: 22px;
border-left: 1px solid #ccc;
top: 21px;
left: -22px;
}
div.nav ul li {
float: left;
margin: 21px auto;
width: 149px;
border-left: 1px solid #3389ff;
cursor: pointer;
}
div.nav ul li:first-child {
border-left: none;
}
div.nav ul li a {
color: #ffffff;
width: 90%;
display: inline-block;
font-size: 18px;
font-weight: bold;
letter-spacing: 2px;
}
div.banner, div.c_one, div.c_two, div.c_three, div.c_four, div.c_five, div.footer {
width: 100%;
text-align: center;
......@@ -163,13 +27,13 @@ div.banner {
div.banner .banner_title {
list-style: none;
width: 1200px;
width: 1240px;
display: inline-block;
margin-top: 350px;
}
div.banner .banner_title li {
width: 250px;
width: 260px;
height: 100px;
background-color: #ffffff;
float: left;
......@@ -211,7 +75,6 @@ div.banner ul li a {
.laws_regulations .title h2 a{
display: block;
padding: 20px;
box-sizing: border-box;
height: 60px;
box-sizing: border-box;
border-bottom: 1px solid #E6E6E6;
......@@ -221,11 +84,13 @@ div.banner ul li a {
font-weight: 600;
color: #4A4A4A;
float: left;
height: 36px;
height: 37px;
border-bottom: 2px solid #006CFF;
}
.laws_regulations .title h2 a p span {
position: relative;
font-size: 20px;
top: -3px;
}
.laws_regulations .title h2 i{
......@@ -335,11 +200,12 @@ div.banner ul li a {
font-weight: 600;
color: #4A4A4A;
float: left;
height: 36px;
height: 37px;
border-bottom: 2px solid #006CFF;
}
.common_question .title h2 a p span {
position: relative;
font-size: 20px;
}
.common_question .title h2 i{
......@@ -390,6 +256,10 @@ div.banner ul li a {
position: relative;
left: 0;
top: -25px;
cursor: pointer;
}
.common_question .list_content_right dd a p:hover {
color: #f46143;
}
/* -----------------end---------------------------- */
div.c_one {
......@@ -446,11 +316,9 @@ div.c_one h2 span {
div.c_one h2 i {
float: right;
font-size: 12px;
font-size: 14px;
font-style: normal;
color: #9d9d9d;
margin-top: 10px;
}
div.c_one h2 a:hover i {
......@@ -483,6 +351,9 @@ div.c_one ul li a {
display: block;
color: #000000;
}
div.c_one ul li a:hover {
color: #f46143;
}
div.c_one ul li a span {
float: right;
......@@ -523,7 +394,8 @@ div.c_two h2 {
margin-top: 40px;
background-color: #fafafa;
width: 100%;
font-size: 24px;
font-size: 26px;
font-weight: 600;
letter-spacing: 2px;
}
......@@ -538,7 +410,7 @@ div.c_two ul li {
width: 16.5%;
overflow: hidden;
margin-left: 2.88%;
padding: 40px 36px;
padding: 40px 34px;
border: 1px solid #E6E6E6;
background: #ffffff;
}
......@@ -556,6 +428,12 @@ div.c_two ul li h6 {
div.c_two ul li p {
margin-top: 20px;
font-size: 14px;
cursor: pointer;
line-height: 26px;
}
div.c_two ul li p:hover {
color: #f46143;
}
div.c_three {
......@@ -600,7 +478,8 @@ div.c_four div:first-child {
/* -----------------友情链接-------------------------- */
div.c_five h2 {
text-align: center;
font-size: 24px;
font-size: 26px;
font-weight: 600;
margin-bottom: 30px;
}
div.c_five div:first-child {
......@@ -634,87 +513,3 @@ div.c_five ul li a {
div.c_five ul li a img {
height: 100%;
}
\ No newline at end of file
/* -----------------底部start----------------------------- */
div.footer {
background-color: #233042;
}
div.footer .system_service {
width: 100%;
border-bottom: 1px solid #4A4A4A;
}
div.footer .system_service ul {
padding: 40px 0;
width: 1400px;
margin: 0 auto;
font-size: 0;
}
div.footer .system_service ul li {
width: 20%;
display: inline-block;
text-align: center;
height: 18px;
box-sizing: border-box;
}
div.footer .system_service ul li:not(:last-child) {
border-right: 1px solid #6D7278;
}
div.footer .system_service ul li a{
font-size: 16px;
font-weight: 400;
color: #DEDEDE;
}
div.footer .system_service ul li a:hover {
color: #f46143;
}
.footer .subject {
width: 1200px;
margin: 0 auto;
padding: 40px 0;
overflow: hidden;
}
.footer .subject .footer_logo {
float: left;
}
.footer .subject .footer_logo a{
display: block;
width: 64px;
height: 74px;
padding: 10px;
}
.footer .subject .footer_logo a img {
width: 100%;
height: 100%;
}
.footer .subject ul, ol {
float: left;
color: #CBCBCB;
text-align: left;
}
.footer .subject ul {
width: 73%;
box-sizing: border-box;
padding-left: 40px;
margin-top: 10px;
}
.footer .subject ul li {
width: 30%;
display: inline-block;
text-align: left;
margin-bottom: 30px;
}
.footer .subject ol li {
display: inline-block;
text-align: center;
}
.footer .subject ol li:last-child {
margin-left: 60px;
}
.footer .subject ol li img {
width: 80px;
height: 80px;
}
.footer .subject ol li p {
font-size: 12px;
color: #CBCBCB;
margin-top: 5px;
}
\ No newline at end of file
......
layui.use('carousel', function () {
var carousel = layui.carousel;
//建造实例
carousel.render({
elem: '#banner_swiper'
, width: '100%' //设置容器宽度
, arrow: 'always' //始终显示箭头
, autoplay: true
, height: '500px'
});
});
//注意:导航 依赖 element 模块,否则无法进行功能性操作
layui.use('element', function () {
var element = layui.element;
//…
});
layui.use('util', function () {
var util = layui.util;
//执行
util.fixbar({
bar1: true,
bar2: true,
top: true
, click: function (type) {
console.log(type);
if (type === 'bar1') {
alert('点击了bar1')
}
}
});
});
\ No newline at end of file