wsjk2.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796
  1. body{
  2. color: #000;
  3. }
  4. a{
  5. color: #000;
  6. }
  7. a:hover{
  8. color: #680034;
  9. }
  10. .header-top>.wrap {
  11. position: relative;
  12. }
  13. .header-img{
  14. position: relative;
  15. }
  16. .header-right {
  17. position: absolute;
  18. right: 20px;
  19. }
  20. .header-right-search {
  21. width: 280px;
  22. top: 50%;
  23. right: 30px;
  24. transform: translateY(-50%);
  25. }
  26. .header-right-search i{
  27. display: inline-block;
  28. height: 24px;
  29. width: 45px;
  30. background: url(../images/xxgc/icon-search.png) no-repeat center;
  31. background-size: contain;
  32. position: absolute;
  33. left: 0;
  34. top: 50%;
  35. transform: translateY(-50%);
  36. cursor: pointer;
  37. }
  38. .header-right-search input {
  39. box-sizing: border-box;
  40. border: 2px solid #b4bfd2;
  41. outline: none;
  42. height: 40px;
  43. border-radius: 40px;
  44. width: 100%;
  45. padding-left: 45px;
  46. }
  47. /* 导航 */
  48. .header-nav{
  49. background-color: transparent;
  50. border-top: 1px solid #eeeeee;
  51. box-shadow: 0 3px 3px #c0c0c0;
  52. position: relative;
  53. z-index: 4;
  54. }
  55. .header-nav ul{
  56. height: 50px;
  57. line-height: 50px;
  58. background-color: transparent;
  59. }
  60. .header-nav ul li{
  61. /* letter-spacing: .1em; */
  62. }
  63. .nav-secondLevel{
  64. top: 50px;
  65. }
  66. .header-nav .nav-secondLevel li a{
  67. border-color: #b5b5b5;
  68. background-color: #fff;
  69. color: #000;
  70. font-weight: normal;
  71. }
  72. .header-nav li:hover>a{
  73. background-color: #680034 ;
  74. color: #ffff00;
  75. }
  76. .nav-secondLevel .nav-threeLevel a{
  77. background-color: #004c98;
  78. }
  79. .header-nav .nav-threeLevel li a:hover {
  80. background-color: #a50454;
  81. }
  82. .header-nav li a{
  83. position: relative;
  84. height: 50px;
  85. line-height: 50px;
  86. }
  87. .header-nav>ul>li>a{
  88. font-weight: normal;
  89. color: #000;
  90. }
  91. .header-nav>ul>li>a::after {
  92. content: "";
  93. width: 1px;
  94. height: 50%;
  95. background-color: #eee;
  96. position: absolute;
  97. left: 0;
  98. top: 25%;
  99. }
  100. .header-nav>ul>li:first-child>a:after {
  101. display: none;
  102. }
  103. /* 主体 */
  104. .content{
  105. position: relative;
  106. }
  107. .content-row{
  108. display: flex;
  109. justify-content: space-between;
  110. }
  111. .content-item{
  112. width: 48%;
  113. box-sizing: border-box;
  114. margin-top: 35px;
  115. background-color: #fbfbfb;
  116. }
  117. .content-item h2{
  118. font-size: 18px;
  119. background-color: #f0f0f0;
  120. height: 36px;
  121. line-height: 36px;
  122. position: relative;
  123. font-weight: normal;
  124. }
  125. .content-item h2 i {
  126. color: #680034;
  127. font-style: normal;
  128. padding-left: 15px;
  129. background: url(../images/wsjk/title-icon.png) no-repeat left center;
  130. }
  131. .content-item h2 span{
  132. display: inline-block;
  133. padding: 0 10px;
  134. color: #fff;
  135. background: url(../images/wsjk/title-bg.png) no-repeat left top;
  136. background-size: cover;
  137. width: 100%;
  138. height: 100%;
  139. cursor: pointer;
  140. }
  141. .content-item h2 a{
  142. font-size: 14px;
  143. position: absolute;
  144. top: 50%;
  145. right: 14px;
  146. transform: translateY(-50%);
  147. }
  148. .content-item h2 a:hover{
  149. color: #680034;
  150. }
  151. .content-item-swiper .swiper-container {
  152. width: 55%;
  153. float: left;
  154. margin: 5px 0;
  155. padding: 0 5px;
  156. }
  157. .content-item-swiper ul {
  158. margin-left: 56%;
  159. margin-top: 5px;
  160. }
  161. .content-wrap ul{
  162. padding: 15px 0;
  163. }
  164. .content-wrap ul li{
  165. height: 44px;
  166. line-height: 44px;
  167. margin: 0 10px;
  168. /* background: url(../images/wsjk/icon-list.png) no-repeat left center;
  169. background-size: 3px; */
  170. }
  171. .content-wrap ul li a{
  172. display: block;
  173. width: 100%;
  174. height: 100%;
  175. border-bottom: 1px solid #ededed;
  176. }
  177. .content-wrap li p{
  178. width: 100%;
  179. overflow: hidden;
  180. text-overflow: ellipsis;
  181. white-space: nowrap;
  182. float: left;
  183. }
  184. .content-wrap .list-time {
  185. float: right;
  186. }
  187. .content-wrap a:hover .list-time {
  188. color: #ff1111;
  189. }
  190. /* banner */
  191. .banner{
  192. position: relative;
  193. }
  194. /* banner轮播 */
  195. .banner-swiper{
  196. width: 100%;
  197. margin: 0 auto;
  198. z-index: 3;
  199. }
  200. .banner-swiper>.wrap {
  201. position: absolute;
  202. left: 0;
  203. right: 0;
  204. top: 0;
  205. bottom: 0;
  206. }
  207. .banner .swiper-button-next,
  208. .banner .swiper-button-prev {
  209. opacity: 1;
  210. transform: translateY(-50%);
  211. --swiper-navigation-color: rgba(122, 124, 158, .7);
  212. background-color: rgba(255, 255, 255, .7);
  213. box-sizing: content-box;
  214. width: 45px;
  215. height: 45px;
  216. border-radius: 50%;
  217. }
  218. .banner .swiper-button-next:hover,
  219. .banner .swiper-button-prev:hover{
  220. background-color: rgba(255, 255, 255, 1);
  221. --swiper-navigation-color: rgba(122, 124, 158, 1);
  222. }
  223. .swiper-button-prev:after,
  224. .swiper-button-next:after {
  225. font-size: 22px;
  226. }
  227. .banner .swiper-pagination-bullet{
  228. width: 12px;
  229. height: 12px;
  230. }
  231. .banner .swiper-pagination-bullet-active {
  232. color:#fff;
  233. background: #ff3300;
  234. }
  235. .banner .swiper-container-horizontal>.swiper-pagination-bullets{
  236. text-align: right;
  237. left: -8px;
  238. }
  239. .banner .swiper-slide{
  240. position: relative;
  241. }
  242. .banner .swiper-slide img,
  243. .content-item-swiper2 img {
  244. display: block;
  245. width: 100%;
  246. }
  247. .banner .swiper-slide .swiper-title{
  248. position: absolute;
  249. left: 0;
  250. bottom: 0;
  251. height: 38px;
  252. line-height: 38px;
  253. background-color: rgba(0,0,0,.6);
  254. color: #fff;
  255. padding: 0 125px 0 10px;
  256. box-sizing: border-box;
  257. width: 100%;
  258. overflow: hidden;
  259. text-overflow: ellipsis;
  260. white-space: nowrap;
  261. }
  262. .banner-middle img {
  263. display: block;
  264. width: 100%;
  265. margin-top: 35px;
  266. }
  267. /* 轮播 */
  268. .content-item-swiper .swiper-pagination-bullet{
  269. width: 22px;
  270. height: 18px;
  271. line-height: 18px;
  272. border-radius: 2px;
  273. font-size: 12px;
  274. text-align: center;
  275. background-color: rgba(0, 0, 0, .6);
  276. color: #fff;
  277. margin: 0 2px !important;
  278. }
  279. .content-item-swiper .swiper-pagination-bullet-active {
  280. color:#fff;
  281. background: #faa209;
  282. }
  283. .content-item-swiper .swiper-container-horizontal>.swiper-pagination-bullets{
  284. text-align: right;
  285. left: -8px;
  286. }
  287. .content-item-swiper .swiper-slide{
  288. position: relative;
  289. }
  290. .content-item-swiper .swiper-slide img{
  291. display: block;
  292. width: 100%;
  293. }
  294. .content-item-swiper .swiper-slide .swiper-title{
  295. position: absolute;
  296. left: 0;
  297. bottom: 0;
  298. height: 38px;
  299. line-height: 38px;
  300. background: rgba(0,0,0,0.5);
  301. color: #fff;
  302. padding: 0 31% 0 10px;
  303. box-sizing: border-box;
  304. width: 100%;
  305. overflow: hidden;
  306. text-overflow: ellipsis;
  307. white-space: nowrap;
  308. }
  309. /* */
  310. ul.special-list {
  311. padding: 0;
  312. }
  313. ul.special-list li {
  314. height: auto;
  315. line-height: normal;
  316. background: #f7f7f7;
  317. border: 1px solid #ccc;
  318. margin: 0 0 10px 0;
  319. }
  320. ul.special-list li:hover {
  321. border-color: #680034;
  322. box-shadow: 0 0 5px #680034;
  323. }
  324. ul.special-list a {
  325. border: 0;
  326. }
  327. ul.special-list dl {
  328. overflow: hidden;
  329. }
  330. ul.special-list dt {
  331. width: 76px;
  332. float: left;
  333. }
  334. ul.special-list dt img {
  335. display: block;
  336. width: 100%;
  337. }
  338. ul.special-list dd {
  339. margin-left: 88px;
  340. color: #680034;
  341. }
  342. ul.special-list .name {
  343. font-size: 18px;
  344. margin: 9px 0 4px 88px;
  345. }
  346. /* */
  347. ul.other-list li {
  348. height: auto;
  349. line-height: normal;
  350. }
  351. ul.other-list li a {
  352. padding: 20px 0;
  353. }
  354. .other-list dl {
  355. overflow: hidden;
  356. }
  357. .other-list dt {
  358. width: 152px;
  359. float: left;
  360. }
  361. .other-list dt img {
  362. display: block;
  363. width: 100%;
  364. }
  365. .other-list dd {
  366. margin-left: 168px;
  367. color: #787878;
  368. text-indent: 2em;
  369. line-height: 22px;
  370. display: -webkit-box;
  371. -webkit-box-orient: vertical;
  372. -webkit-line-clamp: 2;
  373. overflow: hidden;
  374. }
  375. .other-list .title {
  376. color: #000;
  377. font-size: 16px;
  378. font-weight: bold;
  379. text-indent: 0;
  380. -webkit-line-clamp: 1;
  381. margin-top: 10px;
  382. margin-bottom: 5px;
  383. }
  384. ul.other-list li a:hover .title {
  385. color: #680034;
  386. text-decoration: underline;
  387. }
  388. /* 列表页 */
  389. .content-part{
  390. overflow: hidden;
  391. display: block;
  392. }
  393. .content-left{
  394. background-color: #f0f0f0;
  395. width: 220px;
  396. float: left;
  397. margin: 0;
  398. }
  399. .content-left h2{
  400. background: #680034;
  401. background-size: contain;
  402. height: 70px;
  403. line-height: 70px;
  404. font-size: 18px;
  405. text-shadow: 2px 2px 3px #1b1462;
  406. }
  407. .content-right{
  408. margin-left: 270px;
  409. width: auto;
  410. }
  411. .content-left-list{
  412. padding: 25px 15px;
  413. }
  414. .content-left-list li a{
  415. text-align: center;
  416. border-bottom: 0;
  417. }
  418. .content-left-list .content-left-current a,
  419. .content-left-list li a:hover {
  420. background-color: #680034;
  421. color: #ffff00;
  422. }
  423. .crumbs{
  424. background: #680034;
  425. background-size: contain;
  426. line-height: 50px;
  427. overflow: hidden;
  428. color: #fff;
  429. font-size: 16px;
  430. text-shadow: 2px 2px 3px #1b1462;
  431. }
  432. .crumbs p {
  433. float: left;
  434. font-weight: bold;
  435. font-size: 16px;
  436. }
  437. .crumbs a{
  438. color: #fff;
  439. }
  440. .crumbs-right {
  441. float: right;
  442. }
  443. .list-wrap .list-time{
  444. color: #666;
  445. }
  446. .column-pic{
  447. margin-bottom: 35px;
  448. }
  449. .column-pic,
  450. .column-pic img,
  451. .content-wrap-img,
  452. .content-wrap-img img {
  453. width: 100%;
  454. }
  455. /* 横向图文列表 */
  456. .content-crosswiseImg-list{
  457. flex-wrap: wrap;
  458. }
  459. .content-crosswiseImg-list li{
  460. width: 100% !important;
  461. border-bottom: 1px solid #ccc;
  462. padding-bottom: 25px;
  463. margin-bottom: 25px !important;
  464. }
  465. .content-crosswiseImg-list li a{
  466. display: block;
  467. width: 100%;
  468. height: 100%;
  469. }
  470. .content-crosswiseImg-list .content-img-list-imgWrap{
  471. width: 25%;
  472. float: left;
  473. margin-right: 20px;
  474. padding: 0;
  475. border: 0;
  476. }
  477. .content-crosswiseImg-list dl{
  478. margin-left: 25%;
  479. }
  480. .content-crosswiseImg-list dt{
  481. font-size: 16px;
  482. font-weight: bold;
  483. line-height: 28px;
  484. padding-top: 15px;
  485. display: -webkit-box;
  486. -webkit-box-orient: vertical;
  487. -webkit-line-clamp: 2;
  488. overflow: hidden;
  489. width: 92%;
  490. }
  491. .content-crosswiseImg-list dd{
  492. color: #333;
  493. margin: 10px 0 12px;
  494. line-height: 22px;
  495. display: -webkit-box;
  496. -webkit-box-orient: vertical;
  497. -webkit-line-clamp: 2;
  498. overflow: hidden;
  499. width: 92%;
  500. }
  501. .content-crosswiseImg-list .content-crosswiseImg-time{
  502. color: #666;
  503. margin: 0;
  504. }
  505. .content-crosswiseImg-list li:hover dt,
  506. .content-crosswiseImg-list li:hover dd{
  507. color: #FF0000;
  508. }
  509. /* 竖向图片 */
  510. .content-verticalImg-list li{
  511. width: 33%;
  512. }
  513. .content-verticalImg-list li a{
  514. margin: 0 30px;
  515. }
  516. /* 目录页 */
  517. .catalog-title{
  518. border-color: #ff0000;
  519. }
  520. /* 底部 */
  521. .footer{
  522. margin-top: 35px;
  523. padding: 20px 0 20px;
  524. background-color: #680034;
  525. overflow: hidden;
  526. }
  527. .footer-mesg{
  528. background-color: #680034;
  529. }
  530. .footer-QRcode{
  531. float: left;
  532. margin-left: 12%;
  533. }
  534. .footer-QRcode p{
  535. width: 100px;
  536. display: inline-block;
  537. margin-right: 5px;
  538. vertical-align: middle;
  539. }
  540. .footer-QRcode p:hover{
  541. transform: scale(2);
  542. }
  543. .footer-QRcode p img{
  544. width: 100%;
  545. }
  546. .footer a:hover {
  547. color: #bbb;
  548. }
  549. .mobile-nav-icon{
  550. right: 20px;
  551. }
  552. .mobile-nav-icon span{
  553. background-color: #C90303;
  554. }
  555. .mobile-header-nav .nav-threeLevel li a{
  556. background-color: #f55555;
  557. }
  558. /* 响应式 */
  559. @media screen and (max-width: 1024px) {
  560. }
  561. @media screen and (max-width: 980px) {
  562. .header-top>.wrap {
  563. width: 100%;
  564. }
  565. .header-right-search{
  566. right: 80px;
  567. }
  568. .header-nav ul{
  569. height: auto;
  570. }
  571. /* flex布局,item元素补全 */
  572. .header-nav ul::after{
  573. content: "";
  574. width: 50%;
  575. }
  576. .header-mesg{
  577. position: relative;
  578. top: 0;
  579. left: 0;
  580. transform: translateY(0);
  581. overflow: hidden;
  582. }
  583. .header-mesg p{
  584. float: left;
  585. margin-right: 20px;
  586. margin-bottom: 8px;
  587. }
  588. .content-row{
  589. flex-wrap: wrap;
  590. }
  591. .content-item{
  592. width: 100% !important;
  593. }
  594. .banner-swiper{
  595. width: 100%;
  596. }
  597. }
  598. @media screen and (max-width: 768px) {
  599. .content-item{
  600. width: 100%;
  601. }
  602. /* 轮播 */
  603. .content-item-swiper .swiper-container{
  604. width: 100%;
  605. float: inherit;
  606. }
  607. .content-item-swiper ul{
  608. margin-left: 0;
  609. }
  610. .content-left{
  611. width: 100%;
  612. margin-bottom: 20px;
  613. }
  614. .content-right{
  615. width: 100%;
  616. margin-left: 0;
  617. }
  618. }
  619. @media screen and (max-width: 640px) {
  620. .header{
  621. box-shadow: 0 1px 3px #ddd;
  622. }
  623. .mobile-nav-icon {
  624. right: 18px;
  625. }
  626. .header-img{
  627. width: 100%;
  628. height: auto;
  629. }
  630. .header-img img{
  631. height: 60px;
  632. width: auto;
  633. box-sizing: content-box;
  634. }
  635. .header-right{
  636. display: none;
  637. }
  638. .column-pic{
  639. margin-bottom: 15px;
  640. }
  641. .content-img-list-imgWrap{
  642. width: 100% !important;
  643. }
  644. .content-crosswiseImg-list dl{
  645. margin-left: 0;
  646. text-align: center;
  647. }
  648. .footer-QRcode {
  649. margin-left: 0;
  650. text-align: center;
  651. float: none;
  652. }
  653. }