index.css 7.2 KB

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