123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778 |
-
- //pc端样式
- .main {
- width: 100%;
- max-width: 1920px;
- margin: 0 auto;
- }
- .banner{
- width: 100%;
- height: 100vh;
- .bannerSwiper{
- width: 100%;
- height: 100%;
- img{
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- .btn-prev,.btn-next{
- position: absolute;
- top: 50%;
- margin-top: -22px;
- width: 44px;
- height: 44px;
- z-index: 2;
- text-align: center;
- color: #ecf6fb;
- background: transparent;
- transition: all .3s ease-in-out;
- cursor: pointer;
- span{
- font-size: 44px;
- display: inline-block;
- line-height: 44px;
-
- }
- &:hover{
- color: #b81c25;
- }
- }
- .btn-prev{
- left: 100px;
- }
- .btn-next{
- right: 100px;
- }
- .swiper-button-disabled{
- cursor: no-drop;
- background: transparent;
- color: #ecf6fb;
- opacity: 0.6;
- &:hover{
- color: #ecf6fb;
- }
- }
- .swiper-pagination{
- bottom: 60px;
- .swiper-pagination-bullet{
- background: #ffffff;
- opacity:1;
- position: relative;
- width: 12px;
- height: 12px;
- margin:0 17px;
- &::before{
- content: '';
- position: absolute;
- left: -5px;
- top: -5px;
- width: 20px;
- height: 20px;
- border-radius: 50%;
- border: 1px solid #b81c25;
- opacity: 0;
- transition: all .3s ease-in-out;
- }
- }
- .swiper-pagination-bullet-active{
- background: #b81c25;
- &::before{
- opacity: 1;
- }
- }
- }
- }
- .slideCon{
- width: 100%;
- max-width: 1300px;
- height: 100%;
- box-sizing: border-box;
- margin: 0 auto;
- padding-top: 230px;
- position: absolute;
- top: 0px;
- left: 50%;
- transform: translateX(-50%);
- color: #fff;
- text-align: left;
- .title{
-
- br{
- display: none;
- }
- }
- .btn{
- position: absolute;
- bottom: 10%;
- left: 50%;
- margin-left: -100px;
- }
- }
- }
- .news{
- width: 100%;
- text-align: center;
- padding: 140px 0px;
- .newsCon{
- width: 100%;
- height: 512px;
- overflow: hidden;
- max-width: 1300px;
- margin: 60px auto 80px;
- position: relative;
- display: flex;
- &>div{
- width: 50%;
- height: 100%;
- overflow: hidden;
- .swiper-pagination{
- bottom: 30px;
- .swiper-pagination-bullet{
- background: #ffffff;
- opacity:1;
- position: relative;
- width: 6px;
- height: 6px;
- margin:0 9px;
- &::before{
- content: '';
- position: absolute;
- left: -3px;
- top: -3px;
- width: 10px;
- height: 10px;
- border-radius: 50%;
- border: 1px solid #b81c25;
- opacity: 0;
- transition: all .3s ease-in-out;
- }
- }
- .swiper-pagination-bullet-active{
- background: #b81c25;
- &::before{
- opacity: 1;
- }
- }
- }
- .swiper{
- width: 100%;
- border-radius: 10px;
- z-index: -1;
- position: absolute;
- height: 100%;
- top: 0;
- left: 0;
- img{
- width: 100%;
- display: block;
- }
- .slideZ{
- position: absolute;
- top: 0px;
- left: 0px;
- width: 100%;
- height: 100%;
- background: url(./images/newsz.png) no-repeat bottom;
- }
- .slideCon{
- position: absolute;
- bottom: 0px;
- left: 0px;
- width: 100%;
- box-sizing: border-box;
- padding: 60px 30px;
- color: #fff;
- text-align: left;
- .time{
- font-size: 16px;
- }
- }
- }
- .newsShowSwiper{
- z-index: 1;
- }
- .newsTitList{
- width: 100%;
- display: flex;
- font-size: 20px;
- line-height: 30px;
- color: #A7A5A5;
- box-sizing: border-box;
- padding-left: 40px;
- justify-content: space-between;
- .newsCk{
- font-size: 20px;
- color: #231F20;
- cursor: pointer;
- transition: all .3s ease-in-out;
- &:hover{
- color: #B81C25;
- }
- }
- .newsShow{
- color: #B81C25;
- font-weight: bold;
- }
- }
- .newsConList{
- width: 100%;
- height: calc(100% - 30px);
- box-sizing: border-box;
- padding-left: 40px;
- padding-top: 20px;
- overflow: hidden;
- &>div{
- width: 100%;
- height: 100%;
- display: none;
- .newsLi{
- width: 100%;
- display: flex;
- justify-content: space-between;
- padding-bottom: 27px;
- border-bottom: 1px solid #ACACAC;
- margin-top: 27px;
- .timer{
- width: 65px;
- height: 66px;
- border-radius: 8px;
- border: 1px solid #A7A5A5;
- text-align: center;
- font-size: 12px;
- padding: 0px 12px 0;
- box-sizing: border-box;
- .timerData{
- font-size: 26px;
- color: #b81c25;
- border-bottom: 1px solid #b81c25;
- padding-bottom: 0px;
- margin-bottom: 2px;
- }
- }
- .newsLiCon{
- width: calc(100% - 80px);
- font-size: 18px;
- text-align: left;
- &>div{
- overflow: hidden;
- white-space: nowrap;
- width: 100%;
- height: 24px;
- text-overflow: ellipsis;
- }
- .liTitle{
- color: #231F20;
- font-weight: 500;
- margin-bottom: 14px;
- }
- .licon{
- font-weight: 400;
- color: #666666;
- }
- }
- }
- }
- .newsDivShow{
- display: block;
- }
- }
- }
- .newsSp{
- position: relative;
- }
- }
- }
- .product{
- width: 100%;
- text-align: center;
- padding: 140px 0px;
- background: #f5f5f6;
- .productCon{
- margin: 60px auto 0px;
- width: 100%;
- max-width: 1296px;
- .productTits{
- width: 100%;
- &>div{
- width: 100%;
- display: flex;
- justify-content: space-between;
- &>div{
- width: 144px;
- height: 146px;
- border-radius: 8px;
- color: #231F20;
- padding-top: 20px;
- box-sizing: border-box;
- cursor: pointer;
- transition: all .3s ease-in-out;
- div{
- margin-bottom: 30px;
- }
- img{
- width: auto;
- object-fit: cover;
- margin: 0 auto;
- }
- .default{
- display: block;
- }
- .show{
- display: none;
- }
- &:hover{
- background: #B81C25;
- color: #fff;
- .default{
- display: none;
- }
- .show{
- display: block;
- }
- }
- }
- .productCk{
- background: #B81C25;
- color: #fff;
- .default{
- display: none;
- }
- .show{
- display: block;
- }
- }
- }
-
- }
- .productConBox{
- width: 100%;
- height: 514px;
- margin-top: 60px;
- overflow: hidden;
- &>div{
- width: 100%;
- height: 100%;
- }
- .swiper-slide{
- width: 74%;
- img {
- display: block;
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- .slideZ{
- position: absolute;
- bottom: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: url(./images/productz.png) no-repeat bottom;
- background-size: 100%;
- }
- .slideCon{
- position: absolute;
- width: 100%;
- bottom: 0px;
- padding: 30px 40px;
- left: 0;
- text-align: left;
- color: #fff;
- box-sizing: border-box;
- display: none;
- .text{
- width: 100%;
- overflow: hidden;
- height: 20px;
- line-height: 20px;
- text-overflow: ellipsis;
- white-space: nowrap;
- margin-bottom: 20px;
- }
- .more{
- font-size: 16px;
- }
- }
- }
- .swiper-slide-active{
- .slideCon{
- display: block;
- }
- }
- .btn-prev,.btn-next{
- position: absolute;
- top: 50%;
- margin-top: -20px;
- width: 40px;
- height: 40px;
- z-index: 2;
- text-align: center;
- color: #fff;
- background: #b81c25;
- cursor: pointer;
- border-radius: 4px;
- span{
- font-size: 24px;
- display: inline-block;
- line-height: 40px;
- transform: rotate(90deg);
- }
-
- }
- .btn-prev{
- left: 50px;
- span{
- transform: rotate(-90deg);
- }
- }
- .btn-next{
- right: 18%;
- }
- .swiper-button-disabled{
- z-index: -1;
- opacity: 0;
- }
- }
- }
- }
- .about{
- width: 100%;
- text-align: center;
- padding: 180px 0px 240px;
- .title{
- margin-bottom: 60px;
- }
- .aboutCon{
- width: 100%;
- max-width: 1300px;
- margin: 0px auto;
- .aboutNum{
- margin-top: 100px;
- display: flex;
- justify-content: space-around;
- align-items: center;
- margin-bottom: 120px;
- .line{
- width: 1px;
- height: 72px;
- background: #B81C25;
- }
- .num{
- display: inline-block;
- .numT{
- font-size: 60px;
- font-weight: bold;
- color: #B81C25;
- font-family: 'MyFont1';
- span{
- font-size: 20px;
- font-weight: 400;
- font-family: 'MyFont2';
- }
- }
- .numP{
- color: #231F20;
- font-size: 20px;
- margin-top: 7px;
- }
- }
- }
- }
- }
- .society{
- width: 100%;
- position: relative;
- text-align: center;
- &>img{
- display: block;
- }
- .societyCon{
- width: 100%;
- max-width: 1300px;
- padding-top: 140px;
- position: absolute;
- top: 0px;
- left: 50%;
- transform: translateX(-50%);
- color: #fff;
- .text{
- margin-top: 40px;
- margin-bottom: 70px;
- }
- .btn{
- background: #fff;
- color: #B81C25;
- transition: all .3s ease-in-out;
- &:hover{
- background: #B81C25;
- color: #fff;
- }
- }
- }
- &>.btn{
- display: none;
- }
- }
-
- @media screen and (min-width: 801px) and (max-width: 1400px) {
- .banner {
- .slideCon{
- padding-top: 160px;
- box-sizing: border-box;
- }
- }
- }
- @media screen and (min-width:800px){
-
- .goTop{
- .goTopBtn{
- background: #ffffff;
- .btnShow{
- .btnIcon{
- background-color: #0056A7;
- }
- }
- &:hover{
- background: #ffffff;
-
- }
- }
- }
- }
- .mTxt{
- display: none;
- }
- //移动端样式
- @media screen and (max-width:800px) {
- .pcTxt{
- display: none;
- }
- .mTxt{
- display: block;
- }
- .banner{
- width: 100%;
- height: 100vh;
- .swiper{
- width: 100%;
- height: 100%;
- }
- .slideCon{
- padding: 0 15px;
- padding-top: 130px;
- height: auto;
- .title{
- font-size: 32px;
- line-height: 48px;
- br{
- display: block;
- }
- }
- }
- .btn-prev,.btn-next{
- display: none;
- }
- .bannerSwiper{
- .swiper-pagination{
- display: block;
- bottom: 60px;
- .swiper-pagination-bullet{
- width: 5px;
- height: 5px;
- margin: 0 6px;
- &::before{
- left: -4px;
- top: -4px;
- width: 10px;
- height: 10px;
- }
- }
- }
- }
- }
- .news{
- padding: 110px 15px;
- box-sizing: border-box;
- .newsCon{
- margin: 40px auto;
- height: auto;
- flex-wrap: wrap;
- padding-top: 48px;
- &>div{
- width: 100%;
- height: auto;
- .swiper{
- position: relative;
- display: none;
- .slideCon{
- padding: 20px;
- .time{
- font-size: 13px;
- }
- }
- }
- .newsShowSwiper{
- display: block;
- }
- .swiper-pagination{
- display: none;
- }
- .newsTitList{
- padding-left: 0px;
- font-size: 14px;
- line-height: 24px;
- position: absolute;
- top: 0px;
- left: 0px;
- .newsCk{
- font-size: 14px;
- }
- }
- .newsConList{
- padding-left: 0px;
- padding-top: 0px;
- height: auto;
- &>div{
- .newsLi{
- .timer .timerData{
- font-weight: bold;
- }
- .newsLiCon{
- font-size: 16px;
- padding-top: 8px;
- &>div{
- height: 16px;
- }
- .liTitle{
- margin-bottom: 14px;
- }
- }
- }
-
- }
- }
- }
- }
- }
- .product{
- padding: 110px 15px;
- box-sizing: border-box;
- .productCon{
- margin: 40px auto 0px;
- .productTits{
- overflow-x: auto;
- &>div{
- width: 640px;
- &>div{
- width: 71px;
- height: 74px;
- padding-top: 10px;
- div{
- margin-bottom: 15px;
- font-size: 14px;
- }
- img{
- height: 20px;
- }
- }
- }
- }
- .productConBox{
- margin-top: 35px;
- height: auto;
- .swiper-slide{
- width: 100%;
- .slideZ{
- display: none;
- }
- .slideCon{
- position: relative;
- padding: 20px 0px 0px;
- color: #231F20;
- display: block;
- .text {
- height: 60px;
- line-height: 30px;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- margin-bottom: 20px;
- -webkit-line-clamp: 2;
- white-space: inherit;
- }
- .more{
- width: 190px;
- height: 40px;
- background: #B81C25;
- border-radius: 4px;
- color: #fff;
- line-height: 40px;
- text-align: center;
- margin: 0px auto;
- }
- }
- }
- .btn-prev,.btn-next{
- display: none;
- }
- .productList{
- display: none;
- }
- }
- }
- }
- .about{
- padding: 110px 15px;
- box-sizing: border-box;
- .title{
- margin-bottom: 40px;
- }
- .aboutCon {
- .aboutNum{
- margin-top: 40px;
- margin-bottom: 60px;
- justify-content: space-between;
- .num{
- .numT{
- font-size: 30px;
- span{
- font-size: 12px;
- }
- }
- .numP{
- font-size: 12px;
- }
- }
- .line{
- height: 36px;
- }
- }
- }
-
- }
- .society{
- padding-bottom: 110px;
- display: flex;
- flex-direction: column-reverse;
- .societyCon{
- position: relative;
- color: #231F20;
- padding-top: 0px;
- padding-left: 15px;
- padding-right: 15px;
- box-sizing: border-box;
- .text{
- margin-top: 40px;
- margin-bottom: 30px;
- }
- .btn{
- display: none;
- }
- }
- &>.btn{
- display: block;
- margin-top: 40px;
- }
- }
- }
|