base.scss 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. body {
  2. min-height: 100vh;
  3. font-size: 16px;
  4. color: #272727;
  5. font-family: 'Microsoft YaHei', SimSun, Arial, Helvetica, sans-serif;
  6. }
  7. h1,
  8. h2,
  9. h3,
  10. h4,
  11. h5,
  12. h6,
  13. p {
  14. margin: 0;
  15. font-size: 16px;
  16. }
  17. ul,
  18. ol {
  19. margin: 0;
  20. padding: 0;
  21. }
  22. li {
  23. padding: 0;
  24. list-style-type: none;
  25. }
  26. a {
  27. text-decoration: none;
  28. color: #272727;
  29. }
  30. ::-webkit-scrollbar {
  31. width: 8px;
  32. height: 8px;
  33. background-color: #f5f5f5;
  34. }
  35. ::-webkit-scrollbar-thumb {
  36. border-radius: 4px;
  37. background-color: #cccecf;
  38. }
  39. .container {
  40. width: 1200px;
  41. margin: 0 auto;
  42. }
  43. .flex {
  44. display: flex;
  45. justify-content: space-between;
  46. align-items: center;
  47. }
  48. .fl {
  49. float: left !important;
  50. }
  51. .fr {
  52. float: right !important;
  53. }
  54. .clearfix::after {
  55. content: '';
  56. display: block;
  57. clear: both;
  58. }
  59. .mt18 {
  60. margin-top: 18px;
  61. }
  62. .mr18 {
  63. margin-right: 18px;
  64. }
  65. .mb18 {
  66. margin-bottom: 18px;
  67. }
  68. .ml18 {
  69. margin-left: 18px;
  70. }
  71. .section-title {
  72. position: relative;
  73. text-align: center;
  74. height: 66px;
  75. img {
  76. display: block;
  77. height: 50px;
  78. margin: 0 auto;
  79. }
  80. h3 {
  81. position: absolute;
  82. left: 50%;
  83. bottom: 0;
  84. transform: translateX(-50%);
  85. font-size: 34px;
  86. font-weight: normal;
  87. }
  88. }
  89. // 导航菜单
  90. .header {
  91. position: sticky;
  92. width: 100%;
  93. left: 0;
  94. top: 0;
  95. z-index: 99;
  96. background-color: #fff;
  97. .logo {
  98. h1 {
  99. font-size: 0;
  100. }
  101. img {
  102. display: block;
  103. height: 42px;
  104. }
  105. }
  106. .nav {
  107. display: flex;
  108. align-items: center;
  109. height: 68px;
  110. li {
  111. position: relative;
  112. height: 100%;
  113. margin-left: 56px;
  114. &:hover {
  115. &::after {
  116. opacity: 1;
  117. }
  118. a {
  119. color: #0688d2;
  120. }
  121. }
  122. &:first-child {
  123. margin-left: 0;
  124. }
  125. &::after {
  126. content: '';
  127. opacity: 0;
  128. width: 100%;
  129. height: 3px;
  130. position: absolute;
  131. left: 0;
  132. bottom: 0;
  133. background-color: #0688d2;
  134. transition: all .2s;
  135. }
  136. &.active {
  137. &::after {
  138. opacity: 1;
  139. }
  140. a {
  141. color: #0688d2;
  142. }
  143. }
  144. a {
  145. display: block;
  146. line-height: 68px;
  147. transition: all .2s;
  148. }
  149. }
  150. }
  151. }
  152. // 底部区域
  153. .footer {
  154. margin-top: 120px;
  155. padding-top: 38px;
  156. padding-bottom: 24px;
  157. background: #1b1b1b;
  158. .container {
  159. .section {
  160. margin-right: 180px;
  161. .item {
  162. position: relative;
  163. color: rgba(255, 255, 255, 0.5);
  164. margin-top: 20px;
  165. padding-left: 30px;
  166. font-size: 12px;
  167. &::before {
  168. content: '';
  169. display: block;
  170. width: 20px;
  171. height: 20px;
  172. background-color: #fff;
  173. position: absolute;
  174. left: 0;
  175. top: 50%;
  176. transform: translateY(-50%);
  177. }
  178. &.mobile {
  179. span {
  180. &:last-child {
  181. margin-left: 16px;
  182. }
  183. }
  184. }
  185. }
  186. }
  187. .nav {
  188. margin-left: 110px;
  189. li {
  190. margin-top: 25px;
  191. text-align: center;
  192. &:first-child {
  193. margin-top: 12px;
  194. }
  195. a {
  196. font-size: 14px;
  197. color: rgba(255, 255, 255, 0.5);
  198. &:hover {
  199. color: #0688d2;
  200. }
  201. }
  202. }
  203. }
  204. .qrcode {
  205. padding: 7px;
  206. background: rgba(255, 255, 255, 0.06);
  207. img {
  208. display: block;
  209. width: 94px;
  210. height: 94px;
  211. background-color: #fff;
  212. }
  213. .tip {
  214. font-size: 12px;
  215. color: #ffffff;
  216. margin-top: 5px;
  217. text-align: center;
  218. }
  219. }
  220. }
  221. .line {
  222. width: 100%;
  223. height: 1px;
  224. background-color: rgba(255, 255, 255, 0.3);
  225. margin: 32px 0 24px;
  226. }
  227. .link {
  228. display: flex;
  229. justify-content: center;
  230. align-items: center;
  231. i {
  232. display: block;
  233. height: 10px;
  234. width: 1px;
  235. background-color: rgba(255, 255, 255, 0.4);
  236. margin: 0 16px;
  237. }
  238. a {
  239. color: rgba(255, 255, 255, 0.4);
  240. font-size: 12px;
  241. &:hover {
  242. color: #0688d2;
  243. }
  244. }
  245. }
  246. .copyright {
  247. margin-top: 20px;
  248. text-align: center;
  249. color: rgba(255, 255, 255, 0.4);
  250. font-size: 12px;
  251. a {
  252. color: rgba(255, 255, 255, 0.8);
  253. text-decoration: underline;
  254. }
  255. * {
  256. margin: 0 24px;
  257. }
  258. }
  259. }