wsjk.css 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588
  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. position: relative;
  194. }
  195. /* 遮罩 */
  196. .swiper-shade{
  197. width: 100%;
  198. height: 100%;
  199. position: absolute;
  200. top: 0;
  201. left: -100%;
  202. background-color: #efefef;
  203. opacity: 0.6;
  204. z-index: 2;
  205. }
  206. .swiper-shade-right{
  207. left: 100%;
  208. }
  209. .banner .swiper-container{
  210. overflow: inherit;
  211. }
  212. .banner .swiper-pagination-bullet{
  213. width: 12px;
  214. height: 12px;
  215. }
  216. .banner .swiper-pagination-bullet-active {
  217. color:#fff;
  218. background: #ff3300;
  219. }
  220. .banner .swiper-container-horizontal>.swiper-pagination-bullets{
  221. text-align: right;
  222. left: -8px;
  223. }
  224. .banner .swiper-slide{
  225. position: relative;
  226. }
  227. .banner .swiper-slide img{
  228. display: block;
  229. width: 100%;
  230. }
  231. .banner .swiper-slide .swiper-title{
  232. position: absolute;
  233. left: 0;
  234. bottom: 0;
  235. height: 38px;
  236. line-height: 38px;
  237. background-color: rgba(0,0,0,.6);
  238. color: #fff;
  239. padding: 0 125px 0 10px;
  240. box-sizing: border-box;
  241. width: 100%;
  242. overflow: hidden;
  243. text-overflow: ellipsis;
  244. white-space: nowrap;
  245. }
  246. /* 轮播 */
  247. .content-item-swiper .swiper-container{
  248. width: 40%;
  249. float: left;
  250. }
  251. .content-item-swiper .swiper-pagination-bullet{
  252. width: 22px;
  253. height: 18px;
  254. line-height: 18px;
  255. border-radius: 2px;
  256. font-size: 12px;
  257. text-align: center;
  258. background-color: rgba(0, 0, 0, .6);
  259. color: #fff;
  260. }
  261. .content-item-swiper .swiper-pagination-bullet-active {
  262. color:#fff;
  263. background: rgba(7, 173, 231, .8);
  264. }
  265. .content-item-swiper .swiper-container-horizontal>.swiper-pagination-bullets{
  266. text-align: right;
  267. left: -3px;
  268. bottom: 3px;
  269. }
  270. .content-item-swiper .swiper-slide{
  271. position: relative;
  272. }
  273. .content-item-swiper .swiper-slide img{
  274. display: block;
  275. width: 100%;
  276. }
  277. .content-item-swiper .swiper-slide .swiper-title{
  278. position: absolute;
  279. left: 0;
  280. top: 0;
  281. height: 26px;
  282. line-height: 26px;
  283. background-color: #0b64d0;
  284. color: #fff;
  285. padding: 0 10px;
  286. box-sizing: border-box;
  287. width: 100%;
  288. overflow: hidden;
  289. text-overflow: ellipsis;
  290. white-space: nowrap;
  291. text-align: center;
  292. }
  293. /* 列表页 */
  294. .content-list-wrap{
  295. border: 1px solid #194e83;
  296. background-color: #fff;
  297. }
  298. .crumbs{
  299. background-color: #194e83;
  300. color: #fff;
  301. line-height: 40px;
  302. }
  303. .crumbs a{
  304. color: #fff;
  305. }
  306. .content-left h2{
  307. background-color: #194e83;
  308. }
  309. .banner-list{
  310. margin-bottom: 10px;
  311. }
  312. .banner-list img{
  313. width: 100%;
  314. }
  315. .content-left{
  316. background-color: #fff;
  317. }
  318. .list-wrap .list-time{
  319. color: #666;
  320. }
  321. .content-part>div{
  322. margin-bottom: 0;
  323. }
  324. /* 底部 */
  325. .footer{
  326. margin-top: 20px;
  327. padding: 20px 0 20px;
  328. background-color: #194e83;
  329. overflow: hidden;
  330. }
  331. .footer-mesg{
  332. background-color: #194e83;
  333. }
  334. .footer-QRcode{
  335. float: left;
  336. margin-left: 12%;
  337. }
  338. .footer-QRcode p{
  339. width: 100px;
  340. display: inline-block;
  341. margin-right: 5px;
  342. vertical-align: middle;
  343. }
  344. .footer-QRcode p:hover{
  345. transform: scale(2);
  346. }
  347. .footer-QRcode p img{
  348. width: 100%;
  349. }
  350. .mobile-nav-icon span{
  351. background-color: #C90303;
  352. }
  353. .mobile-header-nav>ul{
  354. background-color: #194e83;
  355. }
  356. .mobile-header-nav>ul>li {
  357. background-color: #194e83;
  358. }
  359. .mobile-header-nav li a {
  360. border-color: #1c5996;
  361. }
  362. .mobile-header-nav .nav-secondLevel{
  363. background-color: #2163a2;
  364. }
  365. .mobile-header-nav .nav-threeLevel {
  366. background-color: #6dbedc;
  367. }
  368. /* 响应式 */
  369. @media screen and (max-width: 1024px) {
  370. .header-img img{
  371. width: 100%;
  372. }
  373. .footer-link ul li{
  374. margin-right: 15px;
  375. }
  376. .footer-link ul i{
  377. padding-left: 15px;
  378. }
  379. }
  380. @media screen and (max-width: 980px) {
  381. .header-nav{
  382. background-repeat: repeat;
  383. background-position: left top;
  384. }
  385. .header-nav ul{
  386. height: auto;
  387. }
  388. /* flex布局,item元素补全 */
  389. .header-nav ul::after{
  390. content: "";
  391. width: 50%;
  392. }
  393. .header-mesg{
  394. position: relative;
  395. top: 0;
  396. left: 0;
  397. transform: translateY(0);
  398. overflow: hidden;
  399. }
  400. .header-mesg p{
  401. float: left;
  402. margin-right: 20px;
  403. margin-bottom: 8px;
  404. }
  405. .content-item{
  406. width: 100% !important;
  407. }
  408. .content-row{
  409. flex-wrap: wrap;
  410. }
  411. .content-part .content-left{
  412. margin-bottom: 10px;
  413. }
  414. .footer-QRcode{
  415. margin-left: 7%;
  416. }
  417. }
  418. @media screen and (max-width: 768px) {
  419. .content-item{
  420. width: 100%;
  421. }
  422. /* 轮播 */
  423. .content-item-swiper .swiper-container{
  424. width: 100%;
  425. float: inherit;
  426. }
  427. .content-item-swiper ul{
  428. margin-left: 0;
  429. }
  430. .content-item-swiper .content-wrap{
  431. margin-left: 0;
  432. margin-top: 20px;
  433. }
  434. .content-item-img-wrap ul li{
  435. width: 100%;
  436. margin: 0;
  437. padding: 0 10px;
  438. }
  439. .footer-QRcode {
  440. margin-left: 2%;
  441. }
  442. }
  443. @media screen and (max-width: 640px) {
  444. .header{
  445. box-shadow: 0 1px 3px #ddd;
  446. }
  447. .header-top{
  448. display: none;
  449. }
  450. .header-img{
  451. width: 100%;
  452. height: auto;
  453. }
  454. .header-img img{
  455. height: 58px;
  456. width: auto;
  457. }
  458. .content-wrap li p{
  459. width: calc(100% - 100px);
  460. }
  461. .content-item-img span{
  462. font-size: 20px;
  463. padding: 20px 18px;
  464. }
  465. .footer-link ul{
  466. margin-left: 0;
  467. }
  468. .footer-QRcode {
  469. margin-left: 0;
  470. text-align: center;
  471. float: none;
  472. }
  473. .footer-QRcode p {
  474. width: 30%;
  475. }
  476. }