123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457 |
- @import 'global.scss';
- .banner{
- position: relative;
- a{
- display: block;
- position: absolute;
- left: 0;
- right: 0;
- margin: 0 auto;
- bottom: 15%;
- width: 150px;
- height: 38px;
- line-height: 38px;
- font-size: 14px;
- text-align: center;
- color: #fff;
- background: $color;
- z-index: 1;
- overflow: hidden;
- @media(min-width:768px){
- width: 180px;
- height: 48px;
- line-height: 48px;
- font-size: 18px;
- }
- &:after {
- content: '';
- position: absolute;
- z-index: -1;
- transition: width 0.3s, opacity 0.3s;
- width: 0;
- height: 530px;
- top: 50%;
- left: 50%;
- opacity: 0;
- background: #f13232;
- transform: translate3d(-50%, -50%, 0) rotate(45deg);
- backface-visibility: hidden;
- }
- &:hover,&:active {
- &:after {
- width: 100%;
- opacity: 1;
- }
- }
- }
- img{
- width:100%;
- }
- }
- .entrance{
- margin: 40px auto 60px;
- @media(min-width:768px){
- margin: 60px auto 100px;
- }
- @media(min-width:1200px){
- margin: 100px auto 120px;
- }
- .item{
- margin-bottom: 20px;
- .img{
- img{
- height: px2vw(200);
- @media(min-width:768px){
- height: auto;
- }
- width:100%;
- }
- }
- .txt{
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: rgba(0, 0, 0, .2);
- padding: 20px;
- @media(min-width:768px){
- padding: 20px;
- }
- @media(min-width:1200px){
- padding: 40px;
- }
- span{
- color: $color;
- font-weight: bold;
- font-size: 16px;
- display: inline-block;
- margin-top: 10px;
- @media(min-width:768px){
- font-size: 20px;
- margin-top: 30px;
- }
- }
- h2{
- color: #fff;
- margin: 12px 0;
- font-size: 22px;
- em {
- color: $color;
- }
- @media(min-width:768px){
- margin: 25px 0;
- font-size: 28px;
- }
- @media(min-width:1200px){
- font-size: 44px;
- }
- }
- p{
- color: #fff;
- font-size: 14px;
- @media(min-width:768px){
- font-size: 20px;
- }
- @media(min-width:1200px){
- font-size: 24px;
- }
- }
- i{
- font-weight: bold;
- padding-right: 30px;
- color: $color;
- position: absolute;
- bottom: 25px;
- font-size: 16px;
- @media(min-width:768px){
- font-size: 20px;
- }
- &:after{
- content: "";
- display: inline-block;
- width: 30px;
- height: 10px;
- transition: all .5s ease;
- background: url("/assets/image/arrow-color.png") no-repeat center;
- }
- }
- }
- a{
- display: block;
- position: relative;
- transition: all .5s ease;
- &:hover,&:active{
- transform: translateY(-10px);
- box-shadow: 0px 8px 40px 0px rgba(0, 0, 0, 0.2);
- }
- }
- }
- }
- .salary{
- background: #f5f5f5;
- padding: 40px 0;
- @media(min-width:768px){
- padding: 60px 0;
- }
- @media(min-width:1200px){
- padding: 110px 0;
- }
- .container{
- position: relative;
- text-align: center;
- &>h2{
- color: #111;
- font-size: 24px;
- margin-bottom: 15px;
- @media(min-width:768px){
- font-size: 36px;
- margin-bottom: 20px;
- }
- @media(min-width:1200px){
- font-size: 46px;
- margin-bottom: 30px;
- }
- }
- &>p{
- color: #333;
- font-size: 14px;
- margin-bottom: 30px;
- @media(min-width:768px){
- margin-bottom: 40px;
- font-size: 18px;
- }
- @media(min-width:1200px){
- margin-bottom: 60px;
- }
- }
- }
- .arrow{
- cursor: pointer;
- position: absolute;
- top:54%;
- display: inline-block;
- width:80px;
- height:80px;
- background: #fff;
- border-radius: 50%;
- background-repeat: no-repeat;
- background-position: center;
- &.arrow-left{
- background-image: url("/assets/image/arrow-left.png");
- left: -80px;
- &:hover,&:active{
- background-image: url("/assets/image/arrow-left-on.png");
- }
- }
- &.arrow-right{
- background-image: url("/assets/image/arrow-right.png");
- right: -80px;
- &:hover,&:active{
- background-image: url("/assets/image/arrow-right-on.png");
- }
- }
- &.disabled{
- pointer-events: none;
- opacity: .8;
- cursor: default;
- }
- }
- }
- #salary{
- margin: 0 auto;
- position: relative;
- padding-bottom: 30px;
- .swiper-wrapper{
- height: px2vw(220) !important;
- @media(min-width:768px){
- height:230px !important;
- }
- @media(min-width:992px){
- height:300px !important;
- }
- @media(min-width:1200px){
- height: 380px !important;
- }
- }
- .swiper-slide{
- height: px2vw(220) !important;
- @media(min-width:768px){
- height:230px !important;
- }
- @media(min-width:992px){
- height:300px !important;
- }
- @media(min-width:1200px){
- height: 380px !important;
- }
- a{
- display: block;
- position: relative;
- width: 94%;
- margin:0 auto;
- cursor: default;
- .img{
- height: px2vw(220);
- @media(min-width:768px){
- height: 230px;
- }
- @media(min-width:992px){
- height: 300px;
- }
- @media(min-width:1200px){
- height: 364px;
- }
- img{
- width:100%;
- height: 100%;
- }
- }
- .txt{
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- text-align: center;
- padding: 25px;
- color: #fff;
- transition: all .5s ease;
- background: rgba(0, 0, 0, .4);
- font-size: 0;
- &:hover,&:active{
- background: rgba($color,.8);
- .con{
- p{
- height: 50px;
- opacity: 1;
- }
- }
- }
- .con{
- display: inline-block;
- vertical-align: middle;
- line-height: 1.6;
- transition: all .5s ease;
- .s-icon{
- img{
- width:40px;
- height: 40px;
- @media(min-width:768px){
- width:50px;
- height: 50px;
- }
- @media(min-width:1200px){
- width:70px;
- height: 70px;
- }
- }
- }
- span{
- display: inline-block;
- width: 34px;
- height:3px;
- background: #fff;
- margin: 10px 0 5px;
- }
- h2{
- margin: 10px 0;
- font-size: 18px;
- @media(min-width:768px){
- margin: 15px 0;
- font-size: 20px;
- }
- @media(min-width:1200px){
- font-size: 26px;
- }
- }
- p{
- transition: all .5s ease;
- font-size: 12px;
- @media(min-width:768px){
- font-size: 14px;
- }
- @media(min-width:1200px){
- font-size: 16px;
- }
- height: 0;
- opacity: 0;
- }
- }
- &:after{
- content:"";
- display: inline-block;
- vertical-align: middle;
- height: 100%;
- }
- }
- }
- }
- .swiper-pagination{
- display:block;
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- text-align: center;
- span{
- display: inline-block;
- width:8px;
- height: 8px;
- background: rgba(0, 0, 0, .3);
- border-radius: 50%;
- margin: 0 6px;
- &.swiper-visible-switch{
- background: rgba($color,.5);
- }
- &.swiper-active-switch{
- background: rgba($color,1);
- }
- }
- }
-
- }
- .pic{
- margin: 40px 0 60px;
- text-align: center;
- @media(min-width:768px){
- margin: 50px 0 100px;
- }
- @media(min-width:1200px){
- margin: 100px 0 150px;
- }
- h2{
- color: #111;
- font-size: 24px;
- margin-bottom: 15px;
- @media(min-width:768px){
- font-size: 36px;
- margin-bottom: 20px;
- }
- @media(min-width:1200px){
- font-size: 46px;
- margin-bottom: 30px;
- }
- }
- p{
- color: #333;
- font-size: 14px;
- margin-bottom: 30px;
- @media(min-width:768px){
- margin-bottom: 40px;
- font-size: 18px;
- }
- @media(min-width:1200px){
- margin-bottom: 60px;
- }
- }
- .img{
- overflow: hidden;
- img{
- width: 100%;
- height: 100%;
- transition: all .5s ease;
- }
- &:hover{
- img{
- transform: scale(1.05);
- }
- }
- }
- .row>div{
- margin-bottom: 20px;
- }
- .row>div.col-sm-4{
- .img{
- height:auto;
- @media(min-width:768px){
- height: 220px;
- }
- @media(min-width:992px){
- height: 293px;
- }
- @media(min-width:1200px){
- height: 360px;
- }
- }
- @media(min-width:768px){
- margin-bottom: 30px;
- }
- }
- .row>div.col-sm-6{
- .img{
- height:auto;
- @media(min-width:768px){
- height: 256px;
- }
- @media(min-width:992px){
- height: 337px;
- }
- @media(min-width:1200px){
- height: 411px;
- }
- }
- }
- }
|