index.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  1. .fl{
  2. float: left;
  3. }
  4. .fr{
  5. float: right;
  6. }
  7. .text-left{
  8. text-align: left;
  9. }
  10. .text-center{
  11. text-align: center;
  12. }
  13. .text-right{
  14. text-align: right;
  15. }
  16. .h1{font-size: 2.5em;}
  17. .h2{font-size: 2.25em;}
  18. .h3{font-size: 2em;}
  19. .h4{font-size: 1.5em;}
  20. .h5{font-size: 1.25em;}
  21. .h6{font-size: 1em;}
  22. *{
  23. box-sizing: border-box;
  24. }
  25. .container{
  26. width: 1200px;
  27. margin: 0 auto;
  28. &.padding{
  29. padding: 55px 0;
  30. }
  31. }
  32. #index{
  33. background-image: url(../image/index/bg.jpg);
  34. background-attachment:fixed;
  35. .header-bg{
  36. background-color: #fff;
  37. min-width: 1200px;
  38. .header{
  39. height: 100px;
  40. width: 1200px;
  41. position: relative;
  42. display: flex;
  43. flex-wrap: nowrap;
  44. justify-content:space-between;
  45. .logo,.tel{
  46. img{
  47. margin-top: 25px;
  48. }
  49. }
  50. .menu{
  51. font-size: 15px;
  52. font-weight: 700;
  53. &>li{
  54. position: relative;
  55. transition: all .3s;
  56. float: left;
  57. top: -100px;
  58. ul{
  59. opacity: 0;
  60. transition: top .3s;
  61. top: -130px;
  62. overflow: hidden;
  63. &>li{
  64. position: relative;
  65. left: 0;
  66. transition: all .3s;
  67. &:hover{
  68. left: 100%;
  69. }
  70. &>span{
  71. display: inline-block;
  72. width: 100%;
  73. padding: 10px 0;
  74. cursor: pointer;
  75. &:first-child{
  76. background-color: #CB0000;
  77. color: #fff;
  78. position: absolute;
  79. left: -100%;
  80. }
  81. }
  82. }
  83. }
  84. &:hover{
  85. top: 0;
  86. ul{
  87. position: relative;
  88. z-index: 999;
  89. background-color: #fff;
  90. top: -100px;
  91. text-align: center;
  92. opacity: 1;
  93. }
  94. }
  95. &>span{
  96. display: block;
  97. line-height: 100px;
  98. cursor: pointer;
  99. padding: 0 15px;
  100. &:first-child{
  101. background-color: #CB0000;
  102. color: #fff;
  103. }
  104. }
  105. }
  106. }
  107. }
  108. }
  109. .floor1{
  110. background-color: #f7f7f7;
  111. min-width: 1200px;
  112. .right{
  113. padding: 20px;
  114. padding-left: 290px;
  115. .p1{
  116. font-family:'微软雅黑';
  117. line-height: 1.6;
  118. font-size: 16px;
  119. padding-bottom: 30px;
  120. padding-top: 20px;
  121. }
  122. .p2{
  123. padding-bottom: 30px;
  124. font-size: 18px;
  125. font-family:'微软雅黑';
  126. line-height: 1.6;
  127. font-size: 28px;
  128. span{
  129. font-size: 20px;
  130. }
  131. }
  132. .flex{
  133. display: flex;
  134. justify-content:space-between;
  135. }
  136. }
  137. }
  138. .floor2{
  139. min-width: 1200px;
  140. .flex{
  141. display: flex;
  142. justify-content:space-between;
  143. }
  144. .box{
  145. margin: 5px;
  146. padding:20px;
  147. width: 100%;
  148. color: #fff;
  149. transition: all 1s;
  150. background-size: 100% 100%;
  151. background-position: center center;
  152. &:hover{
  153. background-size: 110% 110%;
  154. }
  155. .t{
  156. padding:10px 0;
  157. font-size: 20px;
  158. font-weight: bold;
  159. }
  160. }
  161. .line1{
  162. .box{
  163. height: 225px;
  164. &:nth-child(1){background-image: url(../image/index/p01.jpg);}
  165. &:nth-child(2){background-image: url(../image/index/p02.jpg);}
  166. &:nth-child(3){background-image: url(../image/index/p03.jpg);}
  167. }
  168. }
  169. .line2{
  170. .box{
  171. height: 250px;
  172. &:nth-child(1){background-image: url(../image/index/xx.jpg);}
  173. &:nth-child(2){background-image: url(../image/index/rongyu.jpg);}
  174. &:nth-child(3){background-image: url(../image/index/kefu.jpg);}
  175. &:nth-child(4){background-image: url(../image/index/dunpai.jpg);}
  176. }
  177. }
  178. }
  179. .floor3{
  180. min-width: 1200px;
  181. background-image: url(../image/index/probgbg.jpg);
  182. .link{
  183. font-size: 18px;
  184. padding:20px 90px;
  185. box-shadow:0px -2px 3px 0px rgba(0, 0, 0, 0.35) inset;
  186. display:inline-block;
  187. background-color: #fff;
  188. color: #666;
  189. &:hover{
  190. background-color: #C10504;
  191. color:#fff;
  192. }
  193. }
  194. .pitem{
  195. &:hover{
  196. .img{
  197. border-color: #C10403;
  198. }
  199. .count{
  200. background-color: #C10403;
  201. }
  202. }
  203. .img{
  204. border: 2px solid #292929;
  205. padding: 25px 0;
  206. img{
  207. width: 100%;
  208. }
  209. }
  210. .count{
  211. background-color: #292929;
  212. color: #fff;
  213. padding:20px 10px ;
  214. line-height: 30px;
  215. .line{
  216. display: block;
  217. height: 3px;
  218. background-color: #fff;
  219. width:50px;
  220. }
  221. }
  222. }
  223. }
  224. .floor4{
  225. padding-bottom: 50px;
  226. min-width: 1200px;
  227. background-color: #fff;
  228. overflow: hidden;
  229. background-image: url(../image/index/bc.png);
  230. background-repeat: no-repeat;
  231. background-position: center 60px;
  232. .title{
  233. padding-bottom: 20px;
  234. font-size: 30px;
  235. color: #000;
  236. span{
  237. font-size: 18px;
  238. }
  239. .line{
  240. margin: 20px 0;
  241. width: 2em;
  242. height: 6px;
  243. display: block;
  244. background-color: #DF071D;
  245. }
  246. }
  247. .left{
  248. width: 680px;
  249. float: left;
  250. .anli-list{
  251. .swiper-slide{
  252. display: flex;
  253. flex-flow: wrap;
  254. .item{
  255. overflow: hidden;
  256. text-align: center;
  257. position: relative;
  258. width: 33.33%;
  259. height: 162px;
  260. border-right: 20px solid #fff;
  261. border-bottom: 15px solid #fff;
  262. img{
  263. width: 100%;
  264. position: relative;
  265. left: 0;
  266. transition: all .8s;
  267. }
  268. .txt{
  269. position: absolute;
  270. color: #fff;
  271. background-color: #df071db7;
  272. opacity: 0;
  273. transition: all .5s;
  274. bottom: -35px;
  275. width: 100%;
  276. height: 35px;
  277. line-height: 35px;
  278. }
  279. &:hover{
  280. img{
  281. width: 110%;
  282. left: -5%;
  283. }
  284. .txt{
  285. opacity: 1;
  286. bottom: 0;
  287. }
  288. }
  289. }
  290. }
  291. }
  292. }
  293. .right{
  294. float: right;
  295. width: 450px;
  296. ul {
  297. li{
  298. padding-bottom: 20px;
  299. a{
  300. display: inline-block;
  301. white-space: nowrap;
  302. overflow: hidden;
  303. text-overflow: ellipsis;
  304. width: 100%;
  305. font-size: 15px;
  306. line-height: 21px;
  307. color: #323232;
  308. &:hover{
  309. color:#45A5A1;
  310. }
  311. }
  312. }
  313. }
  314. }
  315. }
  316. .floor5{
  317. padding-bottom: 50px;
  318. min-width: 1200px;
  319. background-color: #000;
  320. color: #fff;
  321. overflow: hidden;
  322. .left{
  323. float: left;
  324. width: 330px;
  325. .img{
  326. width: 264px;
  327. }
  328. p{
  329. line-height: 30px;
  330. }
  331. }
  332. .center{
  333. float: left;
  334. display: flex;
  335. width: 650px;
  336. margin: 0 auto;
  337. justify-content: space-around;
  338. border-left: 1px dashed #999;
  339. border-right: 1px dashed #999;
  340. ul{
  341. li{
  342. margin-bottom: 20px;
  343. &:first-child a{
  344. font-size: 1.2em;
  345. color: #fff;
  346. margin-bottom: 30px;
  347. }
  348. a{
  349. color: #999;
  350. &:hover{
  351. color: #fff;
  352. }
  353. }
  354. }
  355. }
  356. }
  357. .right{
  358. float: right;
  359. text-align: center;
  360. }
  361. }
  362. }
  363. .footer{
  364. min-width: 1200px;
  365. background-color: #222222;
  366. height: 50px;
  367. line-height: 50px;
  368. color: #808080;
  369. font-family: "微软雅黑";
  370. font-size: 16px;
  371. }