Files
new_caauto/public/assets/index/css/style.css
2021-10-29 13:59:44 +08:00

768 lines
14 KiB
CSS

@charset "utf-8";
/* CSS Document */
*{ margin:0; padding:0}
ul li{ list-style:none}
img{ border:0; max-width:100%; height: auto;}
a{ text-decoration:none; color:#333}
body{ font-family:"微软雅黑"; width:100%; min-width:1200px;color: #333;font-size: 14px;}
p{text-align:justify}
/*
公告样式
*/
.ce-white {
background: #fff;
}
.contant {
width: 1200px;
margin: 0 auto;
}
.ce-morgin-tb {
margin: 30px 0;
}
.ce-img {
position: relative;
}
.ce-img>span {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
.ce-nowrap {
max-width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis
}
.ce-nowrap-multi {
display: -webkit-box;
overflow: hidden;
text-overflow: ellipsis;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2
}
/*
首页公告
*/
.notice {
height: 50px;
line-height: 50px;
overflow: hidden;
background-color: #f5f5f5;
overflow: hidden;
}
.notice-left {
float: left;
width: 400px;
display: flex;
color: #929191;
}
.notice-name {
display: flex;
width: 160px;
}
.notice-name img {
width: 20px;
height: 20px;
margin: 14px 10px 0 0;
}
.notice-container {
height: 40px;
color: #616161;
cursor: pointer;
}
.notice-right {
float: right;
color: #5f5f5f;
}
.notice-right>span {
padding-left: 10px;
cursor: pointer;
}
/*
首页头部
*/
.idxNav {
background-image: url(../images/nav_back.png);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
width: 100%;
}
.idxTop {
padding: 20px 0;
box-sizing: border-box;
position: relative;
}
.idxLogo {
width: 300px;
cursor: pointer;
}
.idxNav-li {
position: absolute;
left: 400px;
top: 20px;
width: calc(100% - 400px);
display: flex;
}
.idxNav-li li {
padding: 5px 15px 0;
color: #fff;
font-size: 16px;
cursor: pointer;
line-height: 38px;
position: relative;
transition: .2s;
}
.idxNav-li li::after {
position: absolute;
content: '';
left: 50%;
bottom: 0;
background: transparent;
width: 0;
height: 2px;
transition: .2s;
}
.idxNav-li li.active::after, .idxNav-li li:hover::after {
background: #fff;
width: 40%;
left: 30%;
}
/*
首页第一模块
*/
.idxOne .content {
display: flex;
}
.idxBanner {
width: 800px;
}
.idxOneCont {
width: calc(400px - 20px);
margin-left: 20px;
background-color: #fff;
box-shadow: 0 0 .5rem rgba(0,0,0,.2);
border-radius: .5rem;
overflow: hidden;
position: relative;
}
.idxOneCont-top {
padding: 1rem 1rem 0;
box-sizing: border-box;
height: 50%;
}
.idxOneCont-img {
width: 120px;
height: 160px;
margin: 0 auto 10px;
}
.idxOneCont-img>span {
background-size: 100% 100%;
}
.idxOneCont-text {
font-weight: 600;
font-size: 16px;
}
.idxOneCont-text>div{
color: #4f4f4f;
display: flex;
margin: 1rem 0;
}
.idxOneCont-text>div>span{
display: inline-block;
width: 3rem;
}
.idxOneCont-text>div>p{
width: calc(100% - 3rem)
}
.idxOneCont-tool {
background-image: url(../images/idxOne_back.png);
width: 100%;
text-align: center;
color: #fff;
height: 50%;
padding: 2rem 0;
box-sizing: border-box;
}
.idxOneCont-tool>div {
font-size: 1.4rem;
}
.idxOneCont-tool>span {
font-size: 1.4rem;
margin-top: 1rem;
display: block;
}
.idxBanner-img {
height: 380px;
width: 100%;
cursor: pointer;
border-radius: 8px;
overflow: hidden;
}
.idxBanner-img>p {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 40px;
line-height: 40px;
background-color: rgba(0,0,0,.4);
color: #fff;
padding: 0 30px;
box-sizing: border-box;
}
.idxOne .swiper-container-horizontal>.swiper-pagination-bullets, .idxOne .swiper-pagination-custom, .idxOne .swiper-pagination-fraction {
bottom: 15px;
text-align: end;
width:98%;
}
.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
margin: 0 10px 0 0;
}
.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
background-color: #fff;
opacity: 1;
}
.swiper-pagination-bullet-active {
background-color: #0069d2 !important;
}
.idxBanner-next, .idxBanner-prev{
background-color: rgba(0,0,0,.3);
position: absolute;
top: calc(50% - 25px);
width: 42px;
height: 70px;
z-index: 99;
}
.idxBanner-next {
right: 0;
}
.idxBanner-prev {
left: 0;
}
.idxBanner-next .swiper-button-next {
background-image: url(../images/next.png);
opacity: 1;
}
.idxBanner-prev .swiper-button-prev {
background-image: url(../images/prev.png);
opacity: 1;
}
/*
首页第二模块
*/
.idxTwo-title{
text-align: center;
font-size: 1.4rem;
}
.idxTwo-title span {
color: #7c7b7b;
display: block;
font-size: .8rem;
position: relative;
line-height: 2rem;
margin-top: .7rem;
}
.idxTwo-title span::after, .idxTwo-title span::before {
position: absolute;
content: '';
}
.idxTwo-title span::after {
left: 15%;
top: .05rem;
width: 70%;
height: .05rem;
background-color: #eeeeee;
}
.idxTwo-title span::before {
left: calc(50% - 2rem);
width: 4rem;
height: .3rem;
top: -.3rem;
background-color: #0069d2;
}
/*
首页第三模块
*/
.ce-none {
display: none;
}
.ce-block {
display: block;
}
.idxThree {
margin: 2rem 0;
}
.idxThree .contant, .idxFour .contant, .idxFooter .contant, .idxOne .contant {
display: flex;
}
.idxThree-left {
width: 800px;
}
.idxThree-right {
width: 400px;
padding-left: 1rem;
box-sizing: border-box;
}
.idxThreeCont {
padding: 2rem;
}
.idxThree-title {
display: flex;
font-size: 1.1rem;
color: #3758a9;
position: relative;
padding-bottom: 1.5rem
}
.idxThree-title img {
margin: .2rem .3rem 0 0;
width: 1rem;
height: 1rem;
}
.idxThree-Ul li {
line-height: 1.7rem;
font-size: 1rem;
color: #706f6f;
padding: 1.5rem 0;
position: relative;
}
.idxThree-Ul li::after, .idxThree-title::after {
position: absolute;
content: '';
left: 0;
bottom: 0;
width: 100%;
height: .05rem;
background-color: #eeeeee;
}
.idxThree-tab {
display: flex;
}
.idxThree-tab li {
flex: 2;
text-align: center;
margin: 0 2rem;
color: #0069d2;
line-height: 4.5rem;
background-color: #fff;
font-size: 1.4rem;
cursor: pointer;
}
.idxThree-tab li.ce-active {
background-color: #0069d2;
color: #fff;
}
.idxThree-tab li img {
width: 1.5rem;
height: 1.5rem;
vertical-align: -.3rem;
margin-right: .5rem
}
.idxThree-tab li.ce-active img {
filter: grayscale(100%) brightness(400%);
}
.idxThree-tips {
color: #d90019;
line-height: 1.6rem;
margin-top: 1rem;
display: flex;
font-weight: 600
}
.idxThree-tips>span {
font-size: 1rem;
display: block;
width: 7rem;
}
.idxThree-img {
margin-bottom: 1rem;
cursor: pointer;
}
.idxThree-img img {
width: 100%;
display: inline-block;
}
/*
首页第四模块
*/
.idxFour{
background-color: #f7f7f7;
width: 100%;
margin-bottom: 2rem;
}
.idxFour-left, .idxFour-right {
background-color: #f3f3f3;
padding: 1rem;
box-sizing: border-box;
border-radius: 1.5rem;
}
.idxFour-left {
width: 500px;
}
.idxFour-right {
width: 700px;
}
.idxFour-cont {
background-color: #fff;
padding: 1rem;
box-sizing: border-box;
}
.idxFour-title {
display: flex;
position: relative;
color: #0069d2;
font-size: 1.1rem;
padding-bottom: .5rem;
margin-bottom: 1rem;
}
.idxFour-title::after {
position: absolute;
content: '';
left: 0;
bottom: 0;
width: 100%;
height: .05rem;
background-color: #92aac0;
}
.idxFour-title img {
width: 1.4rem;
height: 1.4rem;
margin: .1rem .3rem 0 0;
}
.idxFour-text{
color: #5b5b5b;
line-height: 1.8rem;
font-size: .95rem;
margin-bottom: .5rem;
}
.idxFour-text img{
width: 104%;
max-width: none;
margin-top: .5rem;
display: inline-block;
}
.idxFour-right .idxThreeCont {
padding: 0 0 .3rem;
}
.idxFour-right .idxThreeCont li:last-child::after {
display: none
}
.idxFour-right .idxThree-title {
font-size: 1rem;
filter: grayscale(100%) brightness(100%);
}
/*
底部
*/
.idxFooter {
background-color: #252f35;
padding: 2rem;
color: #fff;
}
.idxFooter-left {
width: 300px;
}
.idxFooter-right {
width: 900px;
}
.idxFooter-title {
color: #aaacae
}
.idxFooter-title .idxFooter-name {
font-size: 1.6rem;
color: #fff;
}
.idxFooter-title>span {
background-color: #fff;
width: 6rem;
height: .15rem;
display: block;
margin: .5rem 0;
}
.idxFooter-ul {
margin-top: 1.5rem;
font-size: .9rem;
}
.idxFooter-ul li {
display: flex;
line-height: 2rem;
}
.idxFooter-ul li img {
width: 1.2rem;
height: 1.2rem;
margin: .4rem .5rem 0 0;
}
.idxFooter-right {
margin-left: 2rem;
margin-top: 5.8rem;
position: relative;
}
.idxFooter-right::after{
position: absolute;
content: '';
left: -5rem;
bottom: 0;
width: .05rem;
height: 100%;
background-color: #aaaaaa;
}
.idxFooter-right li {
float: left;
width: 50%;
height: 1.5rem;
line-height: 1.5rem;
}
/*
友情链接
*/
.idxLink {
background-color: #1b262d;
padding: 1rem 0 2rem;
color: #fff;
}
.idxLink-ul {
overflow: hidden;
padding: 0 20px;
box-sizing: border-box;
}
.idxLink-ul li {
float: left;
width: 16.66%;
font-size: 15px;
cursor: pointer;
line-height: 40px;
}
.idxLink-ul li:hover {
color: #06acf9;
}
.line {
background: #fff;
width: 100%;
height: 1px;
margin-top: -15px;
margin-bottom: 10px;
position: relative;
}
.line::before {
position: absolute;
content: '';
left: 0;
bottom: 0;
background-color:#fff;
width: 12%;
height: 2px;
}
.idxTitle {
display: flex;
line-height: 50px;
margin-bottom: 10px;
}
.idxTitle-name {
font-size: 1rem;
flex: 1;
display: flex;
}
.idxTitle-name>span {
font-size: 12px;
padding-left: 6px;
color: #fff;
text-transform : uppercase;
}
.idxTitle img {
width: 1.3rem;
height: 1.3rem;
margin: 1rem .5rem 0 0;
}
/*详情*/
.details {
overflow: hidden;
}
.page-left {
width: 280px;
float: left;
background: #fff;
}
.page-right {
width: 900px;
float: right;
margin-left: 20px;
margin-top: 20px;
}
.pagelist h1 {
color: #fff;
height: 45px;
line-height: 45px;
font-size: 18px;
font-weight: 600;
background: #016ad2;
padding-left: 20px;
margin-top: 20px;
}
.pagelist .listbox {
/*border: 1px solid #efefef;*/
margin: 20px 0;
}
.pagelist li {
border-top: 1px solid #efefef;
border-bottom: 1px solid #efefef;
margin-top: -1px;
}
.pagelist li a {
height: 35px;
line-height: 35px;
display: block;
background: url(../images/sanjiao2.png) 220px 14px no-repeat #fafafa;
font-size: 14px;
color: #333;
padding-left: 20px;
}
.pagelist li a:hover,
.pagelist li.active>a {
background: url(../images/sanjiao.png) 218px 14px no-repeat #fafafa;
font-weight: bold;
}
.pagelujing {
height: 40px;
border-bottom: 2px solid #efefef;
position: relative;
margin-bottom: 14px;
}
.pagelujing .name {
position: absolute;
left: 0;
top: 0;
height: 40px;
border-bottom: 2px solid #016bd2;
line-height: 40px;
font-size: 16px;
font-weight: bold;
}
.pagelujing span {
position: absolute;
right: 0;
line-height: 40px;
color: #888;
}
.tcdPageCode {
padding: 15px 20px;
text-align: left;
color: #ccc;
text-align: center;
margin-top: 30px;
}
.tcdPageCode span.disabled {
display: inline-block;
height: 25px;
line-height: 25px;
padding: 0 10px;
margin: 0 2px;
color: #bfbfbf;
background: #f2f2f2;
border: 1px solid #bfbfbf;
border-radius: 4px;
vertical-align: middle;
}
.tcdPageCode span.current {
display: inline-block;
height: 25px;
line-height: 25px;
padding: 0 10px;
margin: 0 2px;
color: #fff;
background-color: #428bca;
border: 1px solid #428bca;
border-radius: 4px;
vertical-align: middle;
}
.tcdPageCode a {
display: inline-block;
color: #428bca;
display: inline-block;
height: 25px;
line-height: 25px;
padding: 0 10px;
border: 1px solid #ddd;
margin: 0 2px;
border-radius: 4px;
vertical-align: middle;
}
.newslist li {
border-bottom: 1px dotted #dedede;
position: relative;
padding: 0 80px 0 14px;
background: url(../images/jiantou.png) 2px 15px no-repeat;
}
.newslist li a {
display: block;
height: 36px;
width: 100%;
line-height: 36px;
font-size: 14px;
color: #666;
word-break: break-all;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
}
.newslist li span {
position: absolute;
right: 0;
top: 0;
line-height: 36px;
color: #bbb;
text-align: center;
}
.biaoti {
font-size: 18px;
color: #333;
text-align: center;
margin: 0 20px;
font-weight: 600;
margin-top: 30px;
}
.sshuomign {
color: #888;
font-size: 12px;
line-height: 30px;
text-align: center;
}
.article_txt {
font-size: 14px;
line-height: 28px;
color: #454545;
margin: 20px 0;
overflow: hidden;
text-align: center;
}