common.css 6.5 KB

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