jwc.css 11 KB

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