industrial.css 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611
  1. body{
  2. color: #000;
  3. /* background-color: #94C0EF; */
  4. background: url(../images/industrial/content-bg.png) no-repeat center;
  5. background-size: contain;
  6. }
  7. a{
  8. color: #000;
  9. }
  10. a:hover{
  11. color: #ff1111;
  12. }
  13. .header {
  14. position: relative;
  15. }
  16. .header-top{
  17. position: relative;
  18. }
  19. .header-img{
  20. position: relative;
  21. }
  22. .header-img img{
  23. /* width: auto; */
  24. }
  25. .logo {
  26. position: absolute;
  27. left: 0;
  28. top: 50%;
  29. transform: translateY(-50%);
  30. width: 38% !important;
  31. }
  32. /* 导航 */
  33. .header-nav{
  34. background: url(../images/industrial/nav.png) no-repeat right center;
  35. background-size: contain;
  36. width: 64%;
  37. position: absolute;
  38. right: 0;
  39. bottom: 8px;
  40. border-radius: 60px 0 0 60px;
  41. }
  42. .header-nav ul{
  43. height: 50px;
  44. line-height: 50px;
  45. background-color: transparent;
  46. }
  47. .nav-secondLevel{
  48. top: 50px;
  49. }
  50. .header-nav li:last-child{
  51. background: none;
  52. }
  53. .header-nav .nav-secondLevel li a{
  54. border-color: #3B6AC4;
  55. background-color: #1b7fc7;
  56. }
  57. .header-nav li:hover>a{
  58. background-color: #1b7fc7 ;
  59. }
  60. .nav-secondLevel {
  61. z-index: 101;
  62. }
  63. .nav-secondLevel li:hover a{
  64. background-color: #2574a5;
  65. }
  66. .nav-secondLevel .nav-threeLevel a{
  67. background-color: #004c98;
  68. }
  69. .header-nav .nav-threeLevel li a:hover {
  70. background-color: #2574a5;
  71. }
  72. .header-nav li a{
  73. position: relative;
  74. height: 50px;
  75. line-height: 50px;
  76. }
  77. .header-nav>ul>li>a{
  78. font-size: 16px;
  79. color: #000;
  80. }
  81. .header-nav a i{
  82. width: 0;
  83. height: 0;
  84. border: 6px solid transparent;
  85. border-bottom-color: #fff;
  86. position: absolute;
  87. bottom: 0;
  88. left: 50%;
  89. transform: translateX(-50%);
  90. opacity: 0;
  91. }
  92. .header-nav li:hover a i{
  93. opacity: 1;
  94. }
  95. /* 搜索 */
  96. .header-seach{
  97. position: absolute;
  98. right: 10px;
  99. bottom: 50%;
  100. border: 1px solid #999;
  101. border-radius: 4px;
  102. overflow: hidden;
  103. }
  104. .header-seach input{
  105. box-sizing: border-box;
  106. display: block;
  107. height: 26px;
  108. line-height: 26px;
  109. padding: 0 26px 0 10px;
  110. width: 150px;
  111. outline: none;
  112. border: 0;
  113. }
  114. .header-seach button{
  115. position: absolute;
  116. right: 0;
  117. top: 0;
  118. height: 26px;
  119. width: 28px;
  120. background: url(../images/icon/search2.png) no-repeat center;
  121. background-size: 16px;
  122. border: none;
  123. outline: none;
  124. cursor: pointer;
  125. }
  126. /* 主体 */
  127. .content{
  128. /* margin-top: 20px; */
  129. position: relative;
  130. /* background: url(../images/bg/bg-content-jwc.png) no-repeat right bottom;
  131. background-size: contain; */
  132. }
  133. .content-row{
  134. display: flex;
  135. justify-content: space-between;
  136. padding-top: 5px;
  137. }
  138. .content-item{
  139. box-sizing: border-box;
  140. margin-bottom: 20px;
  141. }
  142. .content-item h2{
  143. background-size: contain;
  144. font-size: 14px;
  145. overflow: hidden;
  146. padding-right: 14px;
  147. border-bottom: 2px solid #004c98;
  148. }
  149. .content-item h2 span{
  150. display: inline-block;
  151. padding: 10px 14px;
  152. font-size: 18px;
  153. color: #004c98;
  154. }
  155. .content-item h2 span i{
  156. border-left: 6px solid #FF6600;
  157. margin-right: 12px;
  158. }
  159. .content-item h2 a{
  160. font-weight: normal;
  161. float: right;
  162. margin-top: 10px;
  163. }
  164. .content-item h2 a:hover{
  165. color: #FF0000;
  166. }
  167. .content-item h2 a:hover .triangle{
  168. border-left-color: #FF0000;
  169. }
  170. .content-wrap ul li{
  171. height: 42px;
  172. line-height: 42px;
  173. margin: 0 15px;
  174. border-bottom: 1px solid #ccc;
  175. }
  176. .content-wrap li p{
  177. width: calc(100% - 80px);
  178. overflow: hidden;
  179. text-overflow: ellipsis;
  180. white-space: nowrap;
  181. float: left;
  182. }
  183. .content-wrap .list-time {
  184. float: right;
  185. color: #666;
  186. }
  187. .content-wrap a:hover .list-time {
  188. color: #ff1111;
  189. }
  190. .content-QRcode{
  191. text-align: center;
  192. display: flex;
  193. justify-content: space-around;
  194. margin: 50px 0;
  195. }
  196. .content-QRcode-item{
  197. width: 32%;
  198. }
  199. .content-QRcode-item img{
  200. width: 100%;
  201. }
  202. .content-QRcode-item p{
  203. margin-top: 10px;
  204. }
  205. /* 轮播 */
  206. .content-item-swiper .swiper-pagination-bullet{
  207. width: 22px;
  208. height: 18px;
  209. line-height: 18px;
  210. border-radius: 2px;
  211. font-size: 12px;
  212. text-align: center;
  213. background-color: rgba(0, 0, 0, .6);
  214. color: #fff;
  215. }
  216. .content-item-swiper .swiper-pagination-bullet-active {
  217. color:#fff;
  218. background: rgba(185, 13, 13, .7);
  219. }
  220. .content-item-swiper .swiper-container-horizontal>.swiper-pagination-bullets{
  221. text-align: right;
  222. left: -3px;
  223. bottom: 3px;
  224. }
  225. .content-item-swiper .swiper-slide{
  226. position: relative;
  227. }
  228. .content-item-swiper .swiper-slide img{
  229. display: block;
  230. width: 100%;
  231. }
  232. .content-item-swiper .swiper-slide .swiper-title{
  233. position: absolute;
  234. left: 0;
  235. top: 0;
  236. height: 26px;
  237. line-height: 26px;
  238. background-color: #B90D0D;
  239. color: #fff;
  240. padding: 0 10px;
  241. box-sizing: border-box;
  242. width: 100%;
  243. overflow: hidden;
  244. text-overflow: ellipsis;
  245. white-space: nowrap;
  246. text-align: center;
  247. }
  248. .content-left{
  249. width: 54.7%;
  250. margin-right: 2%;
  251. }
  252. /* 左上 */
  253. .content-left-top{
  254. overflow: hidden;
  255. width: 97.3%;
  256. position: relative;
  257. margin-bottom: 3px;
  258. }
  259. .banner-bg {
  260. width: 100%;
  261. position: relative;
  262. z-index: 100;
  263. }
  264. .banner-item {
  265. position: absolute;
  266. width: 32.6%;
  267. border-radius: 56px;
  268. }
  269. .banner-item1 {
  270. top: 20%;
  271. left: 36.3%;
  272. z-index: 96;
  273. }
  274. .banner-item2 {
  275. top: 39%;
  276. left: 66%;
  277. z-index: 98;
  278. }
  279. .banner-item3 {
  280. top: 59.9%;
  281. left: 37%;
  282. z-index: 99;
  283. }
  284. .banner-item4 {
  285. top: 39%;
  286. left: 7.5%;
  287. z-index: 98;
  288. }
  289. /* 标题 */
  290. .content-title{
  291. background: url(../images/icon/jwc/title.png) no-repeat right bottom;
  292. line-height: 50px;
  293. padding: 0 15px 10px;
  294. }
  295. .content-title img{
  296. width: 40px;
  297. vertical-align: middle;
  298. margin-right: 12px;
  299. }
  300. .content-title span,
  301. .content-title a{
  302. font-size: 18px;
  303. font-weight: bold;
  304. vertical-align: middle;
  305. }
  306. .content-title a{
  307. float: right;
  308. }
  309. .content-title a span{
  310. margin-right: 8px;
  311. }
  312. /* 右边 */
  313. .content-right{
  314. width: 40%;
  315. }
  316. .content-right .content-item{
  317. width: 100%;
  318. margin-top: 30px;
  319. }
  320. .content-right .content-item:first-child{
  321. margin-top: 0;
  322. }
  323. .content-col1 {
  324. width: 64%;
  325. }
  326. .content-col2 {
  327. width: 32%;
  328. }
  329. .swiper-container {
  330. margin: 10px 15px 0;
  331. }
  332. .swiper-container img {
  333. width: 100%;
  334. }
  335. .swiper-slide a {
  336. display: block;
  337. width: 100%;
  338. height: 100%;
  339. box-sizing: border-box;
  340. padding: 5px;
  341. border: 1px solid #ccc;
  342. }
  343. /* 列表页 */
  344. .content-list-wrap,
  345. .content-left{
  346. background-color: transparent;
  347. }
  348. .content-list-wrap{
  349. margin-top: 15px;
  350. margin-bottom: 15px;
  351. border: 1px solid #1b7fc7;
  352. }
  353. .content-left-list li a{
  354. background: url(../images/icon/triangle.jpg) no-repeat 10px center;
  355. text-align: left;
  356. padding-left: 32px;
  357. }
  358. .crumbs{
  359. background-color: #1b7fc7;
  360. line-height: 40px;
  361. overflow: hidden;
  362. color: #fff;
  363. }
  364. .crumbs p {
  365. float: left;
  366. font-weight: bold;
  367. font-size: 16px;
  368. }
  369. .crumbs a{
  370. color: #fff;
  371. }
  372. .crumbs-right {
  373. float: right;
  374. }
  375. .list-wrap .list-time{
  376. color: #666;
  377. }
  378. /* 目录页 */
  379. .catalog-title{
  380. /* border: none;
  381. background-color: #87cefa;
  382. padding: 0 20px; */
  383. border-color: #ff0000;
  384. }
  385. /* 底部 */
  386. .footer-mesg{
  387. background-color: #d4d4d4;
  388. color: #000;
  389. border: 6px solid #b7b7b7;
  390. border-right: 0;
  391. border-left: 0;
  392. }
  393. .mobile-nav-icon span{
  394. background-color: #ff0000;
  395. }
  396. .mobile-header-nav .nav-threeLevel li a{
  397. background-color: #f55555;
  398. }
  399. /* 响应式 */
  400. @media screen and (max-width: 1024px) {
  401. .banner-nav{
  402. top: 60px;
  403. }
  404. }
  405. @media screen and (max-width: 980px) {
  406. .logo {
  407. width: 50% !important;
  408. }
  409. .header-nav ul{
  410. height: auto;
  411. }
  412. /* flex布局,item元素补全 */
  413. .header-nav ul::after{
  414. content: "";
  415. width: 50%;
  416. }
  417. .header-mesg{
  418. position: relative;
  419. top: 0;
  420. left: 0;
  421. transform: translateY(0);
  422. overflow: hidden;
  423. }
  424. .header-mesg p{
  425. float: left;
  426. margin-right: 20px;
  427. margin-bottom: 8px;
  428. }
  429. .content-row{
  430. flex-wrap: wrap;
  431. }
  432. .content-item,
  433. .content-col {
  434. width: 100% !important;
  435. }
  436. .content-left{
  437. width: 100%;
  438. }
  439. .header-seach{
  440. right: 85px;
  441. }
  442. .content-nav{
  443. display: none;
  444. }
  445. .banner-swiper{
  446. margin-left: 0;
  447. }
  448. }
  449. @media screen and (max-width: 768px) {
  450. .content-item{
  451. width: 100%;
  452. }
  453. /* 轮播 */
  454. .content-item-swiper .swiper-container{
  455. width: 100%;
  456. float: inherit;
  457. }
  458. .content-item-swiper ul{
  459. margin-left: 0;
  460. }
  461. .content-item-swiper .content-wrap{
  462. margin-left: 0;
  463. margin-top: 20px;
  464. }
  465. }
  466. @media screen and (max-width: 640px) {
  467. .logo {
  468. width: auto !important;
  469. }
  470. .header{
  471. box-shadow: 0 1px 3px #ddd;
  472. position: fixed;
  473. }
  474. .header-top .wrap{
  475. width: 100%;
  476. }
  477. .mobile-nav-icon {
  478. right: 18px;
  479. }
  480. .header-seach{
  481. display: none;
  482. }
  483. .content-wrap li p{
  484. width: calc(100% - 100px);
  485. }
  486. .content-bgPic{
  487. top: 0;
  488. }
  489. .banner{
  490. padding-top: 15px;
  491. }
  492. .banner-item {
  493. border-radius: 30px;
  494. }
  495. }