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.

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