.transition(@transition:.4s){-webkit-transition:@transition;-moz-transition:@transition;-ms-transition:@transition;-o-transition:@transition;transition:@transition;} .transform-origin(@origin){-webkit-transform: @origin;-moz-transform: @origin;-ms-transform: @origin;-o-transform: @origin;transform: @origin;} .scale(@scale){-webkit-transform: scale(@scale);-moz-transform:scale(@scale);-ms-transform:scale(@scale);-o-transform:scale(@scale);transform:scale(@scale);} .border-radius(@border-radius){-webkit-border-radius:@border-radius;-moz-border-radius:@border-radius;-o-order-radius:@border-radius;-ms-border-radius:@border-radius;border-radius:@border-radius;} .rotate(@rotate){-webkit-transform: rotate(@rotate);-moz-transform: rotate(@rotate);-ms-transform: rotate(@rotate);-o-transform: rotate(@rotate);transform: rotate(@rotate);} .translateX(@X){-webkit-transform: translateX(@X);-moz-transform: translateX(@X);-ms-transform: translateX(@X);-o-transform: translateX(@X);transform: translateX(@X);} .translateY(@Y){-webkit-transform: translateY(@Y);-moz-transform: translateY(@Y);-ms-transform: translateY(@Y);-o-transform: translateY(@Y);transform: translateY(@Y);} @mainColor: #d82633;/*主色*/ @hoverColor:#1a8fdf;/*悬浮变色*/ @thirdColor:#099f52;/*第三个颜色*/ @qt5:#fff;/*悬浮背景变色后字体颜色*/ @qt6:#c5a46e;/*按钮悬浮颜色 */ @height_nav:36px; /*导航条高度*/ @nav_li_color:#454545;/*导航条文字颜色*/ .nav_h_color{color:#d82633!important;;font-weight: bold; &:after{height: 36px!important;.transition();} }; /*导航条文字颜色*/ @ba_w1:1920px; /*滚动图片宽度*/ @ba_h1:840px; /*滚动图片高度*/ @b_w:1200px; /*网站宽度*/ .more_a(@c:#fff; @w:120px;@h:30px;@b_w:1px;@b_s:solid;@b_c:#fff;){display: block;width:@w;height:@h;line-height:@h;text-align: center;color:@c;border:@b_w @b_s @b_c;} .slh{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;} .clamp(@l:4;) {display: -webkit-box;overflow: hidden;text-overflow: ellipsis;-webkit-box-orient: vertical;-webkit-line-clamp: @l;} .left{float:left;} .right{float:right;} .off{display:none;} /*隐藏*/ .pos_r{position: relative;} //chinatextlist html结构 .jsplit>.splitbox>p.h5.splitbox-fadeInUp .splitbox{overflow: hidden; span{min-width:.5em;;display: inline-block;opacity: 0;margin: 0 1px;} .splitbox-fadeInUp.active span{animation: fadeInUp 1s both;} //可以使用其他animate.css动画 .splitbox-fadeInRight.active span{animation: fadeInRight 1s both;} } *::-webkit-scrollbar-thumb{ //滚动条颜色 background-color: @mainColor; } /*----------------头部--------------*/ .header_top{width: @b_w;margin: 0 auto;position: fixed; span{float: left;} a { display: inline-block; color: #212222; &:hover { color: #0d8e0d;} } } //头部样式//////////////////////////////////////////////////// .header{margin: 0 auto; background: #dcdcdc;.transition();z-index: 222;position: fixed;width: 100%;box-sizing: content-box;top: 0; padding: 18px 0; .top { .logo{float: left;display: block} } //底部滑块 .header_nav{ width:9rem;float: right; li{float: left;text-align: center;line-height: @height_nav;height: @height_nav;position: relative;margin: 0 .23rem; .a1{font-size: 18px;display: block;position: relative;color:@nav_li_color;padding: 0 .2rem; &:after{content: '';height: 0;position: absolute;left: 0;bottom: 0;top: 0; ;margin: auto;background: @mainColor;width: 4px;} } .ol_2{top:50px;left: 0;z-index:99;width:100%;border-radius: 0;margin-top:35px;position: absolute;background: #fff;.transition(.2s);opacity: 0;visibility: hidden;padding: 10px 0; a{padding: 10px 20px;position: relative;display: block;color: #000!important;font-size: 14px;line-height: 1; &:hover{color: @mainColor!important;} } } .nav_ol_up{margin-top: 0;opacity: 1;visibility: visible;} } li:last-child{margin-right: 0;} #Product28 .ol_2{width: 140%;} } } .scrolling .header{padding:10px 0;box-shadow: 0 0 4px 5px rgba(0,0,0,.1); .nav .dropdown ul.dropdown-menu{padding-top:3px;} } //手机导航样式////////////////////////////////////// #mobile{position: fixed;top: 0;left: 0;width: 100%;z-index: 2233;display: none; .top {line-height: 40px;height: 40px;text-align: center;-moz-box-shadow: 0 0 10px rgba(0,0,0,.2);-o-box-shadow: 0 0 10px rgba(0,0,0,.2);background: #dcdcdc;position: relative;z-index: 1; .btn{width: 40px;height: 40px;cursor: pointer;cursor: hand;z-index: 1;float: right;position: relative;display: block; i{width: 23px;height: 2px;background: #222;display: block;position: absolute;left: 50%;transform: translateX(-50%);transition: .5s;transform-origin: left center; } .ie1{top: 12px;} .ie2{top: 19px;} .ie3{top: 26px;} } .active{ .ie1{transform: translateX(-50%) rotateZ(45deg);top: 12px;margin-left: 3px;} .ie2{opacity: 0;} .ie3{transform: translateX(-50%) rotateZ(-45deg);top: 28px;margin-left: 3px;} } } .logos{display: inline-block;width: auto;float: left;margin-left: .1rem; img{max-height: 25px;width: auto;display: inline-block;vertical-align: middle;position: relative;top: -2px;} } .lang {float: right;position: relative; a{margin-right: .2rem;font-size: 18px;} } .bottom {position: absolute;top: 0;left: 0;width: 100%;padding: 20px 15px;background: #fff;height:100vh;padding-top: 60px;overflow: auto;display: none; .m-nav{display: block;border-bottom: 1px solid #eee;margin-bottom:25px; ul{ li{ a{display: block;line-height: 40px;height: 40px;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;position: relative;border-top: 1px solid #eee;font-size: 16px; i{background: url("../images/icon14.png")no-repeat center center;width: 40px;height:40px;float: right;background-size: 10px 5px;.rotate(-90deg);} } ul{display: none; a{padding-left: 10px; &:before {content: '-';font-size: 16px;padding-right: 5px;} } } } } } .m-info ul{ li {display: block;border: 1px solid #666;font-size: 14px;padding: 0 15px;margin-bottom: 10px;text-align: center;transition: .5s; a{background: url("../images/ico_tel.png")no-repeat left center;background-size:20px 20px; line-height: 36px;height: 36px;;display: inline-block;padding-left: 25px;} } li+li a{background: url("../images/ico_email.png")no-repeat left center;background-size:20px 20px;} } } } @media (max-width:1400px ) { .header .header_nav li{margin: 0 .15rem;} } @media (max-width:1200px ) { .header .header_nav li{margin: 0 .09rem;} } @media (max-width:1000px) { .header {display: none;} #spotlight .header{display: block;} #mobile{display: block;} } //banner样式 百分比缩放大图// .banner{margin-top:80px; .swiper-slide{position: relative;font-size:0; img{width: 100%;} } .banner-pagination{left:30%; margin: auto; width: 180px;font-size: 48px;color:@mainColor;font-weight: bold;bottom: .5rem;border-bottom: 1px solid #fff;position: absolute;z-index: 22;font-family: beba;text-align: center; &:before{content: '';background: url("../images/banner_i1.png")no-repeat;width: 207px;height: 27px; ;position: absolute;left: 0;top:30px;margin-left: 150px;} &:after{content: '';display: block;background: @mainColor;width:0;height: 1px;position: absolute;bottom:-1px;.transition(5s);} } //大图效果 .swiper-pagination_move{ &:after{animation: an_w 5s linear} } } @keyframes an_w { 0%{width: 0;} 100%{width:100%; } } @media (max-width: 1000px) { .banner{margin-top:40PX;} .banner .banner1_nr{ h6{font-size: .4rem;} h3{font-size: .2rem;padding:5px 10px } } .banner .banner-pagination:before{width: 150px;} } @media (max-width:640px) { .banner .banner-pagination{font-size:24px;bottom:15px;width:50px;right:40px;left: auto} .banner .banner-pagination:before{margin-left: 50px;top: 13px;width: 120px;background-size:100%} } .index1{background: @mainColor;padding: .23rem 0;overflow: hidden; .main1400_b{display: flex;} .index1_1{width: 50%;border-right: 1px solid #ffffff;height:160px;display: flex;align-items: center; img{width:80%;} } .index1_2{width: 50%;color:#fff; .swiper-container{padding-bottom: .8rem;} .index1_2_l{width: 50%;float: left;padding: 0 10%;margin-top: .1rem; span{font-size: 24px;font-weight: bold;} h6{font-size: 18px;position: relative;display: inline-block; &:after{content: '';display: block;width: .7rem;height: 1px;background: #FFF;position: absolute;right: -.8rem;top: 0;bottom: 0;margin: auto;} } } .index1_2_r{float: right;width: 50%;margin-top: .2rem; p{font-size: 16px;} } } .index_btn{position: absolute;bottom: 0;width: 1rem;display: flex;justify-content: space-around;left: 0;right: 0;margin: auto; div{width: .36rem;height: .36rem;} i{display: block;height: .36rem;width: 1px;background: #fff;} } .index1-prev{background: url("../images/i1.png")no-repeat center;} .index1-next{background: url("../images/i2.png")no-repeat center;} } @media (max-width:1200px ) { .index1 .index1_1{width: 30%;} .index1 .index1_2{width: 70%;} } @media (max-width:800px ) { .index1 .index1_1{display: none;} .index1 .index1_2{width:100%;} .index1 .index1_2 .index1_2_l{padding: 0;} } @media (max-width:400px ) { .index1 .index1_2 .index1_2_l{width: 100%;} .index1 .index1_2 .index1_2_r{width: 100%;} .index1 .index1_2 .index1_2_r p{font-size: 14px;} } .com_dh{ span{color: #252525;font-size: .36rem;font-weight: bold;opacity: .5;} h6{color: #fff;background: url("../images/i3.png")no-repeat right bottom;width: 132px;height: 44px;line-height: 44px;text-align: center;font-size: 18px;margin-top: -.2rem;position: relative;z-index: 1;} p{font-size: 16px;margin-top: .1rem;color: #252525;} } @media (max-width:400px ) { .com_dh span{font-size: .4rem;} .com_dh h6{width: 100px;height: 36px;line-height: 36px;} } .com_a{display: block;background: #a9a9a9;width: 1.2rem;height: .4rem;line-height: .4rem;text-align: center;font-size: 18px;;color: #fff; } @media (max-width:400px ) { .com_a{font-size: 14px;width: 1.6rem;height: .6rem;line-height: .6rem;} } .index2{margin: .6rem 0; .main1400_b{display: flex;} .index2_1{width: 60%; .index2_1_txt{padding-right: .2rem;position: relative;; article{font-size: 16px;line-height: 1.8;min-height: 2rem;display: flex;align-items: center;margin: .2rem 0;} i{display: block;background: url("../images/i7.png")no-repeat;position: absolute;right:.2rem;z-index: -1;width: 10rem;height:2.4rem;background-size: 100%;top: 0;} } ul{overflow: hidden;margin-bottom: .5rem; li{text-align: center;margin-right: .6rem;float: left;font-size: 18px; i{display: block;background: url("../images/i4.png")no-repeat;width:.9rem;height: .9rem;background-size: 100%!important;margin: 0 auto .16rem;} } li:nth-of-type(2) i{background: url("../images/i5.png")no-repeat;} li:nth-of-type(3) i{background: url("../images/i6.png")no-repeat;} li:hover{color: @mainColor; i{animation: tada 2s both} } } } .index2_2{width:60%;margin-right: -19%;position: relative;; img{width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';} i{display: block;background: url("../images/play.png")no-repeat;width: .6rem;height:.6rem;background-size:100%;position: absolute;left: 0;top: 0;bottom: 0;right: 0;margin: auto;} } } @media (max-width:768px ) { .index2 .index2_1 .index2_1_txt{padding-right: 0;} .index2{margin: .4rem 0;} .index2 .index2_1 .index2_1_txt i{width:100%;} .index2 .main1400_b{display: block;} .index2 .index2_1{width: 100%;} .index2 .index2_2{width: 100%;margin-right: 0;height:2.8rem;margin-top: .3rem;} .index2 .index2_1 ul li{font-size: 14px;} .index2 .index2_1 .index2_1_txt article{font-size: 14px;} .index2 .index2_1 ul li{width: 33%;margin-right: 0;} } //弹窗video .tan_video{position: fixed;z-index:33;left: 0;right: 0;bottom: 0;top: 0;display: none; .tan_video_bg{position: absolute;background: rgba(0,0,0,.8);left: 0;right: 0;bottom: 0;top: 0;} .video-js{position: absolute;left: 0;right: 0;bottom: 0;top: 0;margin: auto;width:60%;height:0;padding-bottom:34%;} } @media (max-width:640px ) { .tan_video .video-js{width: 100%;padding-bottom:56%;} } .index3{position: relative;height: 8.2rem;padding-top: .4rem; .index3_com{ h6{font-size: .48rem;color: #fff;} p{font-size: .3rem;color: @mainColor;margin-bottom: .2rem;} } .index3_tab{background: rgba(0,0,0,.7);color: #fff;width: 6.5rem; ul{ li{padding: .3rem .5rem;min-height: 1.4rem;position: relative;; h6{font-size: .3rem;background: url("../images/i8.png")no-repeat right center;background-size: .3rem;} p{font-size: 16px;width: 80%;margin: .1rem 0;display: none} i{font-size: 18px;display: none;} &:after{content: '';position: absolute;width: 70%;left: 0;right: 0;bottom: 0;margin: auto;height: 1px;background: #fff;} } li:nth-of-type(3):after{display: none;} .on{background: @mainColor; p{display: block;} i{display: block;} &:after{display: none;} } } } .case_m{position: absolute;;height:100%;top: 0;z-index:-1;overflow: hidden;} } @media (max-width:1000px ) { .index3 .index3_tab ul .on i{font-size: 14px;} } @media (max-width:640px ) { .index3{padding: .5rem 0;height: auto;; .index3_tab{width: 100%;} } } .index5{width: 100%;;margin: .5rem 0; .case_t{height:120px;padding:0 14%; ul{width:60%;float: left;; li{float: left;width: 18%; span{display: block;background: url("../images/i11.png")no-repeat center bottom;width: .46rem;height:.45rem;margin: -5%;background-size: 100%!important;} p{margin: .1rem 0 .1rem -29%;text-align: center;position: relative;display: inline-block;font-size: 18px; &:after{content: attr(data-mask);position: absolute;color:@mainColor;left: 0;overflow: hidden;width: 0;transition: all 0.5s cubic-bezier(0, 0.31, 0.22, 0.43);top: 0;text-align: left;white-space: nowrap;font-size: inherit;} } .icon{width: 100%;position: relative; .i1{background: url("../images/i22.png")no-repeat center;width: 28px;height: 12px;display: block;float: left;} .i2{height: 1px;width: e("calc(100% - 30px)");background: #bfbfbf;display: block;float: left;margin-top:7px;position: relative; &:after{content: '';width: 0;background: @mainColor;position: absolute;left: 0;top: 0;z-index: 2;height: 1px;display: block;} } } } .on{ span{background: url("../images/i11_1.png")no-repeat;} p{ &:after{width: 100%;} } .icon{ .i1{background: url("../images/i22_1.png")no-repeat center;} .i2:after{animation: an_w 5s both;} } } li:nth-of-type(1) .icon:before{content: '';width: 300px;height: 1px;background: #bfbfbf;display: block;left:-300px;position: absolute;top:7px;} li:nth-of-type(2) span{background: url("../images/i12.png")no-repeat;} li:nth-of-type(2).on span{background: url("../images/i12_1.png")no-repeat;} li:nth-of-type(3) span{background: url("../images/i13.png")no-repeat;} li:nth-of-type(3).on span{background: url("../images/i13_1.png")no-repeat;} li:nth-of-type(4){ .icon:after{content: '';width: 300px;height: 1px;background: #bfbfbf;display: block;left:30px;position: absolute;top:7px;} .icon .i2{display: none;} span{background: url("../images/i14.png")no-repeat;} } li:nth-of-type(4).on span{background: url("../images/i14_1.png")no-repeat;} } .index5_dh{float: right; h6{font-size: .36rem;color: #252525;} p{font-size: .24rem; color: @mainColor;} i{display: block;width: 1rem;height:2px;background: @mainColor;margin-top: .1rem;} } } .case_m{height:6.4rem; .swiper-container{height: 100%;} .swiper-slide{;overflow: hidden; .txt1{width:65%; position: absolute;z-index: 12;left: 0;padding:7% 7% 7% 20%;color: #fff; .txt_bg{background:@mainColor;;box-shadow: 0px 10px 24px 0px rgba(0, 0, 0, 0.17);;z-index: -1;position: absolute;width: 100%;height: 100%;left:0;top:0;transform-origin:right bottom;transform: scaleX(0);} .txt{opacity:0;.transition(1s);transition-delay: 1s; h6{font-size: .36rem;font-weight: bold;} span{font-size: .3rem;display: block;margin: .1rem 0;} i{display: block;background: url("../images/i9.png")no-repeat;width:6.45rem;height: 9px;} p{font-size: 18px;margin: .2rem 0;.clamp(4);} a{background: #fff;color: #000;border: 1px solid @mainColor;.transition(); &:hover{color: #fff;border: 1px solid #fff;} } } } .img_kh{position: absolute;bottom: 0;left:0%;right: 0;height:5rem;overflow: hidden;width: 100%; .slide_r{width: 100%;height: 100%;position: absolute;left:0;top: 0;background: #fff;z-index: 2;} .img{width: 100%;height: 100%; img{width: 100%;height: 100%;.scale(1.1); object-fit: cover;font-family: 'object-fit: cover;';} } } } .swiper-slide-active{ .txt1{ .txt_bg{transform: scaleX(1);transform-origin: left;transition: transform 1s ease-out .5s;} .txt{opacity: 1;} } .img_kh{ .slide_r{left:100%;.transition(1s);transition-delay:.5s} .img{ img{.scale(1);.transition(1s);transition-delay:.5s} } } } .index5-pagination{position: absolute;top:3%;right:15%;width:100px;bottom: auto;left: auto; .s1{font-size: .48rem;color: @mainColor;} } } } @keyframes an_w { from{width: 0} to{width: 100%;} } @media (max-width:1400px ) { .index5 .case_t ul li {width: 24%;} .index5 .case_t ul li p{margin-left:-23%;} .index5 section .case_t{padding:0 5% } .index5 section .case_m .swiper-slide .txt1{padding: 7%;} } @media (max-width:1000px ) { .index5 .case_t ul li p{margin-left:-19%;} .index5 .case_t ul li span{margin:0 0 0 -5%;} .index5{margin-bottom: .5rem;} .index5 section .case_m .swiper-slide{width: 100%;} .index5 section .case_t .index5_dh{float: none;margin-bottom: .3rem;} .index5 section .case_t ul{width:100%;overflow: hidden; float: none; padding-left: .4rem;} .index5 section .case_t{height: auto;} .index5 section .case_m{margin-top: .3rem;} .index5 section .case_m .index5-pagination{right: 0%;} .index5 section .case_m .swiper-slide .img_kh{height:5rem;} .index5 section .case_m .swiper-slide .txt1 .txt i{width:100%;} } @media (max-width: 800px) { .index5 section .case_t ul li p{font-size: 14px;} .index5 section .case_t ul{width: 128%;margin-left: -6%;padding-left: 10%;} .index5 .case_t ul li span{margin:0 0 0 -2%;} } @media (max-width:450px) { .index5 section .case_t ul{width: 120%;} .index5 .case_t ul li p{margin-left: -26%;} .index5 section .case_t ul li p{font-size: 12px;} .index5 .case_m .swiper-slide .txt1 .txt p{font-size: 14px;} .index5 .case_m .swiper-slide .txt1 .txt span{font-size: 16px;} } .index6{margin: .5rem 0;background: #f7f7f7; li{overflow: hidden;display: none; .main1400_b{display: flex;justify-content: space-around;flex-direction: row-reverse;} .img{width: 72%;margin-right: -22%;height: 6.3rem;overflow: hidden;; img{width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';} } .txt{width: 40%;padding: 1rem 0 0; .txt_nr{margin: .5rem 0 0; h4{font-size: 18px;.clamp(1);} b{display: block;width: 4rem;background: #e1e1e1;margin: .1rem 0 .2rem;height: 1px;} article{margin-bottom:.3rem; p{.clamp(8);font-size: 16px;color: #252525;line-height: 2;} } } } } .on{display: block;} } .index6_dots{margin-top: -1rem;background: #fff;box-shadow: 0px 7px 16px 0px rgba(0, 0, 0, 0.07);position: relative;;z-index: 1; padding: 0 .2rem; .swiper-slide{color: #c1c1c1;width: 25%;overflow: hidden;padding:.5rem .2rem;height: 4rem; .img{overflow: hidden;;height: 2.2rem;.transition();margin-bottom: .1rem; img{width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';} } .txt{ time{float: right;} h4{font-size: 18px;.clamp(2);margin-top: .1rem;} } } .swiper-slide-active,.swiper-slide-duplicate-active{color: @mainColor; .img{box-shadow: 0px 5px 7px 0px rgba(0, 0, 0, 0.16);transform: scaleY(1.1);margin-bottom: .2rem;} } } @media (max-width:1000px ) { .index6_dots .swiper-slide .txt h4{font-size: 16px;} } @media (max-width: 640px) { .index6_dots{margin-bottom: .5rem; .swiper-slide{height: auto;} } .index6_dots .swiper-slide .img{height: 1.2rem;} .index6{display: none;} .index6_dots{margin-top: .5rem;} } @media (max-width: 400px) { .index6_dots .swiper-slide .txt i{display: none;} .index6_dots .swiper-slide .txt time{float: none;} .index6_dots .swiper-slide .txt h4{font-size: 14px;} } //内页大图/////////////////////////////////////////////////////// .nei_banner{max-width: 1920px;overflow: hidden;display: block;position: relative;background: rgba(0,0,0,1);font-size: 0;margin-top: 80px; img{opacity: .7;font-size: 0;width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';} .main1400_b{position: absolute;left: 0;right: 0;top:25%; margin: auto;text-align: center; h3{color: #fff;overflow: hidden;margin-top:20px; opacity: 0; &:after{content: '';display: block;margin: 20px auto;width: 0;height: 1px;background: #fff;transition: width .6s 1s;} } h3.animated:after{width:50px;} h4{color: #fff;font-size: 60px;opacity: 0;} } } //面包屑导航 .breadcrumbs{position: absolute;;left: 0;bottom: 0;background: rgba(0,0,0,.4);width: 100%;height: 50px;line-height: 50px;color: #fff; p{background: url("../images/icon_home.png")left center no-repeat;padding-left: 30px;font-size: 14px;display: inline-block;float: right;; a{font-size: 14px;color: #fff;} } } @media (max-width:1200px) { .nei_banner .main1400_b{top: 20%; h4{font-size: 48px;} h3{margin-top: 0;} } } @media (max-width:1000px ) { .nei_banner{margin-top: 40px;} } @media (max-width:700px) { .nei_banner .main1400_b{ h4{font-size: 36px;line-height: 1.2;} } .nei_banner{height:2.5rem} } @media (max-width:500px) { .breadcrumbs{height: 30px;line-height: 30px; p,p a{font-size: 12px;} } .nei_banner .main1400_b h3:after {margin: 5px auto;} } .inner_nav_wrap{height: 100px;box-shadow: 0 2px 5px rgba(0,0,0,.05);margin-bottom: 30px;position: relative; .inner_nav{height: inherit;} ul{height: inherit; li{width: 20%;float: left;height: inherit;text-align: center;.transition(); .img{width: 50px;height: 50px;overflow: hidden;margin: 10px auto 5px; img{} } p{color: #767474;letter-spacing:1px;font-size: 16px;} } li:hover{.cur} .cur{background: @mainColor; p{color: #fff;} .img{ img{margin-top: -50px;} } } } .company_nav{ li{ } } } @media (max-width:1000px) { .inner_nav_wrap{box-shadow: none;height: auto;} .inner_nav_wrap ul li{width:50%;height:80px;border: 1px solid #ccc;margin: 0 -1px -1px 0;} .inner_nav_wrap ul li .img{width: 30px;height: 30px; img{width: 30px;} } .inner_nav_wrap ul .cur .img img{margin-top: -30px;} .inner_nav_wrap ul{overflow: hidden;height: auto;padding: 1px 0;} } //产品列表页///////////////////////////////////// .product1{margin: .5rem 0; ul{ li{width: 33.3%;float: left;padding: 0 1.5%;margin-bottom: .5rem; .pic{height: 3.6rem;display: flex;align-items: center;justify-content:center;position: relative;padding: 10px; img{max-height: 100%;max-width: 100%;} .zhezhao{position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;opacity: 0;background: rgba(0,0,0,.6);.transition();display: flex;align-items: center;justify-content:center; h3{color: #fff;text-align: center; &:before{content: '';display: block;width: 200px;height: 1px;background: #fff;.transition();margin:0 auto 10px;} &:after{content: '';display: block;width: 200px;height: 1px;background: #fff;.transition();margin:10px auto 0;} } } } .neiye_pic_txt{position: relative;overflow: hidden;padding: 20px 20px 10px;border: 1px solid #f2f2f2; h3{border-bottom: 1px solid #f2f2f2;color: #333;.slh();margin-bottom: 10px;padding-bottom: 10px;} p{color: #777;background: url("../images/p_i2.png")no-repeat right center;} } } li:hover{ .pic{ .zhezhao{opacity: 1; h3{ &:after,&:before{width: 20px;} } } } .neiye_pic_txt{ p{background: url("../images/p_i1.png")no-repeat right center;color: @mainColor;} } } } } @media (max-width:768px ) { .product1 ul li{width: 50%;} } @media (max-width:450px ) { .product1 ul li{width: 100%;} } //公司简介内页//////////////////////////////// .company1{overflow: hidden;margin: .5rem 0; .company1_left{float: left;width:45%; article{min-height:2rem;overflow: hidden; p{font-size: 16px;line-height: 2;} } ul{display: flex;justify-content: space-around; li{width:100px; text-align: center; i{width:60px;height:60px;display: block;;margin: 20px auto 10px;} p{font-size: 20px;} } li:hover{ p{color: @mainColor;} } li:nth-of-type(1) i{background: url("../images/c_i1.png")no-repeat center; &:hover{background: url("../images/c_i1_1.png")no-repeat center;} } li:nth-of-type(2) i{background: url("../images/c_i2.png")no-repeat center; &:hover{background: url("../images/c_i2_1.png")no-repeat center;} } li:nth-of-type(3) i{background: url("../images/c_i3.png")no-repeat center; &:hover{background: url("../images/c_i3_1.png")no-repeat center;} } } } .company1_right{float:right;width:50%;overflow: hidden;height:4rem;margin-top: .2rem;position: relative; img{width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';} i{display: block;background: url("../images/i_v1.png")no-repeat;width:50px;height: 50px;opacity: .7;cursor: pointer; position: absolute;;left: 0;right: 0;top: 0;bottom: 0;margin:auto; &:hover{opacity: 1;} } } } @media (max-width:768px ) { .company1 .company1_left{width: 100%;} .company1 .company1_right{width: 100%;height:5rem;position: relative;; img{width: 100%;bottom: 0;position: absolute;} } } @media (max-width:450px ) { .company1 .company1_right{height: 3.2rem;} .company1 .company1_left ul li p{font-size: 16px;} .company1 .company1_left ul li i{width: 40px;height: 40px;background-size: 100%!important;} } .company1_dh{ h3{font-size:.32rem;padding:8px 0 20px;position: relative;margin-bottom: 20px;font-weight: bold;; &:after{content: '';position: absolute;width:80px;height:3px;background: @mainColor;left: 0; bottom: 0;} } } .tan_video{position: fixed;z-index: 3333;left: 0;right: 0;bottom: 0;top: 0;display: none; .tan_video_bg{position: absolute;background: rgba(0,0,0,.7);left: 0;right: 0;bottom: 0;top: 0;} .video-box{width:100%; max-width: 1000px;height: 560px;position: absolute;left: 0;right: 0;bottom: 0;top: 0;margin: auto; .video-js {width: 100%;height: 100%;position: absolute;top: 0;left: 0;} .btn_close{background: url("../images/video_close.png")no-repeat;width:25px;height: 25px;position: absolute;right:10px;top:10px;background-size: 100%;opacity: .5;cursor: pointer;} } } @media (max-width:1000px ) { .tan_video .video-box{height: 100%;} } .company2{max-width: 1920px; position: relative;overflow: hidden;margin: .6rem 0 0;padding: .5rem 0 ; .company_parallax{background: url("../images/c_bg.jpg")no-repeat center center;height:700px;position: absolute;top:-50px;left: 0;width: 100%;} .company1_dh{text-align: center;margin-bottom: .7rem; h3{color: #fff; &:after{right: 0;margin: auto;background: #fff;} } } .swiper-container{padding-bottom: .5rem;} .swiper-slide{ .pic{height: 3rem;overflow: hidden; img{width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';} } p{background: #fff;text-align: center;height: .5rem;line-height: .5rem;font-size:18px;.clamp(1);} } .swiper-pagination{ span{background: @mainColor;} } } @media (max-width:768px ) { .company2 .swiper-slide .pic{height: 2rem;} .company2 ul li{padding: 20px; article{ &:after{display: none;} h3{font-size: 18px;} p{font-size: 14px;} } } } //荣誉证书honor页面///////////////////////// .honor_list{overflow: hidden;margin:1rem 0; li{ border: 1px solid #dcdcdc;padding: 2px; float: left;width:19%;margin-right:1%;margin-bottom: .5rem;text-align: center;cursor:pointer; .img{height: 0; box-sizing: border-box;padding-bottom:50%;position: relative; img{width: 100%;height: 100%;object-fit: contain;font-family: 'contain-fit: contain;';position: absolute;left: 0;top: 0;} } h4{line-height: 2;.clamp(1)} } li:nth-of-type(5n){margin-right: 0;} } @media (max-width:768px) { .honor_list{ li{width:49%;margin-right: 2%;} li:nth-of-type(2n){margin-right: 0;} } } //新闻详情///////////////////////// .news_info_bg{background:#f9f9f9;padding: .5rem 0;} .news_info1{background: #fff;padding: 30px;overflow: hidden;; .news_info1_l{float: left;width: e("calc(100% - 340px)"); .news_title{text-align: center;margin:.1rem 0; h1{padding-bottom: .2rem;font-weight: bold;border-bottom: 2px solid @mainColor;margin-bottom: .2rem;} span{font-size: 14px;color:#707070;margin: 0 10px;} } .neirong_container{padding:.4rem 0;overflow: hidden; article{border-bottom: 1px solid #cccccc;min-height: 5rem; //span,p{text-indent: 0!important; line-height: 1.8!important;font-size: 14px!important;font-family:'微软雅黑'!important;} p{margin-top: 10px;} img{width:100%;} video{width: 100%;} table{width: 100%;border-collapse:separate;border-spacing: 0; .firstRow{background: #f0f0f0;} tr{height: 33px;line-height: 33px; td { text-align: center; border: 1px solid #cccccc; p{line-height: 33px!important;} img{display: inline-block;} } } } } .newsPage{font-family: 宋体;margin-top: .2rem; .page-a{margin: .15rem 0;} a{font-family: 宋体;} } .fanhui{width:130px;height:40px;line-height: 40px;.border-radius(5px);color: #fff; float: right;background: #184f90;text-align: center;margin-top: .3rem;} } } .news_info1_r{width:300px;float: right; .news_info1_r_t{color: #fff;height: 46px;line-height: 46px;padding-left: 30px;background: @mainColor;} section{background: #f9f9f9;margin-top: 10px;padding-bottom: 1px; header{position: relative;overflow: hidden; .img{position: absolute;left: 0;top: 0;width: 100%; height: 200px; background: #000;opacity: 0;.transition();overflow: hidden; img{width: 100%;opacity: .5;;height: 100%;object-fit: cover;} } aside{padding:20px 20px 0;position: relative;;z-index: 2;height: 178px; .time{ time{font-size: 20px;} time+time{font-size:14px;margin-left: 5px;} } h4{margin: 10px 0;font-size:16px;.slh();} article{ p{color: #a6a6a6;line-height:1.5;height: 42px;overflow: hidden;} } i{width: 100%;height: 1px;background: #ccc;display: block;margin-top:40px;} } } a{display: block;;color: #a6a6a6;margin:10px 0 10px 20px;height: 36px;line-height: 36px; position: relative;overflow: hidden;; &:after{content: '';width:36px;height: 36px;position: absolute;right: -50px;border: 1px solid rgb(196, 196, 196);.border-radius(50%);.transition();background: url("../images/ni_i1.png")no-repeat center center;background-size: 30px;} } } section:hover{ header { .img {opacity: 1} aside{ .time,h4,article p{color: #fff;} } } a{color: @mainColor; &:after{right: 20px;} } } } } @media (max-width:900px) { .news_info1 .news_info1_l{width: 100%;} .news_info1 .news_info1_r{display: none;} } //售后服务//////////////////////////////////// h6.service_dh{ position: relative;display: block;color: #666666;padding-left:.3rem;line-height: 1.5;font-weight: bold;; &:before{content: "";position: absolute;left: 0;width: 6px;height:80%;top:10%; background: #005BAC;} } .service_p{color: #666666;margin-top: .4rem;text-align: justify;line-height: 1.8;} .service1{padding: .7rem 0;} .service2_bg{background: #F2F3F5;padding: .7rem 0;overflow: hidden;; .service2{float: left;width: 46%;} .service2_img{width: 54%;float: right; img{width: 100%;} } } @media (max-width:900px ) { .service1{padding: .3rem 0;} .service_p{margin-top: .2rem;} .service2_bg{padding: .4rem 0;} } @media (max-width:768px ) { .service2_bg .service2{width: 100%;} .service2_bg .service2_img{width: 100%;margin-top: .4rem;} h6.service_dh:before{width:4px;} } @media (max-width:500px ) { h6.service_dh{font-size: 18px;} } ///////联系我们/////////////////////////// .contact1{height: 640px;background: #e8e8e8; .contact1_left{width:46%;float: left;height: 100%; #gaodeMap{width: 100%;height: 100%; .amap-logo{display: none!important;} } } .contact1_right{width: 54%;float: right; .contact1_right_top{padding: 30px 67px;height:358px;box-sizing: border-box; h1{color:@mainColor;;font-weight: bold;margin-bottom: 5px;} p{color:@mainColor;} i{background:#828282;width: 25px;height: 1px; margin: 35px 0 40px;display: block;} li{font-size: 16px;margin-bottom: 20px; p{color: #333} span{color: #888888;} } } .contact1_right_bottom{background:@mainColor;;height:282px;padding: 70px;color: #fff;box-sizing: border-box; p{margin: 10px 0;font-weight: bold;} } } } @media (max-width:900px) { .contact1 .contact1_right .contact1_right_top{padding: 15px 33px;} } @media (max-width:640px) { .contact1{height: auto;overflow: hidden;; .contact1_left{width: 100%;height: 300px;} .contact1_right{width: 100%; .contact1_right_top{height: auto;; li{font-size: 14px;} } .contact1_right_bottom{height: auto;padding: 20px 33px;} } } .contact1 .contact1_right .contact1_right_top i{margin: 14px 0 20px;} } //产品列表页///////////////////////////////////// .neiye_prodcut{background:#e9e9e9;margin-top: -0.59rem;padding-top: .3rem; ul{overflow: hidden; li{width:23%;margin:1%;float: left;background: #fff; .neiye_pic{height:3rem;padding: .2rem; display: flex;align-items: center;justify-content: center;overflow: hidden; img{align-items: center;.transition();max-width: 100%;max-height: 100%;} } .neiye_pic_txt{height:1.5rem;border-top:1px solid #e9e9e9;padding: .2rem;position: relative; h2{margin-bottom: .1rem;.transition();} p{line-height:1.8;height: 75px;overflow: hidden;} i{display: block;width: .1rem;height: .1rem;position: absolute;right: 0;bottom: 0;background: @mainColor;.transition();} } } li:hover{ .neiye_pic{ img{.scale(1.1);} } .neiye_pic_txt{ h2{color: @mainColor;} i{width: 100%;height: 1px;} } } } } @media (max-width: 1300px) { .neiye_prodcut ul li .neiye_pic_txt{height: 2rem; p{height: 50px;} } } @media (max-width: 1024px) { .neiye_prodcut ul li{width: 31.3%;} } @media (max-width: 768px) { .neiye_prodcut ul li{width: 48%; .neiye_pic_txt p{font-size: 12px;height: 40px;} } } //////////////产品详情页/////////////////////////////////// .product_info1_left{margin-top: 40px;width: 45%;float: left;overflow: hidden;; .product_info1_left_t{height:520px;border: 1px solid #bfbfbf;display: flex;align-items: center;justify-content:center;box-sizing: border-box;;padding: 10px;overflow: hidden;; .gallery-top{height: 100%;width: 100%; .swiper-slide{height: 100%;display: flex;align-items: center;justify-content:center; img{max-width: 100%;max-height: 100%;} } .arrow-left {background: url(../images/index_tab_l.png) no-repeat left top;position: absolute;left: 10px;top: 50%;margin-top: -25px;width: 28px;height: 51px;z-index: 10; } .arrow-right {background: url(../images/index_tab_r.png) no-repeat left bottom;position: absolute;right: 10px;top: 50%;margin-top: -25px;width: 28px;height: 51px;z-index: 10; } } } .product_info1_left_b{margin-top: 30px;position: relative; .gallery-thumbs{width: e("calc(100% - 100px)");margin: 0 auto; .swiper-slide{border: 1px solid #bfbfbf;height:100px;display: flex;align-items: center;justify-content:center;cursor: pointer; img{max-width: 100%;max-height: 100%;} } .active-nav{border: 1px solid @mainColor;} } .arrow-left{position: absolute;left:0;top: 0;width:30px;height: 100%;z-index: 10;background: #ccc url(../images/feel3.png) no-repeat center; } .arrow-right {position: absolute;right: 0;top: 0;;width:30px;height: 100%;z-index: 10;background: #ccc url(../images/feel4.png) no-repeat center; } } } .product_info1_right{width: 45%;float: right;padding-top: 60px; h1{letter-spacing: 4px;color: @mainColor;} article{margin: 40px 0 0; p{line-height: 2;} .p1{background: url("../images/pi_i6.jpg")no-repeat left center;padding-left: 40px;} .p2{background: url("../images/pi_i7.jpg")no-repeat left center;padding-left: 40px;} } } @media (max-width: 1200px) { .product_info1_left{width: 55%;} .product_info1_right{width: 40%;} } @media (max-width: 800px) { .product_info1_left{width: 100%;} .product_info1_right{width: 100%;} } @media (max-width: 640px) { .product_info1_right{padding: 20px 0; h1{letter-spacing: 0;} } .product_info1_right article{margin-top: 20px;} .product_info1_left .product_info1_left_b{ .slick-arrow{top: 12px;} .ul2 li{height: 70px;} .gallery-thumbs{width: e("calc(100% - 50px)"); .swiper-slide{height: 50px;padding: 0;} } .gallery-top{ .arrow-left{width: 20px;left: 0;background-size: 100%;} .arrow-right{width: 20px;right: 0;background-size: 100%;} } .arrow-left{width:20px;} .arrow-right{width:20px;} } .product_info1_left .product_info1_left_t{height: 4rem;} } @media (max-width: 400px) { .product_info1_left .product_info1_left_t{height:3rem;} } .product_info2{margin: 30px 0 10px;padding-top: 30px; .product_info2_dh{padding: 0 20px;height: 50px;line-height: 50px;color: #fff;background: @mainColor;display: inline-block; h3{font-size: 18px;} } article{min-height: 300px;border: 1px solid #bfbfbf;padding:20px;margin: 20px 0; span{font-size: inherit;} img{max-width: 100%;} table{width: 100%!important; td{border: 1px solid #ccc;padding: 5px; text-align: center;} } } } @media (max-width: 640px) { .product_info2{margin:0;} .product_info2 .product_info2_dh{height: 40px;line-height: 40px;width: 100%;text-align: left;padding-left: 20px;} .product_info2 article{min-height:0;} } .product_info_fanhui{margin-top: 20px;display: inline-block;padding: 0 20px; height: 26px;color: #fff;background: @mainColor;text-align: center;line-height: 26px;margin-bottom: 30px;cursor: pointer;} //////////////产品详情页/////////////////////////////////// .info1{display: flex; .info1_l{width: 50%; .gallery-top{ .img{height:0;padding-bottom:90%; overflow: hidden;position: relative;cursor: pointer; img{width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';.transition();position: absolute;} i{position: absolute;width:50px;height:50px;background: url(../images/icon-zoom.png) center center no-repeat @mainColor;top:.2rem;right:.2rem} } .img:hover{ img{.scale(1.1)} } } .product_info1_left_b{margin-top: 10px; .swiper-slide{border: 1px solid #d5d5d5; .img{position: relative;overflow: hidden;cursor: pointer;height: 0;padding-bottom: 100%; img{position: absolute; width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';} } } } } .info1_r{padding-left:.5rem;width: 50%; h6{font-size:.22rem;color: #f00331;display: inline-block;line-height: 1; &:before{margin-right:.1rem;content: '';width: .8rem;height: 2px;display: inline-block;vertical-align: middle;background:@mainColor;} } h1{font-size:.3rem;color: #181818;line-height: 1.5;margin-top: .15rem;} article{margin:.4rem 0 .7rem;font-size: 18px;color: #181818;line-height: 1.6;} ul{ li{display: inline-block; margin-right:.1rem;width:.45rem;height:.45rem;line-height:.45rem;border-radius: 2px;background: #eee;font-size: 18px;color: #000;-webkit-transition: .5s;-moz-transition: .5s;transition: .5s;text-align: center; &:hover{color: #fff;background:@mainColor;} } } .a1{ ;padding:.1rem .24rem;border-radius: 2px;background: @mainColor;color: #fff;font-size: 15px;.transition();display: inline-block;margin-top: .5rem; &:hover{background: @mainColor;} } .share{ a{display: block;height: 100%; i{font-size: .24rem;} } } } } @media (max-width:1000px ) { .info_kh{width: 100%;} } @media (max-width:640px ) { .info1{flex-wrap: wrap; .info1_l{width: 100%;} .info1_r{width: 100%;padding-left: 0; h6{;margin-top: .3rem;} } } .info1 .info1_r article{font-size: 16px;} .info1 .info1_r .a1{padding: .15rem .4rem;} } .info2_dh{margin: .5rem 0; h3{;padding:.1rem .2rem;background:@mainColor;color: #fff;font-size:18px;display: inline-block;position: relative; &:after{content: '';border-top: 9px solid @mainColor;border-left: 7px solid transparent;border-right: 7px solid transparent;position: absolute;top: 100%;left: 50%;.translateX(-50%);} } } // 发展内页////////////////////////////////////////// .development_list{padding-left:2rem;padding-bottom: 1rem; li{padding: 40px 75px 30px 66px;border-left: 1px solid @mainColor;position: relative; .d_year{position: absolute;left: -150px;top: 31px;font-size: 40px;color: @mainColor;} .i_circle{display: block;width: 11px;height: 11px;background: #fff url(../images/icon_02.png) no-repeat;position: absolute;left: -6px;top:50px;} .i_jiantou{display: block;width: 16px;height: 7px;background: url(../images/icon_04.png) no-repeat;position: absolute;left: -9px;top: -2px; } .d_detail{font-size: 16px;color: #000000;line-height: 32px;} } } @media (max-width: 1200px) { .development_list{padding-left: 3rem;} } @media (max-width: 900px) { .development_list li{padding: 20px 17px 15px 30px; .i_circle{top: 31px;} .d_year{top: 10px;} } } @media (max-width: 600px) { .development_list{padding-left:2rem; li{ .d_year{left: -1.8rem;} } } } ////////新闻列表/////////////////// .news2{ margin-top: .5rem; ul{ li{box-shadow: 0px 8px 9px 0px rgba(0, 0, 0, 0.17);position: relative;margin-bottom: .4rem; a{display: flex;justify-content: space-between;flex-direction: row-reverse;padding: 0 0 0 1.5rem;} .img{width:35%;overflow: hidden; img{width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';} } aside{flex: 1;margin-right: .4rem;padding-bottom: .2rem; h3{line-height: 3;color:@mainColor;.transition();.clamp(1);font-size: .3rem;} article{overflow: hidden;margin-bottom:.2rem;} p{.clamp(4); color: #373737;font-size: 16px;line-height: 1.6;.transition();text-indent: 2em;} .time{width: 1.2rem;position: absolute;color: #fff;text-align: right;padding: 15px 9px 15px 0;background:@mainColor;top: 0;left: 0;font-size: .3rem;.transition(); time{display: block;} time+time{font-size:.18rem;} } i{background:@mainColor;width:1.4rem;height: .5rem;line-height:.5rem;text-align: center;color: #fff;display: block;.border-radius(25px);float: right;margin-right: .3rem;font-size: 16px;.transition();} } } li:hover{ aside{ .time{background: #fff;color: @mainColor;} p,h3{color: #fff;} i{background: #fff;color:@mainColor;} } } } } @media (max-width:900px ) { .news2 ul li a{display: block;padding-left: 0; .img{width: 100%;height: 2.8rem;} aside{padding: 3%;overflow: hidden; h3{line-height: 2;font-size: .35rem;} i{width: 2rem;height: .6rem;line-height: .6rem;font-size: 13px;margin-right: 0;} p{.clamp(2);font-size: 14px;} } } } //荣誉证书honor页面///////////////////////// .certificate1_dh{margin-bottom: 40px; .en{text-transform: uppercase;color: rgba(153,153,153,0.6);font-size: 18px;} .t1{font-size:36px;color: #000;font-weight: bold;margin: 10px 0;} i{display: block;width: 16px;height: 16px;background: fade(@mainColor,30%);.border-radius(50%);position: relative;; &:after{content: '';position: absolute;margin-left:11px;width: 16px;height: 16px;.border-radius(50%);background: @mainColor;} } } @media (max-width:640px ) { .certificate1_dh{margin-bottom: 20px; .t1{font-size:20px;margin: 5px 0;} .en{font-size: 14px;} } .certificate1_dh .com_a{width: 40px;height: 40px;background-size: 10px;} .certificate1_dh i:after{width: 12px;height: 12px;} .certificate1_dh i{width: 12px;height: 12px;} } .certificate1{;overflow: hidden;margin: .5rem 0; .certificate1_nr{overflow: hidden;; li{background: #fff;width: 30%;float: left;margin-right:5%;margin-bottom: 5%; .img{height:4rem;padding:.5rem; img{width: 100%;height: 100%;object-fit: contain;font-family: 'object-fit: contain;';} } .txt{display: flex;align-items: center;height: 90px;border-top: 2px solid #eeeeee;width: 100%;padding: 0 15px; p{text-align: center;width: 100%;.clamp(2);} } } li:nth-of-type(3n){margin-right: 0;} li:hover{box-shadow: 0 0 16px rgba(0,0,0,.22); .img{background: @mainColor;} } } } @media (max-width:900px ) { .certificate1 .certificate1_nr li .img{padding: .2rem;height: 3rem;} .certificate1 .certificate1_nr li{width: 48%;margin: 1% !important;} } @media (max-width:640px ) { .certificate1{margin:0} .certificate1 .certificate1_nr li .txt{border-top: 1px solid #eeeeee;padding: 10px;height:55px;} } //荣誉证书honor页面///////////////////////// .factory1{overflow: hidden;margin-top: .4rem; li{float: left;width:24%;margin-right: 1.3%;margin-bottom: .3rem;text-align: center;cursor:pointer; .img{border: 1px solid #dcdcdc;padding: 6px;height: 2.6rem;box-sizing: border-box;text-align: center;display: flex;align-items: center;justify-content: center; img{width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';} } h4{line-height: 2;.clamp(1)} } li:nth-of-type(4n){margin-right: 0;} } @media (max-width:768px) { .factory1{ li{width:49%;margin-right: 2%;} li:nth-of-type(2n){margin-right: 0;} } } .dev_neiye_bg{padding-top: 1px;padding-bottom: .7rem;margin:.5rem 0; .dev_slick2{ .slick-arrow{width:.4rem;height:.6rem;font-size: 0;position: absolute;} .slick-prev{background: #fff url(../images/icon_le.png)no-repeat center center;left:0;.transition(); &:hover{background: @mainColor url(../images/icon_le1.png)no-repeat center center;} } .slick-next{background: #fff url(../images/icon_ri.png)no-repeat center center;right: 0;top: 0; &:hover{background: @mainColor url(../images/icon_ri1.png)no-repeat center center;} } .dev_slick2_ul{ .slick-list{width: e("calc(100% - .9rem)");margin-left:.45rem;background: #fff;height:.6rem; } li{text-align: center;line-height:.6rem;font-size: .3rem;.transition();cursor: pointer;} li:hover{.slick_active} .slick_active{background: @mainColor;color: #fff;} } } .dev_slick_txt{margin-top: .5rem; .ultop{ section{background: #fff; h3{color: @mainColor;} .ulbot_hk article{ p{color: #333;} p:nth-of-type(1){background: url("../images/i47.png")no-repeat left 15px;} } } } section{min-height: 124px;border-bottom: 1px solid #dfdfdf;padding: .2rem .2rem .2rem .7rem;display: flex; h3{font-size: 30px;float: left;width: 15%;display: flex;align-items: center} .ulbot_hk{display:flex;padding-left: 10px;box-sizing: border-box;width: 80%;align-items: center; article{display:table-cell;vertical-align:middle; p{font-size: 22px;color: #888; } p:nth-of-type(1){background: url("../images/i49.png")no-repeat left 15px;padding-left: 20px;} } } } section:nth-of-type(2n){background: #fff;} section:hover{ h3{color: @mainColor;} .ulbot_hk article{ p{color: #333;} p:nth-of-type(1){background: url("../images/i47.png")no-repeat left 15px;} } } } } @media (max-width:1200px) { .dev_neiye_bg .dev_slick2 .dev_slick2_ul li,.dev_neiye_bg .dev_slick_txt section h3{font-size: 24px;} .dev_neiye_bg .dev_slick_txt section .ulbot_hk article p{font-size: 16px;} .dev_neiye_bg .dev_slick_txt section .ulbot_hk article p:nth-of-type(1){background-position-y: 9px!important;} } @media (max-width:900px) { .dev_neiye_bg .dev_slick_txt section{ h3{font-size: 18px;} .ulbot_hk{height: auto;width: 100%;padding-left: 0;} } .dev_neiye_bg .dev_slick_txt section .ulbot_hk article p:nth-of-type(1){background-size: 5px 5px!important;background-position-y: 12px!important;padding-left: 10px;} } @media (max-width:640px) { .dev_neiye_bg .dev_slick2 .dev_slick2_ul li, .dev_neiye_bg .dev_slick_txt section h3{font-size: 18px;} .dev_neiye_bg .dev_slick_txt section{display: block;padding: .2rem; h3{width: 100%} .ulbot_hk{width: 100%;} } .dev_neiye_bg .dev_slick_txt section{min-height: auto;} } .picture{ float:left; width:193px; height:173px; overflow:hidden; display:inline;position: relative; .picture1 a{ width: 193px; height:173px; text-align:center; vertical-align:middle;background-color:#FFFFFF; border:1px solid #cccccc; overflow:hidden; display:table-cell; *display: block; img{ vertical-align:middle; border:0;} } .picture2{line-height: 20px; height:20px; text-align:center; } } .culture1{ .culture { position: relative; width: 100%; height: 750px; padding-top: 90px; } .culture .bg {z-index: -1; left: 0; bottom: 0; position: absolute; } #svg {position: absolute;width: 320px;height: 320px;left: 50%;top:47%;margin-left: -160px;margin-top: -160px;background:#ec9399;border-radius: 50%;overflow: hidden;text-align: center; } .acitve_cir { background: @mainColor; width: 320px; height: 320px; position: absolute; border-radius: 320px 0 0 0; left: -50%; top: -50%; transform: rotateZ(45deg); -webkit-transform: rotateZ(45deg); transform-origin: right bottom; } .cir_part { position: absolute; left: 50%; bottom: 50%; } .cir_part:hover { cursor: pointer; } #svg1 { transform: rotateZ(60deg); -webkit-transform: rotateZ(60deg); transform-origin: left bottom; z-index: 1; } #svg2 { transform: rotateZ(120deg); -webkit-transform: rotateZ(120deg); transform-origin: left bottom; z-index: 2; } #svg3 { transform: rotateZ(180deg); -webkit-transform: rotateZ(180deg); transform-origin: left bottom; z-index: 3; } #svg4 { transform: rotateZ(240deg); -webkit-transform: rotateZ(240deg); transform-origin: left bottom; z-index: 4; } #svg5 { transform: rotateZ(300deg); -webkit-transform: rotateZ(300deg); transform-origin: left bottom; z-index: 5; } #svg6 { transform: rotateZ(360deg); -webkit-transform: rotateZ(360deg); transform-origin: left bottom; z-index: 6; } #mid_cir {width: 200px;height: 200px;position: absolute;left: 50%;top: 50%;transform: translate(-50%, -50%);-webkit-transform: translate(-50%, -50%); } .culture .left span, .culture .right span { font-size: 26px; font-family: 'Microsoft YaHei'; font-weight: bold; color: @mainColor; line-height: 36px; } .culture .left i, .culture .right i { font-size: 26px; font-weight: 400; color: @mainColor; } .culture .left i { margin-right: 10px; } .culture .right i { margin-left: 10px; } .culture .right > div { text-align: right; position: relative; } .culture .left p, .culture .right p {width:4rem; font-size: 18px; font-family: 'Microsoft YaHei'; font-weight: 400; color: rgba(51, 51, 51, 1); line-height: 36px; height: 36px; } .line { width: 3.9rem; height: 1px; background: #cccccc; margin-top: 15px; margin-bottom: 15px; position: relative; overflow: hidden; } .line .line_blue { position: absolute; width: 0; height: 1px; background: @mainColor; left: 0; top: 0; transition: width 1s ease, right 1s ease; } .right .line_blue { width:3.9rem; left: unset; right: -3.9rem; } .culture .left > div:hover { cursor: pointer; } .culture .left > div:nth-child(1) { margin-left: 1.2rem; } .culture .box:nth-child(1) { transform: translateX(-1.2rem); -webkit-transform: translateX(-1.2rem); } .culture .left > div:nth-child(2), .culture .right > div:nth-child(2) { margin-top: 100px; } .culture .left > div:nth-child(3){ margin-top: 117px; } .culture .right > div:nth-child(3){margin-top: 110px;} .culture .left > div:nth-child(3) { margin-left: 1.2rem; } .culture .right > div:nth-child(3) { transform: translateX(-1rem); -webkit-transform: translateX(-1rem); } .culture .circle { width: 7px; height: 7px; border-radius: 7px; position: absolute; right: 0; top: -3.5px; background: #cccccc; } .culture .right .circle { right: unset; left: 0; } .line_box { position: relative; width: 3.9rem; } .dashed { width: 1rem; height: 0; border-bottom: 1px dashed #cccccc; position: absolute; right: -100px; top: 0; } .culture .right .dashed { right: unset; left: -100px; } .dashed1 { transform: translate(-20px, 33px) rotateZ(45deg); -webkit-transform: translate(-20px, 33px) rotateZ(45deg); } .dashed3 { transform: translate(-14px, -39px) rotateZ(-45deg); -webkit-transform: translate(-14px, -39px) rotateZ(-45deg); } .dashed4 { transform: translate(19px, 33px) rotateZ(135deg); -webkit-transform: translate(19px, 33px) rotateZ(135deg); } .dashed5 { transform: translate(0, 0) rotateZ(0deg); -webkit-transform: translate(0, 0) rotateZ(0deg); } .dashed5 .dsd_blu { left: unset; right: 0; } .dashed6 { transform: translate(19px, -34px) rotateZ(-135deg); -webkit-transform: translate(19px, -34px) rotateZ(-135deg); } .dsd_blu { position: absolute; height: 0; top: 0; left: 0; width: 0; border-bottom: 1px dashed @mainColor; transition: width 0.7s ease; } .culture .left > div:hover .line_blue { width: 3.9rem; } .culture .left > div:hover .circle, .culture .right > div:hover .circle { transition-delay: 0.7s; background: @mainColor !important; } .culture .left > div:hover .dsd_blu { transition-delay: 0.7s; width: 1rem; } .culture .right > div:hover .dsd_blu { transition-delay: 0.7s; width: 1rem; } .culture .right > div:hover { cursor: pointer; } .culture .right > div:hover .line_blue { right: 0; } .culture .text { width:200px;margin: 0 auto; transform: translateY(-197px); -webkit-transform: translateY(-197px); position: relative; text-align: center; } .culture .text span { font-size: 22px; font-family: 'Microsoft YaHei'; font-weight: bold; color:@mainColor; display: inline-block; transform: translateY(-10px); -webkit-transform: translateY(-10px); position: relative; } .culture .text img {width:168px;display: inline-block;margin-bottom: .1rem;} .st0 { fill-rule: evenodd; clip-rule: evenodd; fill:@mainColor; } #svg .iconfont { display: none; } .culture #svg .text p {font-size: 16px; display: none; } .growth3 { height: 981px; overflow: hidden; margin-bottom: 0 !important; } .growth3 .container { float: none !important; margin-right: auto !important; display: block; } .growth3 .bg { bottom: -200px !important; } #turnover_bar { width: 100%; height: auto; } #turnover_bar .turn_title { width: 26px; height: 100%; float: left; position: relative; } #turnover_bar .turn_title span { position: absolute; } #turnover_bar .turn_title p { position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%); } .blue_bar { width: 100%; position: absolute; left: 0; bottom: 0; height: 0; background: #1378C4; } } @media (max-width: 1000px) { .textRightL,.textLeftL{display: none;} .culture1 .culture{height: 400px;} .culture1 .culture #svg .text p{display: block;} } .title{background:#eee; padding-left:10px;margin-bottom: 20px; span,a{color: #333;} } ///ntitle3的样式////////////////////// .title3{margin-bottom: 20px; span,a{color: #333;} } .title3_top{ h2{font-size: 24px;color: #000;} p{margin-top: 5px;} .title_tel{background: url("../images/title_tel.png")no-repeat left center; float: right;padding-left: 50px; span{font-size:24px;font-style: italic;} } } /////////////////////////////////////////////////////////////////////////////// .container_left4{width: 220px;float: left;; h3{font-size: 16px; height: 60px; line-height: 60px; background: #666666; padding: 0 20px; color: #FFF; text-shadow: #333 2px 2px 2px;} .class_nr{ ul{ li{margin-bottom: 1px; a{ display: block;background: #EEE;padding: 10px 20px;.transition();} } li:hover a{background:@qt6;color: #fff;} .cura{background:@qt6;color: #fff;} } } } .neiye_banner{height: 300px;max-width: 100%;display: none; li{height: 100%;} } .container_left5{width: 230px;margin-bottom: 30px;float: left; h3{} .class_nr{ ul{margin-top: 15px;margin-bottom: 27px; li{ a{display: block;border-bottom: 1px solid #e1e1e1;line-height: 41px;margin-bottom: 3px; margin-top: 0;padding-left:46px; &::before{content: ">";width: 5px;height: 8px; float: left;display:block;margin-left: -16px;} } } li:hover{background:@qt6;color: #fff; a{color: #fff;} } .cura{background:@qt6;color: #fff; a{color: #fff;} } } } .sider_fenlei{margin-top: 16px; li{display: inline-block;margin-right: 3px;margin-top: 12px; a{color: #a3a3a3;display: block; text-transform: uppercase;border: 1px solid #e2e2e2; padding: 10px 22px;.transition();} } li:hover a{background: @qt6;color: #fff;} } .sider_news{margin-top: 27px;margin-bottom: 28px; li{color: #999;margin-bottom: 16px; a{display: block;color: #37474f;border-bottom: 1px solid #e1e1e1;padding-bottom: 17px;margin-top: 12px;.transition(); time{color: #999;line-height: 20px;margin-bottom: 5px;font-size: 12px;} } } li:hover a{color: @qt6;} } } .com_sider{position: relative;padding-bottom: 10px;font-size: 18px; &::after{content: "";width: 35px;height: 2px;background: #d68b37; position: absolute; bottom: -1px;left: 0;} } .neiye_article{line-height: 24px;padding: 30px; h2{font-size: 18px;margin-bottom: 10px; small{font-size: 12px;color: #999;} } } //sidebar3横向内页导航样式 .sidebar3{ .class_nr{padding-bottom:5px;border-bottom: 1px solid #ccc; ul{background: #f7f7f7; height: 68px;width:@b_w; li{display: inline-block;line-height: 68px;width: 145px;text-align: center;.transition(); &:hover{background: @qt6; a{color: #fff;} } } .cura{background: @qt6;display: block;color: #fff;} } } } .search{ form{margin: 7px 0 0 0;} .text{color: #a0a0a0;background: #dadada;padding: 0;margin: 0;width: 189px!important;height: 22px!important;border: none;color: #a0a0a0;text-indent: 5px;} .anan{background: #020202;margin: 0;padding: 0;width: 44px!important;height: 22px!important;color: #fff;border: none;} } .message{width: 279px;border-bottom: 1px dashed #929292;padding: 11px 0; .message_title{min-height: 17px; line-height: 17px;color: #666666; img{float: left;margin-right: 6px;} } .message_text{margin-top: 10px;line-height: 23px;color: #666666; img{float: left;margin-right: 6px;margin-top: 2px;} } } .newsList { width:205px; margin:0 auto; padding-top:5px; .newsList_li { background: url('../images/n.jpg') no-repeat 10px 50%; border-bottom: 1px dashed #7d7d7d; line-height:33px; height: 33px; padding-left: 20px; a{color: #00315a;} } } .productsList { width:205px; margin:0 auto; padding-top:5px; li{background: url('../images/f.jpg') no-repeat 10px 50%; border-bottom: 1px dashed #7d7d7d; line-height:33px; height: 33px; padding-left: 30px; a{color: #00315a;} } } .newsList1{line-height: 30px; li{border-bottom: 1px dotted #deabab; a{background:url('../images/news_tb2.jpg')no-repeat center left;text-indent: 10px;display: block;} } } #Mleft{float: left;} #Mright{margin:0 0px 0 auto;width:949px;float: right;min-height: 300px;} .container_left{width: 220px;float: left;; .class_neiye{background:@hoverColor;padding-top: 5px;margin-bottom: 20px; h3{text-align:center;color: #fff;font-size: 24px;padding:10px 0 10px 0;border-bottom: 1px solid #fff; -webkit-font-smoothing: antialiased; /*chrome、safari*/ -moz-osx-font-smoothing: grayscale;/*firefox*/ } .class_nr{padding: 5px 5px 15px 5px; li{line-height: 40px;text-align: center; .transition(all .7s); a{color: #fff;font-size: 16px;} &:hover{background:@thirdColor;border-bottom: none;padding-left: 5px;} } img{border-top: 1px solid #fff;padding-top: 10px;} h4{text-align: center;color: #fff;font-size: 20px;margin: 10px 0 10px 0;} .contact_p{color: #fff;text-align: center;font-size: 14px;} } } } /********消除浮动
*********/ .clear2{background: none;border: 0;clear: both;display: block;float: none;font-size: 0;margin: 0;padding: 0;overflow: hidden;visibility: hidden;width: 0;height: 0; &:after {content: ".";display:block;height: 0;clear: both;visibility:hidden;} } .news-btn-1 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .news-btn-1:before {.transition(all .6s);content: '';width: 0;height: 0;.rotate(360deg);border-style: solid;border-width: 0 0 0 0;border-color:@qt6 transparent transparent transparent;position: absolute;top: 0;left: 0;z-index: -1;} .news-btn-1:hover:before {border-width: 1330px 1330px 0 0;} .neiye_news_list{padding-left: 20px;margin-right: -30px;padding-top: 20px; li{width: 180px;float: left;padding: 5px 10px 10px 10px;height: 220px;border: 1px solid #ccc;margin-right: 30px;margin-bottom: 20px;text-align: center; img{border:1px solid #ccc; vertical-align:middle;} .a1{text-align: center;margin-top: 10px;border-bottom: 1px solid #ccc;padding-bottom: 3px; a:hover{color: #00c9ff;} } } } .page{clear: both;margin-top: 10px;text-align: center;font-size: 12px;letter-spacing: 0px;padding-bottom:30px; #page_num{width: 50px;} a{display:inline-block;height:22px;line-height:20px;border:1px solid #DBDBDB;padding:0 2px 0;color:#000; &:hover{ background:#404040;border:none;color:#fff;;height:18px;line-height:18px; } } select{vertical-align: top;height:22px;} } #page_num{border: 1px solid #ccc;} //详情页上一条和下一条 .pn{ font-size: 14px; margin:25px 0; position: relative; li{margin-bottom: .1rem; a{display: block;text-decoration: none;color:#383737; .slh(); &:hover{color:@mainColor;} i{float: left;} span{bottom: 1px;margin: 0 10px;.slh;display: block;} } } } input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color: #fff; } input:-moz-placeholder, textarea:-moz-placeholder { color: #fff; } input:-ms-input-placeholder, textarea:-ms-input-placeholder { color: #fff; } //图片点击放大取消和自己的冲突样式 #spotlight{ .footer{margin: 0;background: none;} .title{background: none;padding-left: 0;margin: 0;} .header{ div{margin-right:10px;} } } .footer{background: #1b1b1b;color: #fff;padding-top: .6rem; .footer1{overflow: hidden;;padding-bottom: .6rem;border-bottom: 1px solid #393939; .footer1_1{float: left; img{} } .footer1_2{float: right;width: 7rem; a{float: left;margin-right: .4rem;font-size: 18px;} a:last-child{margin-right: 0;} } } .footer2{margin: .8rem 0;overflow: hidden;; .footer2_1{width: e("calc(100% - 8rem)");float: left; ul{overflow: hidden;; li{width: 45%;float: left; h6{font-size: .24rem;} p{font-size: 18px;margin: .1rem 0 0;height: .75rem;} img{width: 200px;height: auto;} } li:nth-of-type(2){float: right;} } } .footer2_2{float: right;width: 7rem; form{ li{margin-bottom: .2rem; input{width: 100%;border-bottom: 1px solid #fff;font-size: 18px;padding: .1rem 0;} textarea{width: 100%;border-bottom: 1px solid #fff;font-size: 18px;padding: .1rem 0;} } .li1{width: 31%;float: left;margin-right: 3.5%; img{height:45px;vertical-align: bottom;} } .li1:nth-of-type(3),.li1:last-child{margin-right:0;} #submit{color: #fff;border-bottom: none;width: 1.5rem;float: right;background:@mainColor url("../images/i15.png")80% center no-repeat;text-align: left;padding-left: .3rem;} } } } } .ffff{text-align: center;} @media (max-width:1100px ) { .footer .footer1 .footer1_1{width: 30%; img{width: 100%;} } .footer .footer1 .footer1_2{width:56%;} } @media (max-width:1000px ) { .footer .footer1 .footer1_2{display: none;} .footer .footer2 .footer2_1{width: 100%;} .footer .footer2 .footer2_2{display: none;} } @media (max-width:640px ) { .footer .footer2 .footer2_1 ul li img{width:60%;} .footer .footer2 .footer2_1 ul li p{font-size: 16px;} .footer .footer1 .footer1_1{width: 3rem;} .footer .footer1{padding-bottom: .2rem;} } @media (max-width: 440px) { .footer .footer2 .footer2_1 ul li p{height: .9rem;} .footer .footer2{margin: .4rem 0;} .footer .footer2 .footer2_1 ul li p{font-size: 14px;} } /////////////////////////////////////////人才招聘///////////////////////////////// .job{overflow: hidden;} .job_tab_dh{height: 60px;line-height: 60px; li{width: 25%;float: left;background: #000000;text-indent:5%;color: #fff;font-weight: bold;} } .job_tab_nr{border: 1px solid #ccc; li{ .nei_rong{ background: #fff;line-height: 60px;height: 60px;cursor: pointer; p{width: 25%;float: left;text-indent: 5%;.slh; i{float: right;margin-right: 30px;} } } section{text-indent: 5%;padding-top: 2%;display: none;background: #e9e9e9;} } li+li{border-top:1px solid #ccc;} } @media (max-width:840px) { .job_tab_dh li{text-indent: 1em;} .job_tab_nr li .nei_rong p{text-indent: 1em;} } @media (max-width:600px) { .job_tab_dh li{width: 33.3%;} .job_tab_dh li:nth-of-type(3){display: none;} .job_tab_nr li .nei_rong p:nth-of-type(3){display: none;} .job_tab_nr li .nei_rong p{width: 33.3%;} .job_tab_nr li .nei_rong,.job_tab_dh{height: 40px;line-height: 40px;} } .job_contact{background: #ffffff;margin-bottom: 20px;overflow: hidden;;padding: 20px 50px;box-sizing: border-box;; li{width:33.3%;float: left;box-sizing: border-box;;padding-left:10%; section{margin: 0 auto; p{line-height: 1.75;} i{display: block;background: url("../images/j1.png")no-repeat;width: 50px;height: 50px;margin-right: 10px;float: left;} } } li:nth-of-type(2) section i{background: url("../images/j2.png")} li:nth-of-type(3) section i{background: url("../images/j3.png")} } @media (max-width:1050px) { .job_contact{ li{width: 33.3%;margin-bottom: 20px; section{width:200px;} } } } @media (max-width:680px) { .job_contact{padding: 10px; li{width: 50%; section{ i{width: 25px;height: 25px;background-size: 100%!important;margin-top: 10px;} p{line-height: 1.7;} } } li:last-child{margin-bottom: 0;} } } .btn-0 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-0:before { background:@mainColor;content: '';.transition(all .6s);position: absolute;top: 0;left: 0;width: 0;height: 100%;z-index: -1;} .btn-0:hover:before {width: 100%;} .btn-1 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-1:before {.transition(all .6s);content: '';width: 0;height: 0;.rotate(360deg);border-style: solid;border-width: 0 0 0 0;border-color:@mainColor transparent transparent transparent;position: absolute;top: 0;left: 0;z-index: -1;} .btn-1:hover:before {border-width: 330px 330px 0 0;} .btn-2 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-2:before {content: '';position: absolute;bottom: 0;left: 0; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;border-color: transparent transparent transparent @mainColor;.rotate(360deg); .transition(all .6s);z-index: -1;} .btn-2:after {border-style: solid;content: '';width: 0;height: 0;border-width: 0 0 0 0;border-color: transparent @mainColor transparent transparent;position: absolute;right: 0;top: 0;.rotate(360deg); .transition(all .6s);z-index: -1;} .btn-2:hover:before {border-width: 165px 0 0 165px;} .btn-2:hover:after {border-width: 0 165px 165px 0;} .btn-3 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-3:before {content: '';position: absolute;bottom: 0;left: 0; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;border-color: transparent transparent transparent @mainColor;.rotate(360deg); .transition(all .6s);z-index: -1;} .btn-3:after {border-style: solid;content: '';width: 0;height: 0;border-width: 0 0 0 0;border-color: transparent transparent @mainColor transparent;position: absolute;right: 0;bottom: 0;.rotate(360deg); .transition(all .6s);z-index: -1;} .btn-3:hover:before {border-width: 222px 0 0 222px;} .btn-3:hover:after {border-width: 0 0 222px 222px;} .btn-4 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-4:before, .btn-4:after {position: absolute;top: 50%;content: '';width: 20px;height: 20px;background: @mainColor;.border-radius(50%);z-index: -1;} .btn-4:before {left: -20px;-webkit-transform: translate(-50%, -50%);-moz-transform: translate(-50%, -50%);-o-transform: translate(-50%, -50%);-ms-transform: translate(-50%, -50%);transform: translate(-50%, -50%); } .btn-4:after {right: -20px;-webkit-transform: translate(50%, -50%);-moz-transform: translate(50%, -50%);-mz-transform: translate(50%, -50%);-o-transform: translate(50%, -50%);transform: translate(50%, -50%);} .btn-4:hover:before {-webkit-animation: criss-cross-left 0.8s both;-moz-animation: criss-cross-left 0.8s both;-o-animation: criss-cross-left 0.8s both;-ms-animation: criss-cross-left 0.8s both;animation: criss-cross-left 0.8s both;} .btn-4:hover:after {-webkit-animation: criss-cross-right 0.8s both;-moz-animation: criss-cross-right 0.8s both;-ms-animation: criss-cross-right 0.8s both;-o-animation: criss-cross-right 0.8s both;animation: criss-cross-right 0.8s both;} @-webkit-keyframes criss-cross-left { 0% {left: -20px;} 50% {left: 50%;width: 20px;height: 20px;} 100% {left: 50%;width: 375px;height: 375px;} } @keyframes criss-cross-left { 0% {left: -20px;} 50% {left: 50%;width: 20px;height: 20px;} 100% {left: 50%;width: 375px;height: 375px;} } @-webkit-keyframes criss-cross-right { 0% {right: -20px;} 50% {right: 50%;width: 20px;height: 20px;} 100% {right: 50%;width: 375px;height: 375px;} } @keyframes criss-cross-right { 0% {right: -20px;} 50% {right: 50%;width: 20px;height: 20px;} 100% {right: 50%;width: 375px;height: 375px;} } .btn-5 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-5:after {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;top: 0;right: 0;border-color: transparent @mainColor transparent transparent;} .btn-5:before {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;bottom: 0;left: 0;border-color: transparent transparent transparent @mainColor;} .btn-5:hover:before, .btn-5:hover:after {border-width:80px 433px;} .btn-6 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-6:before, .btn-6:after {content: '';position: absolute;top: 0;left: 0;width: 250px;height: 0;background:@mainColor;.transition(all .6s);z-index: -1;} .btn-6:after {top: auto;bottom: 0;} .btn-6:hover:before, .btn-6:hover:after {height: 40px;} .btn-7{position:relative;transform-style:preserve-3d;transition:0.4s;} .btn-7:hover{transform:translateZ(20px) rotateX(360deg) scale(1.1);} .btn-8{position:relative;transform-style:preserve-3d;transition:0.4s;} .btn-8:hover{transform:rotateY(360deg) scale(1.1);} .btn-9{position: relative;z-index: 1; &::after{position: absolute; content: "";width: 100%;height: 100%;left: 0;top: 0;background: @mainColor;transition: transform .4s cubic-bezier(.4,0,.2,1);transform-origin:right bottom;transform: scaleX(0);z-index: -1;} } .btn-9:hover::after{transform: scaleX(1); transform-origin: left bottom;} .btn-9-1{position: relative;z-index: 1; &::after{position: absolute; content: "";width: 100%;height: 100%;left: 0;top: 0;background: @mainColor;transition: transform .4s cubic-bezier(.4,0,.2,1);transform-origin:left bottom;transform: scaleY(0);z-index: -1;} } .btn-9-1:hover::after{transform: scaleY(1); transform-origin: right top;} .btn-10{position: relative;} .btn-10::before{content: ""; display: block; width: 100%; height: 100%; background:@mainColor; position: absolute; left: 0; top: 0; z-index: 3; transform: translateY(-100%);animation: 1.4s ease;animation-fill-mode: both; backface-visibility: visible !important;animation-name: fadedown;} .animate-delay-1::before{animation-delay:.8s;} @keyframes fadedown { from { transform: translateY(-100%); } 60% { transform: translateY(0); } to { transform: translateY(100%);} } //btn-span-1标签 .btn-span-1 {position: relative;overflow: hidden;.transition(all .6s);display: block;width: 100%;height: 100%;z-index: 1;} .btn-span-1:before {content: '';position: absolute;bottom: 0;left: 0; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;border-color: transparent transparent transparent @mainColor;.rotate(360deg); .transition(all .6s);z-index: -1;} .btn-span-1:after {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;top: 0;right: 0;border-color: transparent @mainColor transparent transparent;} .btn-span-1 span:before {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;bottom: 0;right: 0;border-color: transparent transparent @mainColor transparent;} .btn-span-1 span:after {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;top: 0;left: 0;border-color: @mainColor transparent transparent transparent;} .btn-span-1:hover:before {border-width: 165px 0 0 165px;} .btn-span-1:hover:after {border-width: 0 165px 165px 0;} .btn-span-1:hover span:before {border-width: 0 0 165px 165px;} .btn-span-1:hover span:after {border-width: 165px 165px 0 0;} //btn-span-2标签 .btn-span-2{position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-span-2:after {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;top: 0;right: 0;border-color: transparent @mainColor transparent transparent;} .btn-span-2:before {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;bottom: 0;left: 0;border-color: transparent transparent transparent @mainColor;} .btn-span-2:before, .btn-span-2:after {border-color:@mainColor;} .btn-span-2span:after {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;top: 0;left: 0;border-color: @mainColor transparent transparent transparent;} .btn-span-2span:before {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;right: 0;bottom: 0;border-color: transparent transparent @mainColor transparent;} .btn-span-2span:before, .btn-span-2span:after {border-color: @mainColor;} .btn-span-2:hover:before {border-width: 30px 62.5px;} .btn-span-2:hover:after {border-width: 30px 62.5px;} .btn-span-2:hover span:before {border-width: 20px 62.5px;} .btn-span-2:hover span:after {border-width: 20px 62.5px;} //btn-span-3标签 .btn-span-3 {position: relative;overflow: hidden;.transition(all .6s);display: block;;z-index: 1;} .btn-span-3 span:after {content: ''; position: absolute;display: block;width: 0;height: 0;.border-radius(50%);background: @mainColor;z-index: -1; -webkit-transform: translate(-50%, -50%);-moz-transform: translate(-50%, -50%);-o-transform: translate(-50%, -50%);-ms-transform: translate(-50%, -50%);transform: translate(-50%, -50%);-webkit-transition:width 0.4s, height 0.4s;-moz-transition:width 0.4s, height 0.4s;-ms-transition:width 0.4s, height 0.4s;-o-transition:width 0.4s, height 0.4s;transition:width 0.4s, height 0.4s;} .btn-span-3:hover span:after {width: 562.5px;height: 562.5px;} //btn-span-4标签 .btn-span-4 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-span-4:before, .btn-span-4:after,.btn-span-4 span:before,.btn-span-4 span:after {content: '';position: absolute;top: 0;width: 63.5px;height: 0;background: @mainColor;.transition(all .6s);z-index: -1;} .btn-span-4:before {left: 0;} .btn-span-4:after {left: 125px;} .btn-span-4 span:before, .btn-span-4 span:after {top: auto;bottom: 0;} .btn-span-4 span:before {left: 62.5px;} .btn-span-4 span:after {left: 187.5px;} .btn-span-4:hover {color: #c0d3c1;} .btn-span-4:hover:before, .btn-span-4:hover:after,.btn-span-4:hover span:before,.btn-span-4:hover span:after {height: 80px;} //btn-span-5标签 .btn-span-5 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-span-5:before, .btn-span-5:after,.btn-span-5 span:before,.btn-span-5 span:after {content: '';position: absolute;left: 0;top: 0;width: 100%;height: 0;background:fade(@mainColor,50%);.transition(all .6s);z-index: -1;} .btn-span-5:after,.btn-span-5 span:before {top: auto;bottom: 0;} .btn-span-5 span:before,.btn-span-5 span:after { -webkit-transition-delay: 0.4s;-moz-transition-delay: 0.4s;-ms-transition-delay: 0.4s;-o-transition-delay: 0.4s;transition-delay: 0.4s;z-index: -1;} .btn-span-5:hover:before, .btn-span-5:hover:after,.btn-span-5:hover span:before,.btn-span-5:hover span:after {height: 80px;} //btn-span-6标签 .btn-span-6 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-span-6:before, .btn-span-6:after,.btn-span-6 span:before,.btn-span-6 span:after {content: '';position: absolute;top: 0;left: 0;width: 0;height: 80px;background: fade(@mainColor,25%);.transition(.4s);z-index: -1;} .btn-span-6:after,.btn-span-6 span:before {left: auto;right: 0;} .btn-span-6 span:before,.btn-span-6 span:after {-webkit-transition-delay: 0.4s; -ms-transition-delay: 0.4s;-o-transition-delay: 0.4s;-moz-transition-delay: 0.4s;transition-delay: 0.4s;} .btn-span-6:hover:before, .btn-span-6:hover:after,.btn-span-6:hover span:before,.btn-span-6:hover span:after {width: 250px;} //btn-span-7标签 .btn-span-7 {.transition(.5s);position: relative;overflow: hidden;display: block;} .btn-span-7 span {.transition(.3s);} .btn-span-7:hover{background-color:@mainColor;} .btn-span-7:hover > span{opacity: 0;filter: alpha(opacity=0);-webkit-transform: translate(0px,-40px);transform: translate(0px,-40px);} .btn-span-7::after{position: absolute;content: attr(data-text);-webkit-transform: translate(0, 30%);transform: translate(0, 30%);width: 100%;height: 100%;top: 0;left: 0;opacity: 0;filter: alpha(opacity=0);.transition(.3s);} .btn-span-7:hover::after{opacity: 1;filter: alpha(opacity=100);-webkit-transform: translate(0, 0);transform: translate(0, 0);} //btn-span-7-1标签 .btn-span-7-1 {.transition(.5s);position: relative;overflow: hidden;display: block;} .btn-span-7-1 span {.transition(.3s);} .btn-span-7-1:hover{background-color:@mainColor;} .btn-span-7-1:hover > span{opacity: 0;filter: alpha(opacity=0);-webkit-transform: translate(0px,40px); transform: translate(0px,40px);} .btn-span-7-1::after{position: absolute;content: attr(data-text);-webkit-transform: translate(-30%,0);transform: translate(-30%,0);width: 100%;height: 100%;top: 0;left: 0;opacity: 0;filter: alpha(opacity=0);.transition(.3s); } .btn-span-7-1:hover::after{-webkit-transform: translate(0, 0);opacity: 1;filter: alpha(opacity=100);transform: translate(0, 0);} //btn-span-7-2标签 .btn-span-7-2 {.transition(.5s);position: relative;overflow: hidden;display: block;} .btn-span-7-2 span {.transition(.3s);} .btn-span-7-2:hover{background-color:@mainColor;} .btn-span-7-2:hover > span{opacity: 0;filter: alpha(opacity=0);-webkit-transform: translate(0px,40px); transform: translate(0px,40px);} .btn-span-7-2::after{position: absolute;content: attr(data-text);-webkit-transform: translate(-30%, -50%) rotate(-30deg); transform: translate(-30%, -50%) rotate(-30deg); width: 100%;height: 100%;top: 0;left: 0;opacity: 0;filter: alpha(opacity=0);.transition(.3s); } .btn-span-7-2:hover::after{-webkit-transform: translate(0, 0);opacity: 1;filter: alpha(opacity=100);transform: translate(0, 0);} //btn-span-8标签 @keyframes jello { from, 11.1%, to {-webkit-transform: none;transform: none;} 22.2% {-webkit-transform: skewX(-12.5deg) skewY(-12.5deg);transform: skewX(-12.5deg) skewY(-12.5deg);} 33.3% {-webkit-transform: skewX(6.25deg) skewY(6.25deg);transform: skewX(6.25deg) skewY(6.25deg);} 44.4% {-webkit-transform: skewX(-3.125deg) skewY(-3.125deg);transform: skewX(-3.125deg) skewY(-3.125deg);} 55.5% {-webkit-transform: skewX(1.5625deg) skewY(1.5625deg);transform: skewX(1.5625deg) skewY(1.5625deg);} 66.6% {-webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg);transform: skewX(-0.78125deg) skewY(-0.78125deg);} 77.7% {-webkit-transform: skewX(0.390625deg) skewY(0.390625deg);transform: skewX(0.390625deg) skewY(0.390625deg);} 88.8% {-webkit-transform: skewX(-0.1953125deg) skewY(-0.1953125deg);transform: skewX(-0.1953125deg) skewY(-0.1953125deg);} } .btn-span-8{.transition(.5s);position: relative;display: block;} .btn-span-8:hover{background-color:fade(@mainColor,20%); -webkit-animation-name: jello;animation-name: jello;-webkit-animation-duration: 1s;animation-duration: 1s;-webkit-animation-fill-mode: both;animation-fill-mode: both;} //btn-span-9标签 .btn-span-9{.transition(.5s);position: relative;display: block;width: 100%;height: 100%;} .btn-span-9 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-9::before{content: '';position: absolute;top: 0;left: 0;-webkit-transform: scale(0.5, 1);transform: scale(0.5, 1);width: 100%; height: 100%; z-index: 1; opacity: 0;filter: alpha(opacity=0); background-color: @mainColor;.transition(.4s);} .btn-span-9:hover::before{ opacity: 1;filter: alpha(opacity=100); -webkit-transform: scale(1, 1); transform: scale(1, 1);} //btn-span-9-1标签 .btn-span-9-1{.transition(.5s);position: relative;display: block;width: 100%;height: 100%;} .btn-span-9-1 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-9-1::before{content: '';position: absolute;top: 0;left: 0;-webkit-transform: scale(1,0.5);transform: scale(1,0.5);width: 100%; height: 100%; z-index: 1; opacity: 0;filter: alpha(opacity=0); background-color: @mainColor;.transition(.4s);} .btn-span-9-1:hover::before{ opacity: 1;filter: alpha(opacity=100); -webkit-transform: scale(1, 1); transform: scale(1, 1);} //btn-span-10标签 .btn-span-10{.transition(.5s);position: relative;display: block;overflow: hidden;} .btn-span-10 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-10::before{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; opacity: 0;filter: alpha(opacity=0); background-color: @mainColor;.transition(.4s);} .btn-span-10:hover::before{transform: skewX(-180deg) scale(0.6,1);opacity: 1;filter: alpha(opacity=100);-webkit-transform: skewX(-180deg) scale(0.6,1);} //btn-span-11标签 .btn-span-11{.transition(.5s);position: relative;} .btn-span-11 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-11::before{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background:@mainColor;.transition(.4s); } .btn-span-11::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1;.transition(.5s); background:@mainColor;} .btn-span-11:hover::before{.rotate(-45deg);background-color: fade(@mainColor,50%);} .btn-span-11:hover::after{.rotate(45deg);background-color:fade(@mainColor,50%);} //btn-span-12标签 .btn-span-12{.transition(.5s);position: relative;display: block;width: 100%;height: 100%;perspective: 2000px;} .btn-span-12 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-12::before{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background:@mainColor;.transition(.4s);} .btn-span-12::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1;.transition(.5s); border: 1px solid fade(@mainColor,50%); background:@mainColor} .btn-span-12:hover::before{-webkit-transform: rotateX(60deg) translate(0px,40px);transform: rotateX(60deg) translate(0px,40px) ;background:fade(@mainColor,50%);} .btn-span-12:hover::after{-webkit-transform: rotateX(-60deg) translate(0px,-40px) ;transform: rotateX(-60deg) translate(0px,-40px);background:fade(@mainColor,50%);} //btn-span-13标签 .btn-span-13 {.transition(.5s);position: relative;display: block;} .btn-span-13 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-13::before{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,100%);;.transition(.4s);} .btn-span-13:hover::before{opacity: 0;filter: alpha(opacity=0);-webkit-transform: scale(1.2,1.2);transform: scale(1.2,1.2);} .btn-span-13::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1;.transition(.5s); border: 1px solid fade(@mainColor,100%); background: fade(@mainColor,100%);filter: alpha(opacity=0);opacity: 0;-webkit-transform: scale(0.5,0.5);transform: scale(0.5,0.5);} //btn-span-13-1标签 .btn-span-13-1{.transition(.5s);position: relative;} .btn-span-13-1 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-13-1::before{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background-color: rgba(255,255,255,0.25);.transition(.4s);background-color: rgba(255,255,255,0.25);.transition(.3s);} .btn-span-13-1:hover::before{opacity:0 ;filter: alpha(opacity=0);-webkit-transform: scale(0.5,0.5);transform: scale(0.5,0.5);} .btn-span-13-1::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1;opacity:0 ;filter: alpha(opacity=0);.transition(.3s);-webkit-transform: scale(1.2,1.2);transform: scale(1.2,1.2);border: 1px solid rgba(255,255,255,0.5);} .btn-span-13-1:hover::after{opacity:1 ;filter: alpha(opacity=100);-webkit-transform: scale(1,1);transform: scale(1,1);} //btn-span-14标签 .btn-span-14 {.transition(.5s);position: relative;display: block;overflow: hidden;} .btn-span-14 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-14::before, .btn-span-14::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,25%);.transition(.3s);-webkit-transform: translate(0,-100%);transform: translate(0,-100%);-webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);} .btn-span-14::after{-webkit-transition-delay: 0.2s; /* Safari */transition-delay: 0.2s;} .btn-span-14:hover::before, .btn-span-14:hover::after{-webkit-transform: translate(0,0);transform: translate(0,0);} //btn-span-14-1标签 .btn-span-14-1{.transition(.5s);position: relative;display: block;overflow: hidden;} .btn-span-14-1 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-14-1::before, .btn-span-14-1::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,25%);;.transition(.3s);-webkit-transform: translate(-100%,0);transform: translate(-100%,0);-webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);} .btn-span-14-1::after{-webkit-transition-delay: 0.2s; /* Safari */transition-delay: 0.2s;} .btn-span-14-1:hover::before, .btn-span-14-1:hover::after{-webkit-transform: translate(0,0);transform: translate(0,0);} //btn-span-14-2标签 .btn-span-14-2 {.transition(.5s);position: relative;display: block;overflow: hidden;} .btn-span-14-2 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-14-2::before, .btn-span-14-2::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,25%);;.transition(.3s);-webkit-transform: translate(-13%,-190%) rotate(-30deg);transform: translate(-13%,-190%) rotate(-30deg);-webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);} .btn-span-14-2::after{-webkit-transition-delay: 0.2s; /* Safari */transition-delay: 0.2s;} .btn-span-14-2:hover::before, .btn-span-14-2:hover::after{-webkit-transform: translate(0,0);transform: translate(0,0);} //btn-span-14-3标签 .btn-span-14-3 {.transition(.3s);position: relative;display: block;overflow: hidden;} .btn-span-14-3 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-14-3::before, .btn-span-14-3::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,25%);;.transition(.3s);-webkit-transform: translate(13%,190%) rotate(-30deg);transform: translate(13%,190%) rotate(-30deg);-webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);} .btn-span-14-3::after{-webkit-transition-delay: 0.2s; /* Safari */transition-delay: 0.2s;} .btn-span-14-3:hover::before, .btn-span-14-3:hover::after{-webkit-transform: translate(0,0);transform: translate(0,0);} //btn-span-14-4标签 .btn-span-14-4 {.transition(.3s);position: relative;display: block;overflow: hidden;} .btn-span-14-4 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-14-4::before{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,25%);.transition(.3s);-webkit-transform: translate(13%,190%) rotate(-30deg);transform: translate(13%,190%) rotate(-30deg);-webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);} .btn-span-14-4::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,25%);.transition(.3s);-webkit-transform: translate(-13%,-190%) rotate(-30deg);transform: translate(-13%,-190%) rotate(-30deg);-webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);} .btn-span-14-4::before{-webkit-transition-delay: 0.2s; /* Safari */transition-delay: 0.2s;} .btn-span-14-4:hover::before, .btn-span-14-4:hover::after{-webkit-transform: translate(0,0);transform: translate(0,0);} //btn-span-14-5标签 .btn-span-14-5 {.transition(.3s);position: relative;display: block;overflow: hidden;} .btn-span-14-5 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-14-5::before{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,25%);;.transition(.3s);-webkit-transform: translate(13%,-190%) rotate(30deg);transform: translate(13%,-190%) rotate(30deg);-webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);} .btn-span-14-5::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,25%);.transition(.3s);-webkit-transform: translate(-13%,-190%) rotate(-30deg);transform: translate(-13%,-190%) rotate(-30deg);transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);-webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);} .btn-span-14-5::before{-webkit-transition-delay: 0.2s; /* Safari */transition-delay: 0.2s;} .btn-span-14-5:hover::before, .btn-span-14-5:hover::after{transform: translate(0,0);-webkit-transform: translate(0,0);} //btn-span-15标签 .btn-span-15 {.transition(.3s);position: relative;display: block;width: 100%;height: 100%;overflow: hidden;} .btn-span-15 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-15::before{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,50%);.transition(.3s);opacity: 1;transform: translate(0,-105%);border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: fade(@mainColor,25%);background: fade(@mainColor,50%);} .btn-span-15:hover::before{opacity: 0;transform: translate(0,0);} //btn-span-15-1标签 .btn-span-15-1{.transition(.3s);position: relative;display: block;width: 100%;height: 100%;overflow: hidden;} .btn-span-15-1 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-15-1::before{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,50%);;.transition(.3s);opacity: 1;transform: translate(-105%,0);border-right-width: 1px;border-right-style: solid;border-right-color: rgba(255,255,255,1);background: fade(@mainColor,50%);} .btn-span-15-1:hover::before{opacity: 0;transform: translate(0,0);} //btn-span-15-2标签 .btn-span-15-2 {.transition(.3s);position: relative;display: block;width: 100%;height: 100%;overflow: hidden;} .btn-span-15-2 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-15-2::before{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,50%);.transition(.5s);opacity: 1;transform: translate(-13%,-190%) rotate(-30deg);border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: rgba(255,255,255,1);background: fade(@mainColor,50%);} .btn-span-15-2:hover::before{opacity: 0;filter: alpha(opacity=0);-webkit-transform: translate(0,0);transform: translate(0,0);} //btn-span-15-3标签 .btn-span-15-3 {.transition(.3s);position: relative;display: block;width: 100%;height: 100%;overflow: hidden;} .btn-span-15-3 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-15-3::before, .btn-span-15-3::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,50%);.transition(.5s);opacity: 1;transform: translate(0,-105%);border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: rgba(255,255,255,1);background-color: fade(@mainColor,50%);} .btn-span-15-3::after{-webkit-transition-delay: 0.2s; /* Safari */transition-delay: 0.2s;} .btn-span-15-3:hover::before, .btn-span-15-3:hover::after{opacity: 0;filter: alpha(opacity=0);-webkit-transform: translate(0,0);transform: translate(0,0);} //btn-span-15-4标签 .btn-span-15-4 {.transition(.3s);position: relative;display: block;width: 100%;height: 100%;overflow: hidden;} .btn-span-15-4 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-15-4::before, .btn-span-15-4::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background-color: fade(@mainColor,50%);.transition(.5s);opacity: 1;transform: translate(-105%,0);border-right-width: 1px;border-right-style: solid;border-right-color: rgba(255,255,255,1);background-color:fade(@mainColor,50%);} .btn-span-15-4::after{-webkit-transition-delay: 0.2s; /* Safari */transition-delay: 0.2s;} .btn-span-15-4:hover::before, .btn-span-15-4:hover::after{opacity: 0;filter: alpha(opacity=0);-webkit-transform: translate(0,0);transform: translate(0,0);} //btn-span-15-5标签 .btn-span-15-5 {.transition(.3s);position: relative;display: block;width: 100%;height: 100%;overflow: hidden;} .btn-span-15-5 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-15-5::before, .btn-span-15-5::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background-color: fade(@mainColor,50%);;.transition(.5s);opacity: 1;filter: alpha(opacity=100);-webkit-transform: translate(-13%,-190%) rotate(-30deg);transform: translate(-13%,-190%) rotate(-30deg);border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: rgba(255,255,255,1);background-color: fade(@mainColor,50%);;} .btn-span-15-5::after{-webkit-transition-delay: 0.2s; /* Safari */transition-delay: 0.2s;} .btn-span-15-5:hover::before, .btn-span-15-5:hover::after{opacity: 0;filter: alpha(opacity=0);-webkit-transform: translate(0,0);transform: translate(0,0);} //btn-span-16标签 .btn-span-16 {.transition(.3s);position: relative;display: block;width: 100%;height: 100%;overflow: hidden;border: 1px solid @mainColor;} .btn-span-16:hover{border: 1px solid rgba(255,255,255,0);} .btn-span-16::before{content: '';position: absolute;bottom: 0;left: 0;width: 100%;height: 1px;z-index: 1;.transition(.5s); -webkit-transform: translate(-100%, -600%) rotate(30deg);transform: translate(-100%, -600%) rotate(30deg);background-color: @mainColor;transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);} .btn-span-16:hover::before{-webkit-transform: translate(0,0);transform: translate(0,0);} //btn-span-17标签 .btn-span-17 {.transition(.3s);position: relative;display: block;overflow: hidden;} .btn-span-17 span{position: relative;.transition(.3s);z-index:2;letter-spacing:0;} .btn-span-17::before{content: '';position: absolute;bottom: 0;left: 0;width: 100%;height: 100%;z-index: 1;opacity: 0;filter: alpha(opacity=0);.transition(.3s);border-top-width: 1px;border-bottom-width: 1px;border-top-style: solid;border-bottom-style: solid;border-top-color: rgba(255,255,255,0.5);border-bottom-color: rgba(255,255,255,0.5);-webkit-transform: scale(0.1, 1);transform: scale(0.1, 1);} .btn-span-17:hover span{letter-spacing: 2px;} .btn-span-17:hover::before{filter: alpha(opacity=100);opacity: 1;-webkit-transform: scale(1, 1);transform: scale(1, 1);} .btn-span-17::after{content: '';position: absolute;bottom: 0;left: 0;width: 100%;height: 100%;z-index: 1;.transition(.3s);background-color: rgba(255,255,255,0.25);} .btn-span-17:hover::after{opacity: 0;filter: alpha(opacity=0);-webkit-transform: scale(0.1, 1);transform: scale(0.1, 1);} //btn-span-18标签 translate Y轴高度取决于a标签的一半高度 .btn-span-18 {.transition(.3s);position: relative;display: block;width: 100%;height: 100%;overflow: hidden;border-right-width: 1px;border-left-width: 1px;border-right-style: solid;border-left-style: solid;border-right-color: rgba(255,255,255,0.5);border-left-color: rgba(255,255,255,0.5);} .btn-span-18 span{.transition(.3s);letter-spacing:0;} .btn-span-18:hover span{letter-spacing: 2px;} .btn-span-18:hover{ border-right-color: rgba(255,255,255,0);border-left-color: rgba(255,255,255,0);} .btn-span-18::before{content: '';position: absolute;bottom: 0;left: 0;width: 100%;height: 1px;z-index: 1;.transition(.3s);background-color: rgba(255,255,255,0.5);} .btn-span-18:hover::before{transform: translate(0,-45px) rotate(-45deg);} .btn-span-18::after{content: '';position: absolute;top: 0;left: 0;width: 100%;height: 1px;z-index: 1;.transition(.3s);background-color: rgba(255,255,255,0.5);} .btn-span-18:hover::after{transform: translate(0,45px) rotate(45deg);} //btn-span-19标签 .btn-span-19 {.transition(.3s);position: relative;display: block;width: 100%;height: 100%;overflow: hidden;border-top-width: 1px;border-bottom-width: 1px;border-top-style: solid;border-bottom-style: solid;border-top-color: rgba(255,255,255,0.5);border-bottom-color: rgba(255,255,255,0.5);} .btn-span-19 span{.transition(.3s);letter-spacing:0;} .btn-span-19:hover span{letter-spacing: 2px;} .btn-span-19:hover{border-top-color: rgba(255,255,255,0);border-bottom-color: rgba(255,255,255,0);} .btn-span-19::before{content: '';position: absolute;top: 0;right: 0;width: 1px;height: 100%;z-index: 1;.transition(.3s);background-color: rgba(255,255,255,0.5);} .btn-span-19:hover::before{-webkit-transform: translate(-94.9845px,0) rotate(270deg);-moz-transform: translate(-94.9845px,0) rotate(270deg);transform: translate(-94.9845px,0) rotate(270deg);} .btn-span-19::after{content: '';position: absolute;top: 0;left: 0;width: 1px;height: 100%;z-index: 1;.transition(.3s);background-color: rgba(255,255,255,0.5);} .btn-span-19:hover::after{-webkit-transform: translate(94.9845px,0) rotate(180deg);-moz-transform: translate(94.9845px,0) rotate(180deg);transform: translate(94.9845px,0) rotate(180deg);} //btn-span-20标签 文字顶上去的效果 .btn-span-20{position: relative;overflow: hidden;;display: block; span{display: block;.transition(.4s);margin: 0 auto;} span::before{content:attr(data-hover);position: absolute;top: 100%;.transition(.4s); margin:auto;} } .btn-span-20:hover{ span{transform: translateY(-100%);} } //图片放大效果 .hover-img-1{overflow: hidden; img{.scale(1);.transition(.4s);} &:hover{ img{.scale(1.1);} } } //图片放大,外面的框缩小 .imgd-h-1{.transition(); img{.transition();} &:hover{.scale(.97); img{.scale(1.15)} } } .imgd-h-2{overflow: hidden;position: relative; &:before,&:after,.zhezhao:before,.zhezhao:after{content: '';background: linear-gradient(transparent,rgba(0,0,0,0.9));height: 100%;width: 25%;transform: translateY(-100%);position: absolute;left: 0;top: 0;z-index: 1;.transition(.3s);} &:after{left: 25%;} .zhezhao{width: 100%;height: 100%;position: absolute;bottom: 0;left: 0;.transition(.2s); p{color: #fff;font-size: 30px;opacity: 0;bottom: -30px;position: absolute;.transition();z-index: 22;width: 100%;text-align: center;} &:before{left:50%;} &:after{left:75%;} img{.transition(.3s);} } &:hover{ &:before,&:after,.zhezhao:before,.zhezhao:after{transform: translateY(0);} &:before{transition-delay: 0.225s;} &:after{transition-delay: 0.075s;} .zhezhao:before{transition-delay: 0.15s;} .zhezhao p{opacity: 1;bottom: 20px;transition-delay: 0.15s;} img{filter: grayscale(100%);} } } //网站开屏效果 .fixedmb{position: fixed;top: 0;left: 0;width: 100%;height: 100%;z-index: 9999; &:before,&:after{content: '';position: absolute;width: 50%;height: 100%;background: white;-webkit-transition-delay: .3s;transition-delay: .3s;-webkit-transition: 1.2s;transition: 1.2s;-webkit-transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);} } .fixedmb_active{-webkit-transition-delay: .5s;transition-delay: .5s;visibility: hidden; &:before{right: 0;width: 0;} &:after{left: 0;width: 0;} } .chinalist{ span{font-size: inherit;opacity: 0;color: inherit;} } .chinalist.active{ span{animation: fadeInRight 1s forwards;display:inline-block} } .animates .ani-fadeInUpBig,.animates.ani-fadeInUpBig{animation: 1s fadeInUpBig forwards;} .animates .ani-fadeInUp,.animates.ani-fadeInUp{animation: 1s fadeInUp forwards;} .animates.ani-fadeInLeftBig,.animates .ani-fadeInLeftBig{animation: 1s fadeInLeftBig forwards;} .animates.ani-fadeInRightBig,.animates .ani-fadeInRightBig{animation: 1s fadeInRightBig forwards;} .animates.ani-width,.animates .ani-width{animation: 1s widthlong forwards;} @keyframes widthlong { from {width: 0;} to {width:100%;} } .animates.ani-fadeIn,.animates .ani-fadeIn{animation: 1s fadeIn forwards;} @keyframes fadeInRight { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } } //水波点颜色 只需要给li添加randomdots类, .randomdots{z-index: 1;position: relative;overflow: hidden;} .randomdot {cursor: pointer;width: 0;height: 0;padding-top: 0;position: absolute;background:@mainColor;border-radius: 50%;transform: translate(-50%, -50%);z-index: -1; } .randomdot.active {width: 100%;padding-top: 100%;transform: translate(-50%, -50%) scale(3);transition: .5s;transition-timing-function: linear;}