homepage.css 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564
  1. body {
  2. font-size: 14px;
  3. color: #000;
  4. overflow-x: hidden;
  5. }
  6. a {
  7. text-decoration: none;
  8. color: #000;
  9. }
  10. a:hover {
  11. color: #ff0000;
  12. }
  13. .not-roll {
  14. overflow: hidden;
  15. }
  16. .wrap {
  17. width: 1200px;
  18. margin: 0 auto;
  19. }
  20. /* 头部 */
  21. .header {
  22. width: 100%;
  23. background: #fff url(../images/header/header-topbg.gif) repeat-x top center;
  24. }
  25. .header-img img {
  26. height: 100%;
  27. }
  28. .header-img .header-img-right {
  29. float: right;
  30. }
  31. .header-nav {
  32. background-color: #C90303;
  33. }
  34. .header-nav ul {
  35. display: flex;
  36. justify-content: space-around;
  37. }
  38. .header-nav ul li {
  39. flex: 1;
  40. position: relative;
  41. }
  42. .header-nav li a {
  43. display: block;
  44. color: #fff;
  45. font-weight: bold;
  46. text-align: center;
  47. /* height: 50px; */
  48. line-height: 50px;
  49. }
  50. .header-nav li:hover>a {
  51. color: #ffff00;
  52. background-color: #FF1111;
  53. }
  54. .header-nav>ul>li>a>span {
  55. display: none;
  56. }
  57. /* 二级导航 */
  58. .nav-secondLevel {
  59. position: absolute;
  60. top: 50px;
  61. left: -20px;
  62. width: calc(100% + 40px);
  63. z-index: 100;
  64. background-color: #C90303;
  65. flex-wrap: wrap;
  66. }
  67. .header-nav .nav-secondLevel li {
  68. width: 100%;
  69. flex: auto;
  70. }
  71. .header-nav .nav-secondLevel li a {
  72. /* height: 40px; */
  73. line-height: 40px;
  74. border-bottom: 1px solid #D20000;
  75. }
  76. /* 三级导航 */
  77. .nav-threeLevel {
  78. position: absolute;
  79. top: 0;
  80. left: 100%;
  81. width: 300px;
  82. display: flex;
  83. flex-wrap: wrap;
  84. background-color: #FF1111;
  85. }
  86. .header-nav .nav-threeLevel li {
  87. width: 50%;
  88. flex: auto;
  89. }
  90. .header-nav .nav-threeLevel li a:hover {
  91. background-color: #FF4A4A;
  92. }
  93. .header-nav>ul ul {
  94. display: none;
  95. }
  96. .header-nav>ul>li:hover .nav-secondLevel,
  97. .nav-secondLevel li:hover .nav-threeLevel {
  98. display: flex;
  99. }
  100. /* 轮播 */
  101. .swiper-pagination-bullet {
  102. width: 10px;
  103. height: 10px;
  104. background-color: #fff;
  105. opacity: 1;
  106. }
  107. .swiper-pagination-bullet-active {
  108. background-color: #0092CE;
  109. }
  110. .swiper-container-horizontal>.swiper-pagination-bullets {
  111. bottom: 17px;
  112. }
  113. .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
  114. margin: 0 8px;
  115. }
  116. .swiper-button-next,
  117. .swiper-button-prev {
  118. opacity: 0;
  119. }
  120. .swiper-container:hover .swiper-button-next,
  121. .swiper-container:hover .swiper-button-prev {
  122. opacity: 1;
  123. }
  124. .banner a {
  125. display: block;
  126. width: 100%;
  127. }
  128. .banner img {
  129. width: 100%;
  130. }
  131. /* 内容 */
  132. .content {
  133. margin-top: 10px;
  134. background: url(../images/bg/bg-l.jpg) no-repeat left bottom;
  135. }
  136. .content-row {
  137. display: flex;
  138. justify-content: space-between;
  139. }
  140. .content-item {
  141. box-sizing: border-box;
  142. border: 1px solid #C90303;
  143. width: 49.5%;
  144. margin-bottom: 10px;
  145. }
  146. .content-wrap-title {
  147. color: #fff;
  148. background-color: #C90303;
  149. height: 40px;
  150. line-height: 40px;
  151. font-size: 14px;
  152. padding: 0 12px;
  153. cursor: default;
  154. }
  155. .content-wrap-title a {
  156. color: #fff;
  157. float: right;
  158. font-size: 13px;
  159. }
  160. .content-wrap-title a:hover {
  161. color: #ffff00;
  162. }
  163. .content-wrap-title span {
  164. display: inline-block;
  165. width: 5px;
  166. height: 20px;
  167. background-color: #c5d22d;
  168. vertical-align: middle;
  169. margin: -3px 15px 0 0;
  170. }
  171. .content-wrap-list {
  172. padding: 5px 0;
  173. }
  174. .content-wrap-list li {
  175. box-sizing: border-box;
  176. width: 100%;
  177. height: 34px;
  178. line-height: 34px;
  179. padding: 0 20px 0 25px;
  180. background: url(../images/icon/arrow01.gif) no-repeat 10px 10px;
  181. }
  182. .content-wrap-list li a {
  183. display: block;
  184. }
  185. .content-wrap-list li:hover a {
  186. color: #ff0000;
  187. }
  188. .content-wrap-list li p {
  189. width: 100%;
  190. overflow: hidden;
  191. text-overflow: ellipsis;
  192. white-space: nowrap;
  193. }
  194. /* 友情链接 */
  195. .footer-link {
  196. box-sizing: border-box;
  197. height: 32px;
  198. line-height: 32px;
  199. margin-bottom: 10px;
  200. border: 1px solid #C90303;
  201. }
  202. .footer-link>span {
  203. box-sizing: border-box;
  204. width: 210px;
  205. background-color: #C90303;
  206. color: #fff;
  207. font-weight: bold;
  208. text-align: center;
  209. float: left;
  210. height: 100%;
  211. }
  212. .footer-link>ul {
  213. margin-left: 230px;
  214. }
  215. .footer-link>ul li {
  216. float: left;
  217. margin-right: 20px;
  218. }
  219. /* 底部 */
  220. .footer-mesg {
  221. background-color: #C90303;
  222. color: #fff;
  223. text-align: center;
  224. line-height: 30px;
  225. padding: 10px 0;
  226. }
  227. .footer-mesg a {
  228. color: #fff;
  229. text-decoration: underline;
  230. }
  231. .footer-mesg span {
  232. margin: 0 8px;
  233. }
  234. /* 返回顶部 */
  235. .top {
  236. width: 50px;
  237. height: 50px;
  238. line-height: 50px;
  239. position: fixed;
  240. bottom: 20px;
  241. right: 20px;
  242. background: rgba(0, 0, 0, 0.28);
  243. z-index: 1000000;
  244. text-align: center;
  245. display: none;
  246. cursor: pointer;
  247. }
  248. .top img {
  249. width: 65%;
  250. vertical-align: middle;
  251. }
  252. /* 列表页 */
  253. .content-left {
  254. width: 200px;
  255. background-color: #F6F6F6;
  256. margin-right: 10px;
  257. margin-bottom: 10px;
  258. }
  259. .content-left h2 {
  260. text-align: center;
  261. }
  262. .content-left-list {
  263. padding: 0 5px;
  264. }
  265. .content-left-list li a {
  266. box-sizing: border-box;
  267. display: block;
  268. line-height: 40px;
  269. border-bottom: 1px solid #ccc;
  270. padding-left: 60px;
  271. background: url(../images/icon/triangle.jpg) no-repeat 40px center;
  272. font-weight: bold;
  273. }
  274. .content-left-current a {
  275. color: #FF1111;
  276. }
  277. .content-right {
  278. flex: auto;
  279. }
  280. .content-right .content-wrap-title {
  281. padding: 0 20px;
  282. }
  283. .content-right .content-wrap-title a {
  284. float: none;
  285. }
  286. .content-right .content-wrap-title i {
  287. margin: 0 2px;
  288. }
  289. .content-right .content-wrap-list li {
  290. background: none;
  291. padding: 0 25px;
  292. height: 40px;
  293. line-height: 40px;
  294. }
  295. .content-right .content-wrap-list a {
  296. border-bottom: 1px dashed #ccc;
  297. display: block;
  298. overflow: hidden;
  299. }
  300. .content-right .content-wrap-list li p {
  301. width: calc(100% - 160px);
  302. float: left;
  303. }
  304. .content-right .content-wrap-list li span {
  305. float: right;
  306. color: #999999;
  307. }
  308. /* 分页 */
  309. .list-page {
  310. padding: 20px 0;
  311. text-align: center;
  312. }
  313. /* 正文页 */
  314. .article-wrap {
  315. padding: 0 20px;
  316. }
  317. .article-title {
  318. text-align: center;
  319. font-size: 24px;
  320. line-height: 50px;
  321. margin: 26px 0;
  322. }
  323. .article-mesg {
  324. color: #999;
  325. text-align: center;
  326. }
  327. .article-mesg p{
  328. display: inline-block;
  329. }
  330. .article-mesg span {
  331. margin-right: 30px;
  332. }
  333. .article-main {
  334. font-size: 16px;
  335. margin-top: 35px;
  336. }
  337. .article-main p {
  338. line-height: 36px;
  339. word-break: break-all;
  340. }
  341. .article-main img {
  342. width: auto !important;
  343. height: auto !important;
  344. max-width: 100%;
  345. margin: 10px auto;
  346. cursor: default;
  347. }
  348. /* 目录页 */
  349. .catalog {
  350. padding: 16px 0 16px;
  351. }
  352. .catalog-item {
  353. margin-bottom: 20px;
  354. }
  355. .catalog-title {
  356. font-size: 14px;
  357. border-bottom: 1px solid #C90303;
  358. line-height: 34px;
  359. margin: 0 25px;
  360. }
  361. .catalog-title a {
  362. font-weight: normal;
  363. float: right;
  364. }
  365. .catalog-item .content-wrap-list {
  366. padding: 0;
  367. }
  368. .content-img-list {
  369. display: flex;
  370. margin: 12px 25px 0;
  371. }
  372. .content-img-list li {
  373. box-sizing: border-box;
  374. width: 33.3%;
  375. }
  376. .content-img-list li a{
  377. box-sizing: border-box;
  378. display: block;
  379. margin: 0 12px;
  380. }
  381. .content-img-list li img {
  382. width: 100%;
  383. }
  384. .content-img-list-imgWrap {
  385. border: 1px solid #CCCCCC;
  386. padding: 6px;
  387. background-color: #F7F7F7;
  388. overflow: hidden;
  389. }
  390. .content-img-list li img {
  391. transition: all .3s;
  392. }
  393. .content-img-list li:hover img {
  394. transform: scale(1.3);
  395. }
  396. .content-img-list li p {
  397. text-align: center;
  398. line-height: 26px;
  399. margin: 10px 0;
  400. display: -webkit-box;
  401. -webkit-box-orient: vertical;
  402. -webkit-line-clamp: 2;
  403. overflow: hidden;
  404. }
  405. .catalog-item .list-wrap{
  406. margin: 0;
  407. }
  408. /* 图文列表 */
  409. .list-pic .content-img-list {
  410. margin-top: 25px;
  411. flex-wrap: wrap;
  412. }
  413. .list-pic .content-img-list li {
  414. width: 33.33%;
  415. margin-bottom: 15px;
  416. }
  417. .list-pic .content-img-list-imgWrap {
  418. padding: 10px;
  419. }
  420. .no-data {
  421. text-align: center;
  422. margin: 100px 0px;
  423. }
  424. .qrcode-warp {
  425. text-align: center;
  426. font-size: 14px;
  427. margin: 20px auto;
  428. }
  429. .qrcode-warp canvas {
  430. max-width: 128px;
  431. max-height: 128px;
  432. }
  433. .qrcode-warp-desc {
  434. margin-top: 5px;
  435. }
  436. /* 优化导航 */
  437. .nav-secondLevel {
  438. left: -50%;
  439. width: calc(100% + 80px);
  440. }
  441. .header-nav>ul>li:last-child .nav-secondLevel {
  442. left: auto;
  443. right: 0;
  444. }
  445. .header-nav .nav-secondLevel li a {
  446. line-height: 22px;
  447. padding: 10px 4px;
  448. border-color: #9f0d0d;
  449. }
  450. .mobile-header-nav li a {
  451. height: auto !important;
  452. line-height: 26px !important;
  453. padding-top: 12px !important;
  454. padding-bottom: 12px !important;
  455. }
  456. /* 全部页面变灰 */
  457. /* html {
  458. -webkit-filter: grayscale(100%);
  459. -moz-filter: grayscale(100%);
  460. -ms-filter: grayscale(100%);
  461. -o-filter: grayscale(100%);
  462. filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
  463. _filter:none;
  464. } */