zwc.css 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493
  1. body {
  2. color: #000;
  3. }
  4. a {
  5. color: #000;
  6. }
  7. a:hover {
  8. color: #ff1111;
  9. }
  10. .header-top{
  11. background: url(../images/bg/bg-header-zwc.png) repeat-x center;
  12. }
  13. .header-img img {
  14. width: auto;
  15. margin: 0 auto;
  16. }
  17. /* 导航 */
  18. .header-nav {
  19. background: url(../images/bg/bg-nav-zwc.png) repeat-x center;
  20. }
  21. .header-nav ul {
  22. height: 36px;
  23. line-height: 36px;
  24. }
  25. .nav-secondLevel {
  26. top: 36px;
  27. }
  28. .header-nav li>a{
  29. font-size: 16px;
  30. }
  31. .header-nav li:hover>a {
  32. background-color: #289fdb;
  33. }
  34. .header-nav .nav-secondLevel li {
  35. background-color: #156da9;
  36. }
  37. .header-nav .nav-secondLevel li a{
  38. border-color: #1b79b9;
  39. }
  40. .header-nav li a {
  41. position: relative;
  42. line-height: 36px;
  43. height: 36px;
  44. }
  45. .header-nav a i {
  46. width: 0;
  47. height: 0;
  48. border: 6px solid transparent;
  49. border-bottom-color: #fff;
  50. position: absolute;
  51. bottom: 0;
  52. left: 50%;
  53. transform: translateX(-50%);
  54. opacity: 0;
  55. }
  56. .header-nav li:hover a i {
  57. opacity: 1;
  58. }
  59. /* 主体 */
  60. .content {
  61. margin-top: 20px;
  62. }
  63. .content-row {
  64. display: flex;
  65. justify-content: space-between;
  66. flex-wrap: wrap;
  67. }
  68. .content-item {
  69. width: 32.6%;
  70. box-sizing: border-box;
  71. margin-bottom: 15px;
  72. border: 1px solid #ccc;
  73. border-radius: 3px;
  74. }
  75. .content-item-swiper{
  76. width: 66.2%;
  77. }
  78. .content-item-swiper .swiper-container{
  79. width: 350px;
  80. float: left;
  81. }
  82. .content-item-swiper ul{
  83. margin-left: 360px;
  84. }
  85. .content-item h2 {
  86. height: 34px;
  87. line-height: 34px;
  88. font-size: 16px;
  89. padding: 0 12px;
  90. background-color: #f7f7f7;
  91. border-bottom: 1px solid #3f7ed3;
  92. margin-bottom: 6px;
  93. }
  94. .content-item h2 a {
  95. display: inline-block;
  96. color: #fff;
  97. padding: 0px 20px;
  98. background: url(../images/bg/bg-title-zwc.png) repeat-x center;
  99. background-size: contain;
  100. position: relative;
  101. }
  102. .content-item h2 a i{
  103. position: absolute;
  104. bottom: -12px;
  105. left: 50%;
  106. transform: translateX(-50%);
  107. border: 6px solid transparent;
  108. border-top-color: #3f7ed3;
  109. z-index: 1000;
  110. }
  111. .content-wrap ul li {
  112. height: 36px;
  113. line-height: 36px;
  114. margin: 0 10px;
  115. /* border-bottom: 1px dashed #ccc; */
  116. }
  117. .content-wrap li p {
  118. width: calc(100% - 120px);
  119. overflow: hidden;
  120. text-overflow: ellipsis;
  121. white-space: nowrap;
  122. float: left;
  123. }
  124. .content-wrap .list-time {
  125. float: right;
  126. color: #666;
  127. }
  128. .content-wrap a:hover .list-time {
  129. color: #ff1111;
  130. }
  131. /* 其他 */
  132. .content-item-other{
  133. border-radius: 10px 10px 0 0;
  134. overflow: hidden;
  135. }
  136. .content-item-other h2{
  137. border: none;
  138. background: url(../images/bg/bg-title-zwc.png) repeat-x center;
  139. background-size: contain;
  140. }
  141. /* 图片 */
  142. .content-item-pic ul li{
  143. height: inherit;
  144. line-height: inherit;
  145. text-align: center;
  146. }
  147. .content-item-pic ul li img{
  148. width: 96%;
  149. }
  150. /* 轮播 */
  151. .swiper-container {
  152. margin: 5px;
  153. }
  154. .swiper-pagination-bullet {
  155. width: 22px;
  156. height: 18px;
  157. line-height: 18px;
  158. border-radius: 2px;
  159. font-size: 12px;
  160. text-align: center;
  161. background-color: rgba(0, 0, 0, .6);
  162. color: #fff;
  163. }
  164. .swiper-pagination-bullet-active {
  165. color: #fff;
  166. background: rgba(174, 28, 3, 1);
  167. }
  168. .swiper-container-horizontal>.swiper-pagination-bullets {
  169. text-align: right;
  170. left: -3px;
  171. bottom: 34px;
  172. }
  173. .swiper-slide {
  174. position: relative;
  175. }
  176. .swiper-slide img {
  177. display: block;
  178. width: 100%;
  179. }
  180. .swiper-slide .swiper-title {
  181. height: 26px;
  182. line-height: 26px;
  183. padding: 0 10px;
  184. box-sizing: border-box;
  185. width: 100%;
  186. overflow: hidden;
  187. text-overflow: ellipsis;
  188. white-space: nowrap;
  189. text-align: center;
  190. background-color: #fff;
  191. margin-top: 5px;
  192. }
  193. /* 列表页 */
  194. .crumbs {
  195. line-height: 32px;
  196. padding: 0 20px;
  197. overflow: hidden;
  198. border-bottom: 2px solid #2080cd;
  199. }
  200. .crumbs p {
  201. float: left;
  202. font-weight: bold;
  203. font-size: 16px;
  204. color: #0066FF;
  205. }
  206. .crumbs p i{
  207. display: inline-block;
  208. width: 5px;
  209. height: 16px;
  210. background-color: #2080cd;
  211. margin-right: 15px;
  212. }
  213. .crumbs-right {
  214. float: right;
  215. color: #333;
  216. }
  217. .crumbs-right a {
  218. color: #333;
  219. }
  220. .crumbs-right a:hover {
  221. color: #AE1C03;
  222. }
  223. .list-wrap {
  224. margin-top: 0;
  225. }
  226. .list-wrap li {
  227. padding: 0 15px;
  228. }
  229. .list-wrap li a {
  230. padding: 0 12px;
  231. }
  232. .content-left {
  233. width: 350px;
  234. background-color: transparent;
  235. margin-right: 15px;
  236. }
  237. .content-left .content-item-other h2{
  238. font-size: 16px;
  239. height: 34px;
  240. line-height: 34px;
  241. }
  242. .content-left .list-wrap li>a{
  243. border-bottom: none;
  244. }
  245. .content-left .list-wrap li{
  246. padding: 0;
  247. }
  248. .content-left .list-wrap li a{
  249. padding: 0 6px;
  250. }
  251. .content-left .list-wrap .list-title {
  252. width: calc(100% - 96px);
  253. }
  254. .content-left .content-item-pic img{
  255. width: 100%;
  256. }
  257. .content-right {
  258. width: 70%;
  259. }
  260. /* 正文页 */
  261. .article-bottom {
  262. padding: 20px;
  263. }
  264. .article-bottom p {
  265. line-height: 32px;
  266. overflow: hidden;
  267. text-overflow: ellipsis;
  268. white-space: nowrap;
  269. }
  270. .article-bottom span {
  271. color: #AE1C03;
  272. }
  273. .catalog {
  274. border: none;
  275. }
  276. .catalog-item {
  277. margin-bottom: 15px;
  278. border: 1px solid #D8E0E8;
  279. border-top: none;
  280. border-radius: 4px;
  281. padding-bottom: 10px;
  282. }
  283. .catalog-item:last-child {
  284. margin-bottom: 0;
  285. }
  286. /* 底部 */
  287. .footer {
  288. margin-top: 5px;
  289. }
  290. .footer-mesg {
  291. background: url(../images/bg/bg-foot-zwc.png) repeat-x;
  292. background-size: contain;
  293. }
  294. .footer-link {
  295. background-color: #C1D6E3;
  296. line-height: 36px;
  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. .mobile-nav-icon span {
  306. background-color: #C90303;
  307. }
  308. .mobile-header-nav>ul{
  309. background-color: #156DB2;
  310. }
  311. .mobile-header-nav>ul>li {
  312. background-color: #156DB2;
  313. }
  314. .mobile-header-nav li a{
  315. border-bottom: 1px solid #1b79b9;
  316. }
  317. .mobile-header-nav .nav-secondLevel {
  318. background-color: #289fdb;
  319. }
  320. .mobile-header-nav .nav-threeLevel {
  321. background-color: #156da9;
  322. }
  323. /* 响应式 */
  324. @media screen and (max-width: 1024px) {
  325. .header-img img {
  326. width: 100%;
  327. }
  328. }
  329. @media screen and (max-width: 980px) {
  330. .header-nav {
  331. background-repeat: repeat;
  332. background-position: left top;
  333. }
  334. .header-nav ul {
  335. height: auto;
  336. }
  337. /* flex布局,item元素补全 */
  338. .header-nav ul::after {
  339. content: "";
  340. width: 50%;
  341. }
  342. .content-item {
  343. width: 100% !important;
  344. }
  345. .content-col {
  346. width: 100% !important;
  347. }
  348. }
  349. @media screen and (max-width: 768px) {
  350. .content-item {
  351. width: 100%;
  352. }
  353. .content-tow-lines li {
  354. width: 100%;
  355. }
  356. .content-item-swiper ul {
  357. margin-left: 0;
  358. }
  359. .content-part>div {
  360. width: 100% !important;
  361. }
  362. .content-left{
  363. margin-right: 0;
  364. }
  365. .content-item-swiper .swiper-container{
  366. width: 100%;
  367. }
  368. .content-right{
  369. order: -1;
  370. margin-bottom: 10px;
  371. }
  372. }
  373. @media screen and (max-width: 640px) {
  374. .header-img {
  375. width: 100%;
  376. }
  377. .header-img img {
  378. width: auto;
  379. }
  380. .content-wrap li p {
  381. width: calc(100% - 100px);
  382. }
  383. .header-right {
  384. display: none;
  385. }
  386. .mobile-nav-icon {
  387. right: 18px;
  388. }
  389. .list-wrap li {
  390. padding: 5px 0px;
  391. }
  392. }