jzyyscmxy.css 8.2 KB

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