index.css 8.1 KB

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