jxjy.css 8.2 KB

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