index.css 6.7 KB

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