wsjk.css 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526
  1. body{
  2. color: #000;
  3. background-color: #DEDCDD;
  4. }
  5. a{
  6. color: #000;
  7. }
  8. a:hover{
  9. color: #ff1111;
  10. }
  11. .header-top{
  12. width: 100%;
  13. height: 26px;
  14. line-height: 26px;
  15. background-color: #F6F6F6;
  16. }
  17. .header-top .wrap{
  18. position: relative;
  19. }
  20. .header-img{
  21. position: relative;
  22. }
  23. .header-img img{
  24. width: auto;
  25. margin: 0 auto;
  26. }
  27. .header-right{
  28. position: absolute;
  29. top: 50%;
  30. right: 0px;
  31. transform: translateY(-50%);
  32. padding: 0 15px 0 40px;
  33. background-size: 18px;
  34. border-radius: 30px;
  35. }
  36. .header-mesg{
  37. position: absolute;
  38. top: 50%;
  39. right: 0px;
  40. transform: translateY(-50%);
  41. text-align: right;
  42. line-height: 22px;
  43. background-color: #fff;
  44. }
  45. /* 导航 */
  46. .header-nav{
  47. background-color: #194e83;
  48. }
  49. .header-nav ul{
  50. height: 46px;
  51. line-height: 46px;
  52. background-color: transparent;
  53. }
  54. .nav-secondLevel{
  55. top: 46px;
  56. }
  57. .header-nav li:last-child{
  58. background: none;
  59. }
  60. .header-nav li:hover a {
  61. background-color: #2163a2;
  62. }
  63. .nav-secondLevel li:hover a {
  64. background-color: #009dff !important;
  65. }
  66. .header-nav .nav-secondLevel li a{
  67. border-color: transparent;
  68. }
  69. .header-nav .nav-threeLevel li a:hover{
  70. background-color: #0b64d0 !important;
  71. }
  72. .header-nav li a{
  73. position: relative;
  74. height: 46px;
  75. line-height: 46px;
  76. }
  77. .header-nav a i{
  78. width: 0;
  79. height: 0;
  80. border: 6px solid transparent;
  81. border-bottom-color: #fff;
  82. position: absolute;
  83. bottom: 0;
  84. left: 50%;
  85. transform: translateX(-50%);
  86. opacity: 0;
  87. }
  88. .header-nav li:hover a i{
  89. opacity: 1;
  90. }
  91. /* 主体 */
  92. .content-row{
  93. background-color: #fff;
  94. display: flex;
  95. justify-content: space-between;
  96. }
  97. .content-item{
  98. width: 49%;
  99. box-sizing: border-box;
  100. margin-bottom: 20px;
  101. }
  102. .content-item-swiper{
  103. overflow: hidden;
  104. }
  105. .content-item-img-wrap{
  106. margin-bottom: 40px;
  107. }
  108. .content-item h2{
  109. font-size: 18px;
  110. background-size: contain;
  111. overflow: hidden;
  112. border-bottom: 2px solid #720808;
  113. color: #ff0000;
  114. height: 46px;
  115. line-height: 46px;
  116. padding: 0 10px;
  117. }
  118. .content-item h2 i{
  119. font-style: normal;
  120. font-weight: normal;
  121. padding: 0 3px;
  122. }
  123. .content-item h2 span{
  124. display: inline-block;
  125. color: #fff;
  126. background-color: #0b64d0;
  127. padding: 10px 14px;
  128. font-size: 18px;
  129. }
  130. .content-item h2 a{
  131. font-weight: normal;
  132. float: right;
  133. font-size: 14px;
  134. }
  135. .content-item h2 a:hover{
  136. color: #FF0000;
  137. }
  138. .content-item h2 a:hover .triangle{
  139. border-left-color: #FF0000;
  140. }
  141. .content-wrap ul li{
  142. height: 44px;
  143. line-height: 44px;
  144. margin: 0 10px;
  145. border-bottom: 1px dashed #ccc;
  146. }
  147. .content-wrap li p{
  148. width: calc(100% - 80px);
  149. overflow: hidden;
  150. text-overflow: ellipsis;
  151. white-space: nowrap;
  152. float: left;
  153. }
  154. .content-wrap .list-time {
  155. float: right;
  156. color: #666;
  157. }
  158. .content-wrap a:hover .list-time {
  159. color: #ff1111;
  160. }
  161. .content-item-swiper .content-wrap{
  162. margin-left: 41%;
  163. }
  164. .content-item-img{
  165. position: relative;
  166. }
  167. .content-item-img img{
  168. display: block;
  169. width: 100%;
  170. }
  171. .content-item-img span{
  172. position: absolute;
  173. left: 35px;
  174. bottom: 0;
  175. color: #fff;
  176. background-color: rgba(11, 100, 208, .9);
  177. display: inline-block;
  178. padding: 28px 22px;
  179. font-size: 26px;
  180. letter-spacing: 4px;
  181. }
  182. .content-item-img-wrap ul{
  183. display: flex;
  184. flex-wrap: wrap;
  185. justify-content: space-between;
  186. }
  187. .content-item-img-wrap ul li{
  188. width: 47.5%;
  189. }
  190. /* banner轮播 */
  191. .banner{
  192. margin-bottom: 20px;
  193. }
  194. .banner .swiper-pagination-bullet{
  195. width: 12px;
  196. height: 12px;
  197. }
  198. .banner .swiper-pagination-bullet-active {
  199. color:#fff;
  200. background: #ff3300;
  201. }
  202. .banner .swiper-container-horizontal>.swiper-pagination-bullets{
  203. text-align: right;
  204. left: -8px;
  205. }
  206. .banner .swiper-slide{
  207. position: relative;
  208. }
  209. .banner .swiper-slide img{
  210. display: block;
  211. width: 100%;
  212. }
  213. .banner .swiper-slide .swiper-title{
  214. position: absolute;
  215. left: 0;
  216. bottom: 0;
  217. height: 38px;
  218. line-height: 38px;
  219. background-color: rgba(0,0,0,.6);
  220. color: #fff;
  221. padding: 0 125px 0 10px;
  222. box-sizing: border-box;
  223. width: 100%;
  224. overflow: hidden;
  225. text-overflow: ellipsis;
  226. white-space: nowrap;
  227. }
  228. /* 轮播 */
  229. .content-item-swiper .swiper-container{
  230. width: 40%;
  231. float: left;
  232. }
  233. .content-item-swiper .swiper-pagination-bullet{
  234. width: 22px;
  235. height: 18px;
  236. line-height: 18px;
  237. border-radius: 2px;
  238. font-size: 12px;
  239. text-align: center;
  240. background-color: rgba(0, 0, 0, .6);
  241. color: #fff;
  242. }
  243. .content-item-swiper .swiper-pagination-bullet-active {
  244. color:#fff;
  245. background: rgba(7, 173, 231, .8);
  246. }
  247. .content-item-swiper .swiper-container-horizontal>.swiper-pagination-bullets{
  248. text-align: right;
  249. left: -3px;
  250. bottom: 3px;
  251. }
  252. .content-item-swiper .swiper-slide{
  253. position: relative;
  254. }
  255. .content-item-swiper .swiper-slide img{
  256. display: block;
  257. width: 100%;
  258. }
  259. .content-item-swiper .swiper-slide .swiper-title{
  260. position: absolute;
  261. left: 0;
  262. top: 0;
  263. height: 26px;
  264. line-height: 26px;
  265. background-color: #0b64d0;
  266. color: #fff;
  267. padding: 0 10px;
  268. box-sizing: border-box;
  269. width: 100%;
  270. overflow: hidden;
  271. text-overflow: ellipsis;
  272. white-space: nowrap;
  273. text-align: center;
  274. }
  275. /* 列表页 */
  276. .content-list-wrap{
  277. border: 1px solid #194e83;
  278. background-color: #fff;
  279. }
  280. .crumbs{
  281. background-color: #194e83;
  282. color: #fff;
  283. line-height: 40px;
  284. }
  285. .crumbs a{
  286. color: #fff;
  287. }
  288. .content-left h2{
  289. background-color: #194e83;
  290. }
  291. .banner-list{
  292. margin-bottom: 10px;
  293. }
  294. .banner-list img{
  295. width: 100%;
  296. }
  297. .content-left{
  298. background-color: #fff;
  299. }
  300. .list-wrap .list-time{
  301. color: #666;
  302. }
  303. .content-part>div{
  304. margin-bottom: 0;
  305. }
  306. /* 底部 */
  307. .footer{
  308. margin-top: 20px;
  309. }
  310. .footer-mesg{
  311. background-color: #194e83;
  312. }
  313. .mobile-nav-icon span{
  314. background-color: #C90303;
  315. }
  316. .mobile-header-nav>ul{
  317. background-color: #194e83;
  318. }
  319. .mobile-header-nav>ul>li {
  320. background-color: #194e83;
  321. }
  322. .mobile-header-nav li a {
  323. border-color: #1c5996;
  324. }
  325. .mobile-header-nav .nav-secondLevel{
  326. background-color: #2163a2;
  327. }
  328. .mobile-header-nav .nav-threeLevel {
  329. background-color: #6dbedc;
  330. }
  331. /* 响应式 */
  332. @media screen and (max-width: 1024px) {
  333. .header-img img{
  334. width: 100%;
  335. }
  336. .footer-link ul li{
  337. margin-right: 15px;
  338. }
  339. .footer-link ul i{
  340. padding-left: 15px;
  341. }
  342. }
  343. @media screen and (max-width: 980px) {
  344. .header-nav{
  345. background-repeat: repeat;
  346. background-position: left top;
  347. }
  348. .header-nav ul{
  349. height: auto;
  350. }
  351. /* flex布局,item元素补全 */
  352. .header-nav ul::after{
  353. content: "";
  354. width: 50%;
  355. }
  356. .header-mesg{
  357. position: relative;
  358. top: 0;
  359. left: 0;
  360. transform: translateY(0);
  361. overflow: hidden;
  362. }
  363. .header-mesg p{
  364. float: left;
  365. margin-right: 20px;
  366. margin-bottom: 8px;
  367. }
  368. .content-item{
  369. width: 100% !important;
  370. }
  371. .content-row{
  372. flex-wrap: wrap;
  373. }
  374. .content-part .content-left{
  375. margin-bottom: 10px;
  376. }
  377. }
  378. @media screen and (max-width: 768px) {
  379. .content-item{
  380. width: 100%;
  381. }
  382. /* 轮播 */
  383. .content-item-swiper .swiper-container{
  384. width: 100%;
  385. float: inherit;
  386. }
  387. .content-item-swiper ul{
  388. margin-left: 0;
  389. }
  390. .content-item-swiper .content-wrap{
  391. margin-left: 0;
  392. margin-top: 20px;
  393. }
  394. .content-item-img-wrap ul li{
  395. width: 100%;
  396. margin: 0;
  397. padding: 0 10px;
  398. }
  399. }
  400. @media screen and (max-width: 640px) {
  401. .header{
  402. box-shadow: 0 1px 3px #ddd;
  403. }
  404. .header-top{
  405. display: none;
  406. }
  407. .header-img{
  408. width: 100%;
  409. height: auto;
  410. }
  411. .header-img img{
  412. height: 58px;
  413. width: auto;
  414. }
  415. .content-wrap li p{
  416. width: calc(100% - 100px);
  417. }
  418. .content-item-img span{
  419. font-size: 20px;
  420. padding: 20px 18px;
  421. }
  422. .footer-link ul{
  423. margin-left: 0;
  424. }
  425. }