jzyyscmxy.css 8.2 KB

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