index.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. *{
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. font-family: 微软雅黑;
  6. list-style: none;
  7. text-decoration: none;
  8. }
  9. body{
  10. background-color: #EEEDED;
  11. }
  12. header{
  13. background-color: #FDC606;
  14. display: flex;
  15. line-height: 50px;
  16. height: 60px;
  17. padding: 5px 15px;
  18. justify-content: space-between;
  19. box-shadow: 0px 0px 4px 0 rgba(0,0,0,.5);
  20. }
  21. .logo{
  22. width: 40px;
  23. height: 40px;
  24. border-radius: 5px;
  25. margin-top: 5px;
  26. }
  27. header a{
  28. color: #000;
  29. text-decoration: none;
  30. font-weight: 500;
  31. }
  32. .nav{
  33. width: 1200px;
  34. max-width: 80%;
  35. /* text-align: center; */
  36. }
  37. .nav a{
  38. line-height: 40px;
  39. height: 40px;
  40. margin: 0 20px;
  41. padding: 0 20px;
  42. display: inline-block;
  43. border-radius: 30px 15px 30px 15px;
  44. }
  45. /* .nav a:hover{
  46. color: #fff;
  47. transition: all 0.5s;
  48. } */
  49. .nav .act{
  50. background-color: #000;
  51. color: #fff;
  52. transform: skew(-10deg);
  53. }
  54. .login img{
  55. border-radius: 50%;
  56. position: relative;
  57. top: 10px;
  58. }
  59. .login a{
  60. padding: 0 10px;
  61. }
  62. .menu{
  63. display: inline-block;
  64. position: relative;
  65. padding: 0 10px;
  66. width: 100px;
  67. cursor: pointer;
  68. }
  69. .menu:hover ul{
  70. visibility: visible;
  71. transition: .3s;
  72. }
  73. .menu ul{
  74. background-color: #fff;
  75. border-radius: 4px;
  76. color: #333;
  77. font-size: 13px;
  78. line-height: 28px;
  79. padding: 5px;
  80. position: absolute;
  81. width: 130px;
  82. right: 5px;
  83. visibility: hidden;
  84. }
  85. .menu ul li:hover{
  86. background-color: #f5f5f5;
  87. cursor: pointer;
  88. }
  89. .phone{
  90. display: none;
  91. }
  92. .content{
  93. width: 1200px;
  94. max-width: 100%;
  95. margin: 20px auto;
  96. display: flex;
  97. justify-content: space-between;
  98. flex-wrap: wrap;
  99. font-size: 14px;
  100. }
  101. .left{
  102. width: 70%;
  103. }
  104. .right{
  105. width: 28%;
  106. }
  107. .banner{
  108. height: 150px;
  109. background-color: #000;
  110. text-align: center;
  111. color: #fff;
  112. line-height: 150px;
  113. }
  114. .part{
  115. background-color: #fff;
  116. padding: 15px;
  117. box-shadow: 0px 0px 4px 0 rgba(0,0,0,.1);
  118. margin: 15px 0;
  119. }
  120. .title{
  121. font-size: 22px;
  122. font-weight: 500;
  123. text-align: center;
  124. margin-bottom: 20px;
  125. position: relative;
  126. }
  127. .title span{
  128. position: relative;
  129. z-index: 9;
  130. }
  131. .title::before{
  132. content: '';
  133. position: absolute;
  134. width: 0;
  135. height: 0;
  136. border-left: 25px solid transparent;
  137. border-right: 130px solid transparent;
  138. border-bottom: 20px solid #FDC606;
  139. left: 0;
  140. right: 0;
  141. margin: auto;
  142. top: 35%;
  143. z-index: 1;
  144. transform: rotate(-10deg);
  145. }
  146. .list{
  147. display: flex;
  148. flex-wrap: wrap;
  149. }
  150. .list li{
  151. width: 48%;
  152. overflow: hidden;
  153. text-overflow: ellipsis;
  154. white-space: nowrap;
  155. line-height: 50px;
  156. }
  157. .list li a{
  158. color: #333;
  159. text-decoration: none;
  160. font-weight: 500;
  161. }
  162. .list li a:hover{
  163. color: #0760C7;
  164. }
  165. .more{
  166. display: block;
  167. background-color: #000;
  168. color: #fff;
  169. padding: 10px 0;
  170. text-align: center;
  171. margin: 15px auto;
  172. border-radius: 3px;
  173. width: 200px;
  174. }
  175. .sec_title{
  176. display: flex;
  177. justify-content: space-between;
  178. align-items: flex-end;
  179. margin-bottom: 20px;
  180. }
  181. .sec_title span{
  182. font-size: 16px;
  183. border-bottom: 4px solid #FDC606;
  184. }
  185. .sec_title a{
  186. font-size: 13px;
  187. color: #0760C7;
  188. font-weight: 600;
  189. position: relative;
  190. top: -4px;
  191. }
  192. .list_100 li{
  193. width: 100%;
  194. display: flex;
  195. line-height: 40px;
  196. justify-content: space-between;
  197. }
  198. .list_100 li span{
  199. color: #999;
  200. font-size: 13px;
  201. }
  202. .comment textarea{
  203. width: 100%;
  204. height: 100px;
  205. border: 1px solid #ccc;
  206. border-radius: 3px;
  207. padding: 10px;
  208. margin-bottom: 15px;
  209. outline: none;
  210. }
  211. .form{
  212. text-align: center;
  213. }
  214. .form input,.form textarea{
  215. width: 100%;
  216. height: 40px;
  217. border: 1px solid #ccc;
  218. border-radius: 3px;
  219. padding: 0 10px;
  220. margin-bottom: 15px;
  221. outline: none;
  222. }
  223. .form textarea{
  224. height: 200px;
  225. padding: 10px;
  226. }
  227. .form button{
  228. width: 150px;
  229. height: 40px;
  230. border: none;
  231. background-color: #000;
  232. color: #fff;
  233. font-weight: 600;
  234. border-radius: 3px;
  235. outline: none;
  236. }
  237. .form button:hover{
  238. background-color: #333;
  239. cursor: pointer;
  240. transition: .3s;
  241. }
  242. input:focus{
  243. border:2px solid #0760C7;
  244. }
  245. .page{
  246. text-align: center;
  247. padding: 10px 0;
  248. }
  249. .page button{
  250. background: none;
  251. border: 1px solid #ccc;
  252. border-radius: 3px;
  253. padding: 5px 7px;
  254. margin: 0 20px;
  255. font-size: 13px;
  256. }
  257. .page button:hover{
  258. color: #fff;
  259. background-color: #0760C7;
  260. transition: .5s;
  261. border-color: #0760C7;
  262. cursor: pointer;
  263. }
  264. .page b{
  265. color: #0760C7;
  266. }
  267. .navtation{
  268. margin: 20px 0 0;
  269. width: 100%;
  270. }
  271. .navtation a{
  272. color: #0760C7;
  273. }
  274. footer{
  275. height: 200px;
  276. background-color: #000;
  277. }
  278. .slide{
  279. background-color: #fff;
  280. width: 150px;
  281. position: absolute;
  282. top: 60px;
  283. left: 0;
  284. }
  285. .slide a{
  286. display: block;
  287. color: #333;
  288. line-height: 30px;
  289. border-bottom: 1px solid #f5f5f5;
  290. padding: 10px 20px;
  291. }
  292. .slide-enter-from,.slide-leave-to{
  293. transform: translateX(-100%);
  294. }
  295. .slide-enter-active,.slide-leave-active{
  296. transition: .5s;
  297. }
  298. @media screen and (max-width: 768px){
  299. .content{
  300. padding: 0 15px;
  301. }
  302. .left,.right{
  303. width: 100% !important;
  304. margin-bottom: 10px;
  305. }
  306. .nav{
  307. display: none;
  308. }
  309. .phone{
  310. display: inline-block;
  311. }
  312. .pc{
  313. display: none;
  314. }
  315. .logo{
  316. width: 30px;
  317. height: 30px;
  318. margin-left: 5px;
  319. margin-top: 0;
  320. }
  321. .left_nav{
  322. padding-top: 10px;
  323. }
  324. }