hjyd
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

255 lines
5.3 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. html,
  2. body {
  3. position: relative;
  4. box-sizing: border-box;
  5. background-image: url(./assets/img/banner/onestop/1.png),
  6. url(./assets/img/banner/onestop/back.jpg),
  7. url(./assets/img/banner/lilun/back1.jpg),
  8. url(./assets/img/banner/design/g.jpg),
  9. url(./assets/img/banner/team/back2.jpg),
  10. url(./assets/img/banner/nation/back.jpg);
  11. background-size: 0 0;
  12. font-size: 24px;
  13. }
  14. @font-face {
  15. font-family: 'ZonaPro';
  16. src: url(./assets/fonts/ZonaPro-ExtraBold.otf);
  17. }
  18. /*去除a标签下划线*/
  19. a {
  20. text-decoration: none;
  21. }
  22. /*去除未被访问的a标签的下划线*/
  23. a:link {
  24. text-decoration: none;
  25. }
  26. /*去除已经被访问过的a标签的下划线*/
  27. a:visited {
  28. text-decoration: none;
  29. }
  30. /*去除鼠标悬停时的a标签的下划线*/
  31. a:hover {
  32. text-decoration: none;
  33. }
  34. /*去除正在点击的a标签的下划线(鼠标按下,尚未松开)*/
  35. a:active {
  36. text-decoration: none;
  37. }
  38. /*去除获得焦点的a标签的下划线(被鼠标点击过)*/
  39. a:focus {
  40. text-decoration: none;
  41. }
  42. .page_padding_top {
  43. padding-top: $header_height;
  44. width: 100%;
  45. height: 100%;
  46. box-sizing: border-box;
  47. }
  48. .flex_center {
  49. display: flex;
  50. align-items: center;
  51. justify-content: center;
  52. }
  53. body {
  54. background: #eee;
  55. font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  56. font-size: 14px;
  57. color: #000;
  58. margin: 0;
  59. padding: 0;
  60. }
  61. .swiper {
  62. width: 100vw;
  63. height: 100vh;
  64. }
  65. .swiper-slide {
  66. // text-align: center;
  67. font-size: 18px;
  68. background: #fff;
  69. box-sizing: border-box;
  70. /* Center slide text vertically */
  71. img {
  72. display: block;
  73. width: 100%;
  74. height: 100%;
  75. object-fit: cover;
  76. }
  77. }
  78. // 首页轮播 pagination重写样式
  79. .home_swiper {
  80. position: relative;
  81. .swiper-pagination {
  82. display: flex;
  83. flex-direction: column;
  84. align-items: center;
  85. left: 30px !important;
  86. width: 18px;
  87. margin-right: 40px;
  88. .swiper-pagination-bullet {
  89. width: 6px;
  90. height: 6px;
  91. background: $point_default;
  92. border-radius: 50%;
  93. }
  94. .swiper-pagination-bullet-active {
  95. background-color: $theme_color;
  96. transition-property: all;
  97. transition-duration: 1s;
  98. animation-fill-mode: forwards;
  99. width: 24px;
  100. height: 6px;
  101. border-radius: 3px;
  102. }
  103. }
  104. }
  105. // 头部轮播 pagination重写样式
  106. .header_swiper {
  107. position: relative;
  108. .swiper-pagination {
  109. display: flex;
  110. flex-direction: row;
  111. position: absolute;
  112. right: 0 !important;
  113. left: 87px !important;
  114. bottom: 0px !important;
  115. width: 250px !important;
  116. height: 100px;
  117. .swiper-pagination-bullet {
  118. width: 50px;
  119. height: 3px !important;
  120. background: #c2c2c2 !important;
  121. opacity: 1 !important;
  122. // height: 5px;
  123. border-radius: 2px !important;
  124. .home_swiper_page_num {
  125. position: absolute;
  126. bottom: 90px;
  127. display: flex;
  128. height: 14px;
  129. font-size: 20px;
  130. font-family: 'ZonaPro';
  131. font-weight: 900;
  132. color: #c2c2c2;
  133. line-height: 67px;
  134. width: 40px;
  135. justify-content: center;
  136. }
  137. }
  138. .active-class-1 {
  139. background: $theme_color !important;
  140. opacity: 1 !important;
  141. .home_swiper_page_num {
  142. position: absolute;
  143. bottom: 90px;
  144. display: flex;
  145. height: 14px;
  146. font-size: 20px;
  147. font-family: 'ZonaPro';
  148. font-weight: 900;
  149. color: $theme_color;
  150. line-height: 67px;
  151. width: 40px;
  152. justify-content: center;
  153. }
  154. }
  155. .active-class-2 {
  156. background: #fff !important;
  157. opacity: 1 !important;
  158. .home_swiper_page_num {
  159. position: absolute;
  160. bottom: 90px;
  161. display: flex;
  162. height: 14px;
  163. font-size: 20px;
  164. font-family: 'ZonaPro';
  165. font-weight: 900;
  166. color: #fff;
  167. line-height: 67px;
  168. width: 40px;
  169. justify-content: center;
  170. }
  171. }
  172. .swiper-pagination-bullet-active {
  173. background: $theme_color !important;
  174. opacity: 1 !important;
  175. .home_swiper_page_num {
  176. position: absolute;
  177. bottom: 90px;
  178. display: flex;
  179. height: 14px;
  180. font-size: 20px;
  181. font-family: 'ZonaPro';
  182. font-weight: 900;
  183. color: $theme_color;
  184. line-height: 67px;
  185. width: 40px;
  186. justify-content: center;
  187. }
  188. }
  189. }
  190. }
  191. .case_detail_swiper {
  192. position: relative;
  193. width: 100%;
  194. height: 100%;
  195. .swiper-pagination {
  196. display: block;
  197. position: absolute;
  198. bottom: 20px !important;
  199. .swiper-pagination-bullet {
  200. width: 8px;
  201. height: 8px;
  202. background: #fafafa;
  203. border-radius: 50%;
  204. }
  205. .swiper-pagination-bullet-active {
  206. background-color: $theme_color;
  207. }
  208. }
  209. }
  210. .autoplay-progress {
  211. position: absolute;
  212. left: 90vw;
  213. bottom: 73px;
  214. z-index: 10;
  215. width: 100px;
  216. height: 10px;
  217. display: flex;
  218. align-items: center;
  219. justify-content: center;
  220. font-weight: bold;
  221. }
  222. .autoplay-progress svg {
  223. --progress: 0;
  224. position: absolute;
  225. left: 0;
  226. top: 0;
  227. z-index: 10;
  228. width: 100%;
  229. height: 100%;
  230. stroke-width: 10px;
  231. stroke: $theme_color;
  232. stroke-dashoffset: calc(480 * (1 - var(--progress)));
  233. stroke-dasharray: 480;
  234. }
  235. .ignore-min-width {
  236. min-width: 1280px;
  237. }
  238. .swiper-button-next:after,
  239. .swiper-button-prev:after {
  240. font-size: 0;
  241. display: none;
  242. }