.fl{ float: left; } .fr{ float: right; } .text-left{ text-align: left; } .text-center{ text-align: center; } .text-right{ text-align: right; } .h1{font-size: 2.5em;} .h2{font-size: 2.25em;} .h3{font-size: 2em;} .h4{font-size: 1.5em;} .h5{font-size: 1.25em;} .h6{font-size: 1em;} *{ box-sizing: border-box; } .container{ width: 1200px; margin: 0 auto; &.padding{ padding: 55px 0; } } #index{ background-image: url(../image/index/bg.jpg); background-attachment:fixed; .header-bg{ background-color: #fff; min-width: 1200px; .header{ height: 100px; width: 1200px; position: relative; display: flex; flex-wrap: nowrap; justify-content:space-between; .logo,.tel{ img{ margin-top: 25px; } } .menu{ font-size: 15px; font-weight: 700; &>li{ position: relative; transition: all .3s; float: left; top: -100px; ul{ opacity: 0; transition: top .3s; top: -130px; overflow: hidden; &>li{ position: relative; left: 0; transition: all .3s; &:hover{ left: 100%; } &>span{ display: inline-block; width: 100%; padding: 10px 0; cursor: pointer; &:first-child{ background-color: #CB0000; color: #fff; position: absolute; left: -100%; } } } } &:hover{ top: 0; ul{ position: relative; z-index: 999; background-color: #fff; top: -100px; text-align: center; opacity: 1; } } &>span{ display: block; line-height: 100px; cursor: pointer; padding: 0 15px; &:first-child{ background-color: #CB0000; color: #fff; } } } } } } .floor1{ background-color: #f7f7f7; min-width: 1200px; .right{ padding: 20px; padding-left: 290px; .p1{ font-family:'微软雅黑'; line-height: 1.6; font-size: 16px; padding-bottom: 30px; padding-top: 20px; } .p2{ padding-bottom: 30px; font-size: 18px; font-family:'微软雅黑'; line-height: 1.6; font-size: 28px; span{ font-size: 20px; } } .flex{ display: flex; justify-content:space-between; } } } .floor2{ min-width: 1200px; .flex{ display: flex; justify-content:space-between; } .box{ margin: 5px; padding:20px; width: 100%; color: #fff; transition: all 1s; background-size: 100% 100%; background-position: center center; &:hover{ background-size: 110% 110%; } .t{ padding:10px 0; font-size: 20px; font-weight: bold; } } .line1{ .box{ height: 225px; &:nth-child(1){background-image: url(../image/index/p01.jpg);} &:nth-child(2){background-image: url(../image/index/p02.jpg);} &:nth-child(3){background-image: url(../image/index/p03.jpg);} } } .line2{ .box{ height: 250px; &:nth-child(1){background-image: url(../image/index/xx.jpg);} &:nth-child(2){background-image: url(../image/index/rongyu.jpg);} &:nth-child(3){background-image: url(../image/index/kefu.jpg);} &:nth-child(4){background-image: url(../image/index/dunpai.jpg);} } } } .floor3{ min-width: 1200px; background-image: url(../image/index/probgbg.jpg); .link{ font-size: 18px; padding:20px 90px; box-shadow:0px -2px 3px 0px rgba(0, 0, 0, 0.35) inset; display:inline-block; background-color: #fff; color: #666; &:hover{ background-color: #C10504; color:#fff; } } .pitem{ &:hover{ .img{ border-color: #C10403; } .count{ background-color: #C10403; } } .img{ border: 2px solid #292929; padding: 25px 0; img{ width: 100%; } } .count{ background-color: #292929; color: #fff; padding:20px 10px ; line-height: 30px; .line{ display: block; height: 3px; background-color: #fff; width:50px; } } } } .floor4{ padding-bottom: 50px; min-width: 1200px; background-color: #fff; overflow: hidden; background-image: url(../image/index/bc.png); background-repeat: no-repeat; background-position: center 60px; .title{ padding-bottom: 20px; font-size: 30px; color: #000; span{ font-size: 18px; } .line{ margin: 20px 0; width: 2em; height: 6px; display: block; background-color: #DF071D; } } .left{ width: 680px; float: left; .anli-list{ .swiper-slide{ display: flex; flex-flow: wrap; .item{ overflow: hidden; text-align: center; position: relative; width: 33.33%; height: 162px; border-right: 20px solid #fff; border-bottom: 15px solid #fff; img{ width: 100%; position: relative; left: 0; transition: all .8s; } .txt{ position: absolute; color: #fff; background-color: #df071db7; opacity: 0; transition: all .5s; bottom: -35px; width: 100%; height: 35px; line-height: 35px; } &:hover{ img{ width: 110%; left: -5%; } .txt{ opacity: 1; bottom: 0; } } } } } } .right{ float: right; width: 450px; ul { li{ padding-bottom: 20px; a{ display: inline-block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; font-size: 15px; line-height: 21px; color: #323232; &:hover{ color:#45A5A1; } } } } } } .floor5{ padding-bottom: 50px; min-width: 1200px; background-color: #000; color: #fff; overflow: hidden; .left{ float: left; width: 330px; .img{ width: 264px; } p{ line-height: 30px; } } .center{ float: left; display: flex; width: 650px; margin: 0 auto; justify-content: space-around; border-left: 1px dashed #999; border-right: 1px dashed #999; ul{ li{ margin-bottom: 20px; &:first-child a{ font-size: 1.2em; color: #fff; margin-bottom: 30px; } a{ color: #999; &:hover{ color: #fff; } } } } } .right{ float: right; text-align: center; } } } .footer{ min-width: 1200px; background-color: #222222; height: 50px; line-height: 50px; color: #808080; font-family: "微软雅黑"; font-size: 16px; }