/***********/ /**************************************************************************组件样式******************************************************************************************************/ .banner { position: relative; overflow: hidden; width: 100%;} .banner img { width: 100%; height: auto; -webkit-transition: all 2s ease; -moz-transition: all 2s ease; -ms-transition: all 2s ease; -o-transition: all 2s ease; transition: all 2s ease;} .banner img:hover { transform: scale(1.05);} .banner .slick-prev { text-indent: 999px; overflow: hidden; width: 44px; height: 44px; position: absolute; z-index: 9; left: 2%; top: 50%; margin-top: -22px; background: url(images/banner-left.png) no-repeat; background-size: 100% 100%; cursor: pointer;border:0;} .banner .slick-next { text-indent: 999px; overflow: hidden; width: 44px; height: 44px; position: absolute; z-index: 9; right: 2%; top: 50%; margin-top: -22px; background: url(images/banner-right.png) no-repeat; background-size: 100% 100%; cursor: pointer;border:0;} .banner .slick-prev:hover, .banner .slick-next:hover { opacity: 0.8;} .banner .slick-dots { position: absolute; bottom: 30px; left: 50%; transform: translate(-50%);} .banner .slick-dots li { float: left; width: 12px; height: 12px; border-radius: 50%; margin: 0 7px; background: none; border: 1px solid #ffffff; cursor: pointer;} .banner .slick-dots li button { display: none;} .banner .slick-dots li.slick-active { background: #ffffff;}