123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310 |
- /* swiper 版本 */
- .swiper-bg{
- background-color: #F1F1F1;
- display:block;
- #top-banner{
- width: 100% !important;
- height: 100% !important;
- background-color: #F1F1F1;
- margin-left: auto;
- margin-right: auto;
- max-width: 1310px;
- .swiper-wrapper-top-banner{
- width: 100%;
- height: 100%;
- padding-top: 12px;
- padding-bottom: 24px;
-
- max-width: 1310px;
- }
- .img-wrapper{
- background-color: #F1F1F1;
- display: flex;
- width: 100%;
- height: 100%;
- justify-content: center;
- align-items: center;
- }
- .swiper-zoom-container{
- width: 100%;
- height: 100%;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-pack: center;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-box-align: center;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- text-align: center;
- img{
- width: 100%;
- height: 100%;
- max-width: 1310px;
- max-height: 300px;
- object-fit: contain;
- }
- }
- .swiper-scrollbar-top-banner{
- position:absolute;
- bottom:21px;
- left:0;
- width:100%;
- -webkit-box-sizing:border-box;
- box-sizing:border-box;
- display:-webkit-box;
- display:-ms-flexbox;
- display:flex;
- z-index:10;
- }
- .carouselPrimary-bullet{
- position: relative;
- width: 100%;
- height:3px;
- background-color: rgba(0,0,0,.1);
- -webkit-box-flex: 1;
- -ms-flex: 1 1 auto;
- flex: 1 1 auto;
- transform: translateX(-1px);
- }
- .carouselPrimary-bullet:after{
- content:"";
- background:#EE7800;
- position:absolute;
- width:0;
- height:100%;
- left:0;
- top:0;
- }
- .carouselPrimary-bullet--active:after{
- width:0;
- -webkit-animation-name:progress;
- animation-name:progress;
- -webkit-animation-duration:4s;
- animation-duration:4s;
- -webkit-animation-timing-function:linear;
- animation-timing-function:linear;
- }
- .swiper-button-prev, .swiper-button-next{
- width: 23px;
- height: 40px;
-
- }
- .swiper-button-prev{
- left: 15px;
- }
- .swiper-button-next{
- right: 15px;
- }
- .swiper-button-prev:after{
- content:'';
- width: 23px;
- height: 40px;
- background: url("../../images/section/icon/top-banner/btn-prev.png") no-repeat ;
- background-position: center;
- display: inline-block;
- }
- .swiper-button-next:after{
- content:'';
- width: 23px;
- height: 40px;
- background: url("../../images/section/icon/top-banner/btn-next.png") no-repeat ;
- background-position: center;
- display: inline-block;
- }
- .swiper-button-next:after, .swiper-button-prev:after{
- font-size: 23px;
- }
- .swiper-scrollbar-drag{
- background: #EE7800;
- }
- }
- .ADclose {
- width: 50px;
- height: 30px;
- position: absolute;
- top: 0;
- right: 20px;
- background-color: rgba(255,255,255,0.66);
- border-radius: 0 0 50px 50px;
- box-shadow: 0 0 10px rgba(32,32,32,0.25);
- display: flex;
- flex-direction: column;
- align-items: center;
- z-index: 3;
- &:hover{
- cursor: pointer;
- }
-
- p{
- font-size: 12px;
- color: #888;
- text-align: center;
- margin-top: 8px;
- }
- .arrow {
- position: absolute;
- left: 16px;
- top: 0;
- opacity: 1;
- &::before, &::after{
- display: block;
- }
- }
- }
- }
- @-webkit-keyframes progress{
- 0% { width:0; }
- to { width:100%; }
- }
- @keyframes progress{
- 0% { width:0; }
- to { width:100%; }
- }
- //slick 版本
- .slick-bg{
- background-color: #F1F1F1;
- display:block;
- padding-top: 12px;
- padding-bottom: 24px;
- max-height: 336px;
- #top-banner{
- width: 100% !important;
- height: 100% !important;
- background-color: #F1F1F1;
- margin-left: auto;
- margin-right: auto;
- max-width: 1310px;
-
-
- .slider{
- height: 300px;
- }
-
- img {
- display: block;
- width: 100%;
- }
-
- .sr-only {
- position: absolute;
- width: 1px;
- height: 1px;
- padding: 0;
- margin: -1px;
- overflow: hidden;
- clip: rect(0,0,0,0);
- border: 0;
- }
-
- .progress {
- display: block;
- // width: 100%;
- width: 98%;
- margin-left: auto;
- margin-right: auto;
- height: 5px;
- border-radius: 10px;
- // overflow: hidden;
- transform: translateY(5px);
-
- background-color: #f5f5f5;
- background-image: linear-gradient(to right, #EE7800, #EE7800);
- background-repeat: no-repeat;
- background-size: 0 100%;
-
- transition: background-size .4s ease-in-out;
- }
-
- .slick-prev {
- left: 30px;
- }
-
- .slick-next {
- right: 30px;
- }
-
- .slick-next, .slick-prev{
- width: 23px;
- height: 40px;
- z-index: 99;
- }
-
- .slick-prev:before {
- content:'';
- width: 23px;
- height: 40px;
- background: url("../../images/section/icon/top-banner/btn-prev.png") no-repeat ;
- background-position: center;
- display: inline-block;
- }
- .slick-next:before {
- content:'';
- width: 23px;
- height: 40px;
- background: url("../../images/section/icon/top-banner/btn-next.png") no-repeat ;
- background-position: center;
- display: inline-block;
- }
-
- }
-
- .ADclose {
- width: 50px;
- height: 30px;
- position: absolute;
- top: 0;
- right: 20px;
- background-color: rgba(255,255,255,0.66);
- border-radius: 0 0 50px 50px;
- box-shadow: 0 0 10px rgba(32,32,32,0.25);
- display: flex;
- flex-direction: column;
- align-items: center;
- z-index: 3;
- &:hover{
- cursor: pointer;
- }
-
- p{
- font-size: 12px;
- color: #888;
- text-align: center;
- margin-top: 8px;
- }
- .arrow {
- position: absolute;
- left: 16px;
- top: 0;
- opacity: 1;
- &::before, &::after{
- display: block;
- }
- }
- }
- }
|