index.css 6.9 KB

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