jxjy2.css 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628
  1. body{
  2. color: #000;
  3. }
  4. a{
  5. color: #000;
  6. }
  7. a:hover{
  8. color: #007a4c;
  9. }
  10. .header {
  11. background: url(../images/jxjy/header-bg.jpg) center top;
  12. }
  13. .header .wrap {
  14. position: relative;
  15. }
  16. .header-top{
  17. width: 100%;
  18. height: 26px;
  19. line-height: 26px;
  20. background-color: #F6F6F6;
  21. }
  22. .header-top .wrap{
  23. position: relative;
  24. }
  25. .header-img{
  26. position: relative;
  27. }
  28. .header-img img{
  29. width: auto;
  30. height: 100px;
  31. padding: 12px 0;
  32. }
  33. .header-right{
  34. position: absolute;
  35. top: 50%;
  36. right: 0px;
  37. transform: translateY(-50%);
  38. padding: 0 15px 0 40px;
  39. background-size: 18px;
  40. border-radius: 30px;
  41. }
  42. .header-right{
  43. position: absolute;
  44. top: 50%;
  45. right: 0px;
  46. transform: translateY(-50%);
  47. text-align: center;
  48. line-height: 24px;
  49. color: #fff;
  50. }
  51. .header-img .header-right img {
  52. height: 76px;
  53. padding: 5px 0 0;
  54. }
  55. /* 搜索 */
  56. .header-search{
  57. position: absolute;
  58. right: 120px;
  59. top: 50%;
  60. transform: translateY(-50%);
  61. border: 1px solid #999;
  62. border-radius: 4px;
  63. overflow: hidden;
  64. }
  65. .header-search input{
  66. box-sizing: border-box;
  67. display: block;
  68. height: 28px;
  69. line-height: 28px;
  70. padding: 0 26px 0 10px;
  71. width: 150px;
  72. outline: none;
  73. border: 0;
  74. }
  75. .header-search button{
  76. position: absolute;
  77. right: 0;
  78. top: 0;
  79. height: 28px;
  80. width: 28px;
  81. background: url(../images/icon/search2.png) no-repeat center;
  82. background-size: 16px;
  83. border: none;
  84. outline: none;
  85. cursor: pointer;
  86. }
  87. /* 导航 */
  88. .header-nav{
  89. background: url(../images/jxjy/nav-bg.jpg);
  90. }
  91. .header-nav ul{
  92. height: 38px;
  93. line-height: 38px;
  94. background-color: transparent;
  95. }
  96. .nav-secondLevel{
  97. top: 38px;
  98. }
  99. .header-nav li:last-child{
  100. background: none;
  101. }
  102. .header-nav li:hover a {
  103. background-color: #007a4c;
  104. color: #fff;
  105. }
  106. .header-nav .nav-secondLevel li:hover a {
  107. background: #007a4c !important;
  108. color: #fff !important;
  109. }
  110. .header-nav .nav-secondLevel li a,
  111. .header-nav .nav-threeLevel li a{
  112. border-color: transparent;
  113. background: url(../images/jxjy/nav-bg.jpg);
  114. color: #000;
  115. }
  116. .header-nav .nav-threeLevel li a:hover{
  117. background-color: #155940 !important;
  118. }
  119. .header-nav li a{
  120. position: relative;
  121. height: 38px;
  122. line-height: 38px;
  123. color: #000;
  124. }
  125. .header-nav>ul>li>a{
  126. font-size: 15px;
  127. }
  128. .header-nav a i{
  129. width: 0;
  130. height: 0;
  131. border: 6px solid transparent;
  132. border-bottom-color: #fff;
  133. position: absolute;
  134. bottom: 0;
  135. left: 50%;
  136. transform: translateX(-50%);
  137. opacity: 0;
  138. }
  139. .header-nav li:hover a i{
  140. opacity: 1;
  141. }
  142. /* 主体 */
  143. .content{
  144. margin-top: 20px;
  145. }
  146. .content-row {
  147. display: flex;
  148. justify-content: space-between;
  149. flex-wrap: wrap;
  150. }
  151. .content-item{
  152. width: 47.5%;
  153. box-sizing: border-box;
  154. margin-bottom: 20px;
  155. }
  156. .content-item h2{
  157. background-size: contain;
  158. font-size: 14px;
  159. overflow: hidden;
  160. border-bottom: 1px solid #aaa;
  161. font-weight: normal;
  162. line-height: 26px;
  163. }
  164. .content-item h2 img{
  165. width: 24px;
  166. vertical-align: middle;
  167. }
  168. .content-item h2 span{
  169. display: inline-block;
  170. color: #5182bb;
  171. padding: 10px 14px;
  172. font-size: 18px;
  173. vertical-align: middle;
  174. }
  175. .content-item h2 a,
  176. .more{
  177. font-weight: normal;
  178. float: right;
  179. margin-top: 10px;
  180. }
  181. .more {
  182. color: #333;
  183. margin: 0;
  184. padding: 10px 0;
  185. }
  186. .content-item h2 a:hover{
  187. color: #007a4c;
  188. }
  189. .content-item h2 a:hover .triangle{
  190. border-left-color: #007a4c;
  191. }
  192. .content-wrap ul {
  193. border-bottom: 1px solid #aaa;
  194. }
  195. .content-wrap ul li{
  196. height: 42px;
  197. line-height: 42px;
  198. margin: 0 10px;
  199. border-bottom: 1px dashed #ccc;
  200. }
  201. .content-wrap ul li:last-child {
  202. border-bottom: 0;
  203. }
  204. .content-wrap ul li a {
  205. color: #333;
  206. }
  207. .content-wrap ul li a:hover {
  208. color: #007a4c;
  209. }
  210. .content-wrap li p{
  211. width: calc(100% - 80px);
  212. overflow: hidden;
  213. text-overflow: ellipsis;
  214. white-space: nowrap;
  215. float: left;
  216. }
  217. .content-wrap .list-time {
  218. float: right;
  219. /* color: #999; */
  220. }
  221. .content-wrap a:hover .list-time {
  222. color: #007a4c;
  223. }
  224. /* banner轮播 */
  225. .banner{
  226. }
  227. .banner .swiper-pagination-bullet{
  228. width: 12px;
  229. height: 12px;
  230. }
  231. .banner .swiper-pagination-bullet-active {
  232. color:#fff;
  233. background: #007a4c;
  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. display: block;
  244. width: 100%;
  245. }
  246. .banner .swiper-slide .swiper-title{
  247. position: absolute;
  248. left: 0;
  249. bottom: 0;
  250. height: 38px;
  251. line-height: 38px;
  252. background-color: rgba(0,0,0,.6);
  253. color: #fff;
  254. padding: 0 125px 0 10px;
  255. box-sizing: border-box;
  256. width: 100%;
  257. overflow: hidden;
  258. text-overflow: ellipsis;
  259. white-space: nowrap;
  260. display: none;
  261. }
  262. .pic-wrap {
  263. width: 100%;
  264. margin: 0 auto;
  265. }
  266. .pic-wrap a,
  267. .pic-wrap img {
  268. display: block;
  269. width: 100%;
  270. }
  271. /* 图片列表 */
  272. .content-row-pic {
  273. margin-top: 20px;
  274. }
  275. .content-row-pic h2{
  276. border-bottom: 1px solid #aaa;
  277. line-height: 50px;
  278. font-size: 18px;
  279. font-weight: normal;
  280. color: #5182bb;
  281. text-align: center;
  282. }
  283. .content-row-pic h2 img {
  284. width: 26px;
  285. vertical-align: middle;
  286. margin-right: 14px;
  287. }
  288. .content-row-pic h2 span {
  289. vertical-align: middle;
  290. }
  291. .content-row-pic ul{
  292. display: -webkit-box;
  293. display: -webkit-flex;
  294. display: -moz-box;
  295. display: -ms-flexbox;
  296. display: flex;
  297. justify-content: space-between;
  298. }
  299. .content-row-pic ul{
  300. padding: 16px 0;
  301. }
  302. .content-row-pic li{
  303. margin: 0 3px;
  304. position: relative;
  305. }
  306. .content-row-pic li img{
  307. display: block;
  308. width: 100%;
  309. }
  310. .content-item-title{
  311. background-color: rgba(0, 0, 0, .5);
  312. text-align: center;
  313. white-space:nowrap;
  314. overflow:hidden;
  315. text-overflow:ellipsis;
  316. padding: 0 10px;
  317. position: absolute;
  318. bottom: 0;
  319. left: 0;
  320. width: 100%;
  321. transition: all .15s;
  322. color: #fff;
  323. line-height: 32px;
  324. }
  325. /* 列表页 */
  326. .content-list-wrap{
  327. border: 1px solid #007a4c;
  328. }
  329. .crumbs{
  330. background-color: #007a4c;
  331. color: #fff;
  332. line-height: 40px;
  333. }
  334. .crumbs a{
  335. color: #fff;
  336. }
  337. .content-left h2{
  338. background-color: #007a4c;
  339. }
  340. /* 底部 */
  341. .footer{
  342. margin-top: 20px;
  343. background-color: #03492e;
  344. }
  345. .footer .wrap {
  346. position: relative;
  347. }
  348. .footer-mesg{
  349. background: url(../images/jxjy/footer-bg.jpg) no-repeat center top;
  350. padding: 30px 0;
  351. text-align: left;
  352. }
  353. .footer-link{
  354. line-height: 36px;
  355. border: 2px solid #0b64d0;
  356. margin-bottom: 20px;
  357. }
  358. .footer-link span{
  359. line-height: 38px;
  360. height: 38px;
  361. color: #fff;
  362. background-color: #0b64d0;
  363. font-size: 16px;
  364. font-weight: bold;
  365. padding: 0 18px;
  366. float: left;
  367. }
  368. .footer-link ul{
  369. margin-left: 100px;
  370. text-align: center;
  371. }
  372. .footer-link ul li{
  373. display: inline-block;
  374. margin-right: 20px;
  375. }
  376. .footer-link ul i{
  377. font-style: normal;
  378. padding-left: 20px;
  379. }
  380. /* 底部二维码 */
  381. .footer-QRcode {
  382. position: absolute;
  383. top: 50%;
  384. right: 90px;
  385. transform: translateY(-50%);
  386. }
  387. .footer-QRcode img {
  388. width: 50px;
  389. }
  390. .footer-QRcode-wrap {
  391. cursor: pointer;
  392. }
  393. .QRcode-img {
  394. position: absolute;
  395. bottom: 70px;
  396. left: 50%;
  397. transform: translateX(-50%);
  398. border: 1px solid #24bc3c;
  399. box-shadow: 0 0 12px #24bc3c;
  400. border-radius: 8px;
  401. padding: 10px;
  402. background-color: #fff;
  403. display: none;
  404. }
  405. .footer-QRcode-wrap:hover .QRcode-img {
  406. display: block;
  407. }
  408. .QRcode-img i {
  409. display: inline-block;
  410. width: 0;
  411. height: 0;
  412. border: 14px solid transparent;
  413. border-top-color: #fff;
  414. position: absolute;
  415. left: 50%;
  416. bottom: -28px;
  417. transform: translateX(-50%);
  418. }
  419. .QRcode-img img {
  420. width: 200px;
  421. }
  422. .mobile-nav-icon span{
  423. background-color: #fff;
  424. }
  425. .mobile-header-nav>ul{
  426. background-color: #007a4c;
  427. }
  428. .mobile-header-nav>ul>li {
  429. background-color: #007a4c;
  430. }
  431. .mobile-header-nav li a {
  432. border-color: #079660;
  433. }
  434. .mobile-header-nav .nav-secondLevel{
  435. background-color: #11ae73;
  436. }
  437. .mobile-header-nav .nav-threeLevel {
  438. background-color: #155940;
  439. }
  440. /* 响应式 */
  441. @media screen and (max-width: 1024px) {
  442. .footer-link ul li{
  443. margin-right: 15px;
  444. }
  445. .footer-link ul i{
  446. padding-left: 15px;
  447. }
  448. }
  449. @media screen and (max-width: 980px) {
  450. .header-img img {
  451. padding: 16px 0;
  452. }
  453. .header-nav{
  454. background-repeat: repeat;
  455. background-position: left top;
  456. }
  457. .header-nav ul{
  458. height: auto;
  459. }
  460. /* flex布局,item元素补全 */
  461. .header-nav ul::after{
  462. content: "";
  463. width: 50%;
  464. }
  465. .content-item{
  466. width: 100% !important;
  467. }
  468. .header-search {
  469. display: none;
  470. }
  471. .header-right {
  472. right: 80px;
  473. }
  474. }
  475. @media screen and (max-width: 768px) {
  476. .content-item{
  477. width: 100%;
  478. }
  479. .header-img img {
  480. height: auto;
  481. width: 80%;
  482. }
  483. .header-right {
  484. display: none;
  485. }
  486. }
  487. @media screen and (max-width: 640px) {
  488. .header{
  489. box-shadow: 0 1px 3px #ddd;
  490. }
  491. .header-top{
  492. display: none;
  493. }
  494. .header-img img {
  495. width: auto;
  496. height: 100%;
  497. }
  498. .content-wrap li p{
  499. width: calc(100% - 100px);
  500. }
  501. .banner{
  502. margin-top: 70px !important;
  503. }
  504. .footer-link ul{
  505. margin-left: 0;
  506. }
  507. .pic-wrap,
  508. .content-row-pic li {
  509. width: 100%;
  510. }
  511. .content-row-pic ul {
  512. flex-wrap: wrap;
  513. }
  514. }