ztb.css 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411
  1. body{
  2. color: #000;
  3. background-color: #DFEEFF;
  4. }
  5. a{
  6. color: #000;
  7. }
  8. a:hover{
  9. color: #ff1111;
  10. }
  11. .header-top{
  12. background: url(../images/bg/bg-header-ztb.jpg);
  13. }
  14. .header-img{
  15. position: relative;
  16. }
  17. .header-img img{
  18. width: auto;
  19. margin: 0 auto;
  20. }
  21. /* 导航 */
  22. .header-nav{
  23. background: url(../images/bg/bg-nav-rsc.jpg) repeat-x center;
  24. }
  25. .header-nav ul{
  26. height: 41px;
  27. line-height: 41px;
  28. background-color: transparent;
  29. }
  30. .nav-secondLevel{
  31. top: 41px;
  32. }
  33. .header-nav li {
  34. background: url(../images/bg/bg-nav-rsc-line.jpg) no-repeat center right;
  35. }
  36. .header-nav li:last-child{
  37. background: none;
  38. }
  39. .header-nav li:hover a {
  40. background-color: rgba(15,68,157,.4);
  41. }
  42. .header-nav .nav-secondLevel li a{
  43. border-color: #07ade7;
  44. background-color: rgba(15,68,157,.8);
  45. }
  46. .header-nav .nav-secondLevel li:hover a {
  47. background-color: rgba(15,68,157,1);
  48. }
  49. .header-nav .nav-threeLevel li a:hover{
  50. background-color: #0190d6;
  51. }
  52. .header-nav li a{
  53. position: relative;
  54. }
  55. .header-nav a i{
  56. width: 0;
  57. height: 0;
  58. border: 6px solid transparent;
  59. border-bottom-color: #fff;
  60. position: absolute;
  61. bottom: 0;
  62. left: 50%;
  63. transform: translateX(-50%);
  64. opacity: 0;
  65. }
  66. .header-nav li:hover a i{
  67. opacity: 1;
  68. }
  69. /* 主体 */
  70. .content{
  71. margin-top: 15px;
  72. }
  73. .content-row{
  74. display: flex;
  75. justify-content: space-between;
  76. flex-wrap: wrap;
  77. }
  78. .content-item{
  79. width: 32.6%;
  80. box-sizing: border-box;
  81. margin-bottom: 15px;
  82. border: 1px solid #A2E0FF;
  83. background-color: #F3F3FF;
  84. }
  85. .content-item-swiper{
  86. width: 100%;
  87. background: #F3F3FF url(../images/bg/bg-content-ztb-center.jpg) repeat-x center top;
  88. }
  89. .content-item h2{
  90. height: 32px;
  91. line-height: 32px;
  92. background: url(../images/bg/bg-content-ztb2.jpg) no-repeat left center;
  93. background-size: cover;
  94. color: #fff;
  95. font-size: 14px;
  96. overflow: hidden;
  97. padding: 0 15px 0 54px;
  98. }
  99. .content-item-swiper h2{
  100. background: url(../images/bg/bg-content-ztb.jpg) no-repeat left center;
  101. background-size: contain;
  102. padding-left: 40px;
  103. }
  104. .content-item h2 i{
  105. font-style: normal;
  106. font-weight: normal;
  107. padding: 0 3px;
  108. }
  109. .content-item h2 span{
  110. font-weight: normal;
  111. }
  112. .content-item h2 a{
  113. font-weight: normal;
  114. float: right;
  115. }
  116. .content-item h2 a:hover{
  117. color: #FF0000;
  118. }
  119. .content-item h2 a:hover .triangle{
  120. border-left-color: #FF0000;
  121. }
  122. .content-item h2 .triangle{
  123. display: inline-block;
  124. width: 0;
  125. height: 0;
  126. border: 7px solid transparent;
  127. border-left-color: #fff;
  128. vertical-align: middle;
  129. margin: -2px 0 0 2px;
  130. }
  131. .content-wrap ul li{
  132. height: 36px;
  133. line-height: 36px;
  134. margin: 0 10px;
  135. border-bottom: 1px dashed #ccc;
  136. padding-left: 16px;
  137. background: url(../images/icon/img1.gif)no-repeat left center;
  138. }
  139. .content-wrap li p{
  140. width: calc(100% - 20px);
  141. overflow: hidden;
  142. text-overflow: ellipsis;
  143. white-space: nowrap;
  144. float: left;
  145. }
  146. .content-item-swiper li p{
  147. width: calc(100% - 110px);
  148. }
  149. .content-wrap .list-time {
  150. float: right;
  151. /* color: #999; */
  152. display: none;
  153. }
  154. .content-item-swiper .list-time {
  155. display: block;
  156. }
  157. .content-wrap a:hover .list-time {
  158. color: #ff1111;
  159. }
  160. .content-tow-lines {
  161. flex-grow: 2;
  162. }
  163. .content-tow-lines ul{
  164. display: flex;
  165. justify-content: space-between;
  166. flex-wrap: wrap;
  167. }
  168. .content-tow-lines li{
  169. width: 48%;
  170. overflow: hidden;
  171. }
  172. .content-item-swiper ul{
  173. margin-left: 34%;
  174. margin-top: 5px;
  175. }
  176. /* 轮播 */
  177. .content-item-swiper .swiper-container{
  178. width: 33%;
  179. float: left;
  180. margin: 5px;
  181. }
  182. .swiper-pagination-bullet{
  183. width: 22px;
  184. height: 18px;
  185. line-height: 18px;
  186. border-radius: 2px;
  187. font-size: 12px;
  188. text-align: center;
  189. background-color: rgba(0, 0, 0, .6);
  190. color: #fff;
  191. }
  192. .swiper-pagination-bullet-active {
  193. color:#fff;
  194. background: rgba(7, 173, 231, .8);
  195. }
  196. .swiper-container-horizontal>.swiper-pagination-bullets{
  197. text-align: right;
  198. left: -3px;
  199. bottom: 3px;
  200. }
  201. .swiper-slide{
  202. position: relative;
  203. }
  204. .swiper-slide img{
  205. display: block;
  206. width: 100%;
  207. }
  208. .swiper-slide .swiper-title{
  209. position: absolute;
  210. left: 0;
  211. top: 0;
  212. height: 26px;
  213. line-height: 26px;
  214. background-color: #0190d6;
  215. color: #fff;
  216. padding: 0 10px;
  217. box-sizing: border-box;
  218. width: 100%;
  219. overflow: hidden;
  220. text-overflow: ellipsis;
  221. white-space: nowrap;
  222. text-align: center;
  223. }
  224. /* 列表页 */
  225. .content-list-wrap{
  226. border: 1px solid #0095E2;
  227. background-color: #fff;
  228. }
  229. .crumbs{
  230. background-color: #0095E2;
  231. color: #fff;
  232. }
  233. .crumbs a{
  234. color: #fff;
  235. }
  236. /* 底部 */
  237. .footer{
  238. background-color: #0095E2;
  239. }
  240. .footer-mesg{
  241. background-color: transparent;
  242. }
  243. .footer-link{
  244. background-color: #C1D6E3;
  245. line-height: 36px;
  246. }
  247. .footer-link ul{
  248. display: inline-block;
  249. }
  250. .footer-link ul li{
  251. display: inline-block;
  252. margin-right: 15px;
  253. }
  254. .mobile-nav-icon span{
  255. background-color: #193e88;
  256. }
  257. .mobile-header-nav>ul{
  258. background-color: #236BBF;
  259. }
  260. .mobile-header-nav>ul>li {
  261. background-color: #236BBF;
  262. }
  263. .mobile-header-nav li a {
  264. border-color: #0190d6;
  265. }
  266. .mobile-header-nav .nav-secondLevel{
  267. background-color: #2a8fb3;
  268. }
  269. .mobile-header-nav .nav-threeLevel {
  270. background-color: #6dbedc;
  271. }
  272. /* 响应式 */
  273. @media screen and (max-width: 1024px) {
  274. .header-img img{
  275. width: 100%;
  276. }
  277. }
  278. @media screen and (max-width: 980px) {
  279. .header-nav{
  280. background-repeat: repeat;
  281. background-position: left top;
  282. }
  283. .header-nav ul{
  284. height: auto;
  285. }
  286. /* flex布局,item元素补全 */
  287. .header-nav ul::after{
  288. content: "";
  289. width: 50%;
  290. }
  291. .content-item{
  292. width: 100% !important;
  293. }
  294. }
  295. @media screen and (max-width: 768px) {
  296. .content-item{
  297. width: 100%;
  298. }
  299. .content-tow-lines li{
  300. width: 100%;
  301. }
  302. /* 轮播 */
  303. .content-item-swiper .swiper-container{
  304. width: 100%;
  305. float: inherit;
  306. margin: 5px 0;
  307. }
  308. .content-item-swiper ul{
  309. margin-left: 0;
  310. }
  311. .content-item-swiper h2{
  312. background-size: cover;
  313. }
  314. }
  315. @media screen and (max-width: 640px) {
  316. .header-top{
  317. background-size: contain;
  318. }
  319. .header-img{
  320. width: 100%;
  321. }
  322. .header-img img{
  323. width: auto;
  324. margin: 0 ;
  325. }
  326. .content-wrap li p{
  327. width: calc(100% - 100px);
  328. }
  329. .header-right{
  330. display: none;
  331. }
  332. }