jjyglxy.css 7.6 KB

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