top_banner.css 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. @charset "UTF-8";
  2. /* swiper 版本 */
  3. .swiper-bg {
  4. background-color: #F1F1F1;
  5. display: block;
  6. }
  7. .swiper-bg #top-banner {
  8. width: 100% !important;
  9. height: 100% !important;
  10. background-color: #F1F1F1;
  11. margin-left: auto;
  12. margin-right: auto;
  13. max-width: 1310px;
  14. }
  15. .swiper-bg #top-banner .swiper-wrapper-top-banner {
  16. width: 100%;
  17. height: 100%;
  18. padding-top: 12px;
  19. padding-bottom: 24px;
  20. max-width: 1310px;
  21. }
  22. .swiper-bg #top-banner .img-wrapper {
  23. background-color: #F1F1F1;
  24. display: -webkit-box;
  25. display: -ms-flexbox;
  26. display: flex;
  27. width: 100%;
  28. height: 100%;
  29. -webkit-box-pack: center;
  30. -ms-flex-pack: center;
  31. justify-content: center;
  32. -webkit-box-align: center;
  33. -ms-flex-align: center;
  34. align-items: center;
  35. }
  36. .swiper-bg #top-banner .swiper-zoom-container {
  37. width: 100%;
  38. height: 100%;
  39. display: -webkit-box;
  40. display: -ms-flexbox;
  41. display: flex;
  42. -webkit-box-pack: center;
  43. -ms-flex-pack: center;
  44. justify-content: center;
  45. -webkit-box-align: center;
  46. -ms-flex-align: center;
  47. align-items: center;
  48. text-align: center;
  49. }
  50. .swiper-bg #top-banner .swiper-zoom-container img {
  51. width: 100%;
  52. height: 100%;
  53. max-width: 1310px;
  54. max-height: 300px;
  55. -o-object-fit: contain;
  56. object-fit: contain;
  57. }
  58. .swiper-bg #top-banner .swiper-pagination-bullet{opacity:1;background-color:#EE7800}
  59. .swiper-bg #top-banner .swiper-scrollbar-top-banner {
  60. position:absolute;
  61. bottom:21px;
  62. left:0;
  63. width:100%;
  64. -webkit-box-sizing:border-box;
  65. box-sizing:border-box;
  66. display:-webkit-box;
  67. display:-ms-flexbox;
  68. display:flex;
  69. z-index:10
  70. }
  71. .swiper-bg #top-banner .carouselPrimary-bullet {
  72. position: relative;
  73. width: 100%;
  74. height:3px;
  75. background-color: rgba(0,0,0,.1);
  76. -webkit-box-flex: 1;
  77. -ms-flex: 1 1 auto;
  78. flex: 1 1 auto;
  79. transform: translateX(-1px);
  80. }
  81. .swiper-bg #top-banner .carouselPrimary-bullet:after {
  82. content:"";
  83. background:#EE7800;
  84. position:absolute;
  85. width:0;
  86. height:100%;
  87. left:0;
  88. top:0;
  89. }
  90. .swiper-bg #top-banner .carouselPrimary-bullet--active:after
  91. {
  92. width:0;
  93. -webkit-animation-name:progress;
  94. animation-name:progress;
  95. -webkit-animation-duration:4s;
  96. animation-duration:4s;
  97. -webkit-animation-timing-function:linear;
  98. animation-timing-function:linear
  99. }
  100. .swiper-bg #top-banner .swiper-button-prev, .swiper-bg #top-banner .swiper-button-next {
  101. width: 23px;
  102. height: 40px;
  103. }
  104. .swiper-bg #top-banner .swiper-button-prev {
  105. left: 15px;
  106. }
  107. .swiper-bg #top-banner .swiper-button-next {
  108. right: 15px;
  109. }
  110. .swiper-bg #top-banner .swiper-button-prev:after {
  111. content: '';
  112. width: 23px;
  113. height: 40px;
  114. background: url("../../images/section/icon/top-banner/btn-prev.png") no-repeat;
  115. background-position: center;
  116. display: inline-block;
  117. }
  118. .swiper-bg #top-banner .swiper-button-next:after {
  119. content: '';
  120. width: 23px;
  121. height: 40px;
  122. background: url("../../images/section/icon/top-banner/btn-next.png") no-repeat;
  123. background-position: center;
  124. display: inline-block;
  125. }
  126. .swiper-bg #top-banner .swiper-button-next:after, .swiper-bg #top-banner .swiper-button-prev:after {
  127. font-size: 23px;
  128. }
  129. .swiper-bg .ADclose {
  130. width: 50px;
  131. height: 30px;
  132. position: absolute;
  133. top: 0;
  134. right: 20px;
  135. background-color: rgba(255, 255, 255, 0.66);
  136. border-radius: 0 0 50px 50px;
  137. -webkit-box-shadow: 0 0 10px rgba(32, 32, 32, 0.25);
  138. box-shadow: 0 0 10px rgba(32, 32, 32, 0.25);
  139. display: -webkit-box;
  140. display: -ms-flexbox;
  141. display: flex;
  142. -webkit-box-orient: vertical;
  143. -webkit-box-direction: normal;
  144. -ms-flex-direction: column;
  145. flex-direction: column;
  146. -webkit-box-align: center;
  147. -ms-flex-align: center;
  148. align-items: center;
  149. z-index: 3;
  150. }
  151. .swiper-bg .ADclose:hover {
  152. cursor: pointer;
  153. }
  154. .swiper-bg .ADclose p {
  155. font-size: 12px;
  156. color: #888;
  157. text-align: center;
  158. margin-top: 8px;
  159. }
  160. .swiper-bg .ADclose .arrow {
  161. position: absolute;
  162. left: 16px;
  163. top: 0;
  164. opacity: 1;
  165. }
  166. .swiper-bg .ADclose .arrow::before, .swiper-bg .ADclose .arrow::after {
  167. display: block;
  168. }
  169. @-webkit-keyframes progress {
  170. 0% {
  171. width: 0;
  172. }
  173. to {
  174. width: 100%;
  175. }
  176. }
  177. @keyframes progress {
  178. 0% {
  179. width: 0;
  180. }
  181. to {
  182. width: 100%;
  183. }
  184. }
  185. .slick-bg {
  186. background-color: #F1F1F1;
  187. display: block;
  188. padding-top: 12px;
  189. padding-bottom: 24px;
  190. max-height: 336px;
  191. }
  192. .slick-bg #top-banner {
  193. width: 100% !important;
  194. height: 100% !important;
  195. background-color: #F1F1F1;
  196. margin-left: auto;
  197. margin-right: auto;
  198. max-width: 1310px;
  199. }
  200. .slick-bg #top-banner .slider {
  201. height: 300px;
  202. }
  203. .slick-bg #top-banner img {
  204. display: block;
  205. width: 100%;
  206. }
  207. .slick-bg #top-banner .sr-only {
  208. position: absolute;
  209. width: 1px;
  210. height: 1px;
  211. padding: 0;
  212. margin: -1px;
  213. overflow: hidden;
  214. clip: rect(0, 0, 0, 0);
  215. border: 0;
  216. }
  217. .slick-bg #top-banner .progress {
  218. display: block;
  219. width: 98%;
  220. margin-left: auto;
  221. margin-right: auto;
  222. height: 5px;
  223. border-radius: 10px;
  224. -webkit-transform: translateY(5px);
  225. transform: translateY(5px);
  226. background-color: #f5f5f5;
  227. background-image: -webkit-gradient(linear, left top, right top, from(#EE7800), to(#EE7800));
  228. background-image: linear-gradient(to right, #EE7800, #EE7800);
  229. background-repeat: no-repeat;
  230. background-size: 0 100%;
  231. -webkit-transition: background-size .4s ease-in-out;
  232. transition: background-size .4s ease-in-out;
  233. }
  234. .slick-bg #top-banner .slick-prev {
  235. left: 30px;
  236. }
  237. .slick-bg #top-banner .slick-next {
  238. right: 30px;
  239. }
  240. .slick-bg #top-banner .slick-next, .slick-bg #top-banner .slick-prev {
  241. width: 23px;
  242. height: 40px;
  243. z-index: 99;
  244. }
  245. .slick-bg #top-banner .slick-prev:before {
  246. content: '';
  247. width: 23px;
  248. height: 40px;
  249. background: url("../../images/section/icon/top-banner/btn-prev.png") no-repeat;
  250. background-position: center;
  251. display: inline-block;
  252. }
  253. .slick-bg #top-banner .slick-next:before {
  254. content: '';
  255. width: 23px;
  256. height: 40px;
  257. background: url("../../images/section/icon/top-banner/btn-next.png") no-repeat;
  258. background-position: center;
  259. display: inline-block;
  260. }
  261. .slick-bg .ADclose {
  262. width: 50px;
  263. height: 30px;
  264. position: absolute;
  265. top: 0;
  266. right: 20px;
  267. background-color: rgba(255, 255, 255, 0.66);
  268. border-radius: 0 0 50px 50px;
  269. -webkit-box-shadow: 0 0 10px rgba(32, 32, 32, 0.25);
  270. box-shadow: 0 0 10px rgba(32, 32, 32, 0.25);
  271. display: -webkit-box;
  272. display: -ms-flexbox;
  273. display: flex;
  274. -webkit-box-orient: vertical;
  275. -webkit-box-direction: normal;
  276. -ms-flex-direction: column;
  277. flex-direction: column;
  278. -webkit-box-align: center;
  279. -ms-flex-align: center;
  280. align-items: center;
  281. z-index: 3;
  282. }
  283. .slick-bg .ADclose:hover {
  284. cursor: pointer;
  285. }
  286. .slick-bg .ADclose p {
  287. font-size: 12px;
  288. color: #888;
  289. text-align: center;
  290. margin-top: 8px;
  291. }
  292. .slick-bg .ADclose .arrow {
  293. position: absolute;
  294. left: 16px;
  295. top: 0;
  296. opacity: 1;
  297. }
  298. .slick-bg .ADclose .arrow::before, .slick-bg .ADclose .arrow::after {
  299. display: block;
  300. }
  301. /*# sourceMappingURL=top_banner.css.map */