index.css 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431
  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: 100%;
  24. /* border-radius: 5px; */
  25. /* margin-top: 5px; */
  26. margin-left: 15px;
  27. }
  28. header a{
  29. color: #000;
  30. text-decoration: none;
  31. font-weight: 500;
  32. font-size: 14px;
  33. }
  34. .nav{
  35. width: 1200px;
  36. max-width: 55%;
  37. /* text-align: center; */
  38. }
  39. .nav a{
  40. line-height: 40px;
  41. height: 40px;
  42. margin: 0 5px;
  43. padding: 0 20px;
  44. display: inline-block;
  45. border-radius: 30px;
  46. }
  47. .nav a:hover{
  48. color: #fff;
  49. transition: all 0.5s;
  50. background-color: #000;
  51. border-radius: 20px;
  52. }
  53. .nav .act{
  54. background-color: #000;
  55. color: #fff;
  56. font-weight: 600;
  57. /* transform: skew(-10deg); */
  58. }
  59. .login img{
  60. border-radius: 50%;
  61. position: relative;
  62. top: 10px;
  63. }
  64. .login div>a{
  65. background-color: #000;
  66. color: #fff;
  67. display: inline-block;
  68. width: 125px;
  69. height: 40px;
  70. text-align: center;
  71. line-height: 40px;
  72. border-radius: 10px;
  73. }
  74. .menu{
  75. display: inline-block;
  76. position: relative;
  77. padding: 0 10px;
  78. width: 100px;
  79. cursor: pointer;
  80. }
  81. .menu:hover ul{
  82. visibility: visible;
  83. transition: .3s;
  84. }
  85. .menu ul{
  86. background-color: #fff;
  87. border-radius: 4px;
  88. color: #333;
  89. font-size: 13px;
  90. line-height: 28px;
  91. padding: 5px 10px;
  92. position: absolute;
  93. width: 130px;
  94. right: 5px;
  95. visibility: hidden;
  96. /* text-align: center; */
  97. }
  98. .menu ul li:hover{
  99. background-color: #f5f5f5;
  100. cursor: pointer;
  101. }
  102. .phone{
  103. display: none;
  104. }
  105. .content{
  106. width: 1200px;
  107. max-width: 100%;
  108. margin: 0 auto;
  109. display: flex;
  110. justify-content: space-between;
  111. flex-wrap: wrap;
  112. font-size: 14px;
  113. }
  114. .left{
  115. width: 75%;
  116. }
  117. .right{
  118. width: calc(25% - 20px);
  119. }
  120. .banner{
  121. height: 158px;
  122. background-color: #fff;
  123. text-align: center;
  124. color: #fff;
  125. line-height: 150px;
  126. /* margin-bottom: 16px; */
  127. border-radius: 10px;
  128. overflow: hidden;
  129. }
  130. .part{
  131. background-color: #fff;
  132. padding: 35px;
  133. box-shadow: 0px 0px 4px 0 rgba(0,0,0,.1);
  134. margin: 0 0 16px;
  135. border-radius: 10px;
  136. }
  137. .title{
  138. font-size: 18px;
  139. font-weight: 600;
  140. text-align: center;
  141. margin-bottom: 20px;
  142. position: relative;
  143. }
  144. .title span{
  145. position: relative;
  146. z-index: 9;
  147. border-bottom: 13px solid #F6C845;
  148. display: inline-block;
  149. line-height: 2px;
  150. }
  151. .list{
  152. display: flex;
  153. flex-wrap: wrap;
  154. /* justify-content: space-between; */
  155. }
  156. .list li{
  157. width: 48%;
  158. /* overflow: hidden;
  159. text-overflow: ellipsis;
  160. white-space: nowrap; */
  161. /* line-height: 50px; */
  162. }
  163. .list li a{
  164. color: #333;
  165. text-decoration: none;
  166. font-weight: 500;
  167. }
  168. .list li a:hover{
  169. color: #0760C7;
  170. }
  171. .index .left li{
  172. background-image: linear-gradient(to top,#FFFFFF,#E9EDFD);
  173. border-radius: 10px;
  174. height: 92px;
  175. width: 31%;
  176. padding: 15px;
  177. position: relative;
  178. padding-left: 50px;
  179. margin-bottom: 20px;
  180. box-shadow: 0 6px 5px 1px rgba(0,0,0,.1);
  181. line-height: 25px;
  182. display: table;
  183. border: 1px solid #fff;
  184. margin: 10px 1%;
  185. }
  186. .index .left li div{
  187. display: table-cell;
  188. vertical-align: middle;
  189. }
  190. .index .left li a{
  191. display: -webkit-box;
  192. -webkit-box-orient: vertical;
  193. -webkit-line-clamp: 2; /* 限制显示的行数为2 */
  194. overflow: hidden; /* 隐藏超出部分 */
  195. text-overflow: ellipsis; /* 显示省略号 */
  196. max-height: 50px;
  197. }
  198. .index .left li::before{
  199. content: '';
  200. width: 20px;
  201. height: 20px;
  202. background-image: url(../img/1.png);
  203. background-size: 100%;
  204. position: absolute;
  205. top: 35px;
  206. left: 10px;
  207. }
  208. .index .left li:hover{
  209. border: 1px solid #C9D8F0;
  210. }
  211. .more{
  212. display: block;
  213. /* background-color: #000; */
  214. color: #2268D0;
  215. padding: 10px 0;
  216. text-align: center;
  217. margin: 15px auto;
  218. border-radius: 3px;
  219. width: 200px;
  220. font-size: 16px;
  221. font-weight: 600;
  222. }
  223. .sec_title{
  224. display: flex;
  225. justify-content: space-between;
  226. align-items: flex-end;
  227. margin-bottom: 20px;
  228. }
  229. .sec_title span{
  230. font-size: 16px;
  231. border-bottom: 7px solid #FDC606;
  232. display: inline-block;
  233. line-height: 7px;
  234. }
  235. .sec_title a{
  236. font-size: 13px;
  237. color: #0760C7;
  238. font-weight: 600;
  239. position: relative;
  240. top: -4px;
  241. }
  242. .list_100 li{
  243. width: 100%;
  244. display: flex;
  245. line-height: 40px !important;
  246. justify-content: space-between;
  247. }
  248. .list_100 li span{
  249. color: #a9abad;
  250. font-size: 13px;
  251. position: relative;
  252. padding-left: 20px;
  253. display: inline-block;
  254. width: 40px;
  255. text-align: center;
  256. }
  257. .list_100 li span::before{
  258. content: '';
  259. width: 15px;
  260. height: 15px;
  261. background-image: url(../img/2.jpg);
  262. background-size: 100%;
  263. position: absolute;
  264. left: 0;
  265. top: 10px;
  266. }
  267. .comment textarea{
  268. width: 100%;
  269. height: 100px;
  270. border: 1px solid #ccc;
  271. border-radius: 3px;
  272. padding: 10px;
  273. margin-bottom: 15px;
  274. outline: none;
  275. }
  276. .form{
  277. text-align: center;
  278. }
  279. .form input,.form textarea{
  280. width: 100%;
  281. height: 45px;
  282. border: 1px solid #ccc;
  283. border-radius: 10px;
  284. padding: 0 10px;
  285. margin-bottom: 15px;
  286. outline: none;
  287. }
  288. input::-webkit-input-placeholder{
  289. color: #BBBBBB;
  290. }
  291. .form textarea{
  292. height: 220px;
  293. padding: 10px;
  294. border: 2px solid #3473F6;
  295. }
  296. .form button{
  297. width: 150px;
  298. height: 40px;
  299. border: none;
  300. background-color: #000;
  301. color: #fff;
  302. font-weight: 600;
  303. border-radius: 3px;
  304. outline: none;
  305. }
  306. .form button:hover{
  307. background-color: #333;
  308. cursor: pointer;
  309. transition: .3s;
  310. }
  311. input:focus{
  312. border:2px solid #0760C7;
  313. }
  314. .page{
  315. text-align: center;
  316. padding: 10px 0;
  317. }
  318. .page button{
  319. background: none;
  320. border: 1px solid #ccc;
  321. border-radius: 3px;
  322. padding: 5px 7px;
  323. margin: 0 20px;
  324. font-size: 13px;
  325. }
  326. .page button:hover{
  327. color: #fff;
  328. background-color: #0760C7;
  329. transition: .5s;
  330. border-color: #0760C7;
  331. cursor: pointer;
  332. }
  333. .page b{
  334. color: #0760C7;
  335. }
  336. .navtation{
  337. /* margin: 20px 0 0; */
  338. width: 100%;
  339. line-height: 40px;
  340. }
  341. .navtation a{
  342. color: #0760C7;
  343. }
  344. .slide{
  345. background-color: #fff;
  346. width: 150px;
  347. position: absolute;
  348. top: 60px;
  349. left: 0;
  350. }
  351. .slide a{
  352. display: block;
  353. color: #333;
  354. line-height: 30px;
  355. border-bottom: 1px solid #f5f5f5;
  356. padding: 10px 20px;
  357. }
  358. .slide-enter-from,.slide-leave-to{
  359. transform: translateX(-100%);
  360. }
  361. .slide-enter-active,.slide-leave-active{
  362. transition: .5s;
  363. }
  364. footer{
  365. background-color: #000;
  366. padding-top: 30px;
  367. }
  368. footer ul{
  369. display: flex;
  370. justify-content: center;
  371. flex-wrap: wrap;
  372. }
  373. footer li{
  374. width: 20%;
  375. color: #fff;
  376. line-height: 40px;
  377. }
  378. footer a{
  379. display: block;
  380. color: #fff;
  381. font-size: 14px;
  382. }
  383. footer p{
  384. color: #fff;
  385. text-align: center;
  386. padding: 20px 0;
  387. font-size: 12px;
  388. }
  389. @media screen and (max-width: 768px){
  390. footer li{
  391. width: 32%;
  392. /* padding: 0 5px; */
  393. }
  394. footer .contact{
  395. width: 100%;
  396. font-size: 13px;
  397. line-height: 20px;
  398. }
  399. .content{
  400. padding: 0 15px;
  401. }
  402. .index .left li{
  403. width: 100%;
  404. }
  405. .left,.right{
  406. width: 100% !important;
  407. margin-bottom: 10px;
  408. }
  409. .nav{
  410. display: none;
  411. }
  412. .phone{
  413. display: inline-block;
  414. }
  415. .pc{
  416. display: none;
  417. }
  418. .logo{
  419. height: 30px;
  420. margin-left: 5px;
  421. margin-top: 0;
  422. }
  423. .left_nav{
  424. padding-top: 10px;
  425. }
  426. }