123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738 |
- // pc端:
- // 设计稿1440*900 所有尺寸基本按px来即可;
- // 正文 16px;
-
-
- // 移动端:
- // 设计稿宽800px,按逻辑尺寸的两倍制作。因此真实尺寸需要除2;
- // 如设计稿字体大小28px,则实真字体大小为28px/2=14px;
- // 或使用vw 字体大小:28/800*10 = 3.5vw
- // 正文 14px 或 3.5vw
-
- //pc端样式
- .main {
- width: 100%;
- max-width: 1920px;
- margin: 0 auto;
- padding-top: 70px;
- .content{
- width: 1500px;
- margin: 0 auto;
-
- .banner_box{
- display: flex;
- justify-content: space-between;
- margin-bottom: 120px;
- .news_banner{
- width: 100%;
- max-width: 1500px;
- position: relative;
- img{
- width: 100%;
- height: 750px;
- object-fit: cover;
- }
-
- .news_content{
- width: 100%;
- color: #231F20;
- padding: 120px 30px 40px;
- box-sizing: border-box;
- display: flex;
- justify-content: space-between;
- .cont1{
- font-weight: bold;
- font-size: 60px;
- color: #231F20;
- margin-left: 100px;
- font-family: 'MyFont1';
- }
- .cont2{
- width: 640px;
- font-size: 20px;
- color: #231F20;
- margin-right: 110px;
- line-height: 40px;
- text-align: justify;
- }
- }
-
- }
-
- }
- .tabs_box{
- width: 1300px;
- margin: 0 auto;
- font-weight: 400;
- font-size: 24px;
- display: flex;
- align-items: center;
-
- .tabs_li{
- color: #231F20;
- margin-right: 80px;
- cursor: pointer;
- padding: 30px 0;
- transition: all .2s;
- border-bottom: 2px solid transparent;
- position: relative;
- &::after{
- content: "";
- width: 0;
- height: 2px;
- background: #B81C25;
- position: absolute;
- left: 0;
- bottom: -2px;
- right: 0;
- margin: auto;
- transition: all .4s ease;
- }
- &:hover{
- color: #B81C25;
- &::after{
- width: 100%;
- }
- }
- }
- .tabs_lis{
- color: #B81C25;
- border-bottom: 2px solid #B81C25;
- }
- }
-
-
- }
- .news_ul{
- width: 100%;
- max-width: 1920px;
- margin: 0 auto;
- background: #F6F6F6;
-
- .news_list{
- width: 1300px;
- margin: 0 auto;
- .news_li{
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 40px 0;
- border-bottom:1px solid #DADADA;
- transition: all .2s;
- .li_left{
- 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: 3px;
- margin-bottom: 3px;
- line-height: 30px;
- padding-top: 4px;
- }
- }
- // .li_left{
- // width: 66px;
- // height: 66px;
- // background: #F6F6F6;
- // border: 1px solid #A7A5A5;
- // display: flex;
- // align-items: center;
- // justify-content: center;
- // flex-direction: column;
- // margin-right: 30px;
- // transition: all .5s;
- // border-radius: 8px;
- // span:nth-child(1){
- // font-family: Source Han Sans CN;
- // font-weight: 500;
- // font-size: 30px;
- // color: #B81C25;
- // }
- // span:nth-child(2){
- // font-family: Source Han Sans CN;
- // font-weight: 500;
- // font-size: 13px;
- // color: #231F20;
- // position: relative;
- // &::after{
- // content: '';
- // position: absolute;
- // top: -1px;
- // left: -8%;
- // height: 1px;
- // width: 120%;
- // background-color: #B81C25;
- // }
- // }
- // a{
- // cursor: pointer;
- // }
- // }
- .li_cont{
- width: calc(100% - 80px);
- font-family: Source Han Sans CN;
- font-weight: 400;
- transition: all .2s;
-
- div:nth-child(1){
- font-weight: 500;
- font-size: 20px;
- color: #231F20;
- line-height: 30px;
- margin-bottom: 10px;
- transition: all .2s;
- }
- div:nth-child(2){
- font-weight: 500;
- font-size: 16px;
- color: #A7A5A5;
- line-height: 30px;
- display: -webkit-box; /* 使用 Flexbox 布局 */
- -webkit-box-orient: vertical; /* 垂直方向排列 */
- -webkit-line-clamp: 1; /* 限制显示的行数,这里是3行 */
- overflow: hidden; /* 隐藏超出部分 */
- text-align: justify;
- }
- }
- &:hover{
- background: #EFEFEF;
- .li_cont{
- div:nth-child(1){
- color: #B81C25;
- }
- }
- }
- &:last-child{
- border: none;
- }
- }
- }
- }
-
- .news_paging{
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 100px 0 120px;
- background: #F6F6F6;
- .previousPage{
- width: 40px;
- height: 40px;
- color: #000000;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid #000000;
- margin-right: 20px;
- cursor: pointer;
- transition: all 0.2s;
- span{
- font-size: 26px;
- transform: rotate(-90deg);
- }
- &:hover{
- background: #B81C25;
- border: 1px solid #B81C25;
- color: #fff;
- }
- }
- .nextPage{
- width: 40px;
- height: 40px;
- color: #000000;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid #000000;
- margin-left: 20px;
- cursor: pointer;
- transition: all 0.2s;
- span{
- font-size: 26px;
- transform: rotate(90deg);
- }
- &:hover{
- background: #B81C25;
- border: 1px solid #B81C25;
- color: #fff;
- }
- }
- .pageNum{
- min-width: 40px;
- height: 40px;
- line-height: 40px;
- font-family: Source Han Sans CN;
- font-size: 18px;
- color: #000;
- transition: all 0.2s;
- padding: 0 5px;
- box-sizing: border-box;
- cursor: pointer;
- text-align: center;
- border: 1px solid #DDE2E6;
- border-radius: 2px;
- &:hover{
- background: #B81C25;
- border: 1px solid #B81C25;
- color: #fff;
- }
- }
- .pageNums{
- pointer-events: none;
- }
- .pageNum+.pageNum{
- margin-left: 10px;
- }
- .pageNumActive{
- color: #fff;
- background-color: #B81C25;
- border: 1px solid #B81C25;
-
- }
- .ellipsis{
- font-family: Source Han Sans CN;
- font-weight: bold;
- font-size: 22px;
- padding: 10px 15px;
- color: #333333;
- // cursor: pointer;
- transition: all 0.2s;
- // &:hover{
- // color:#48A038
- // }
- }
- }
-
- .typeCon{
- width: 100%;
- background: #F6F6F6;
- padding-bottom: 250px;
- display: none;
- .infoul{
- width: 100%;
- max-width: 1300px;
- margin: 0 auto;
- .infoLi{
- padding: 70px 0;
- border-bottom:1px solid #9FA3A5;
- width: 100%;
- .liTitle{
- display: flex;
- width: 100%;
- justify-content: space-between;
- cursor: pointer;
- .liTit{
- width: calc(100% - 220px);
- line-height: 84px;
- overflow: hidden;
- display: flex;
- flex-wrap: wrap;
- font-size: 40px;
- font-weight: bold;
- &>div{
- width: 100%;
- }
- }
- .button{
- width: 84px;
- height: 84px;
- display: flex;
- align-items: center;
- justify-content: center;
- background-color: #B2B5B7;
- border-radius: 50%;
- color: #fff;
- cursor: pointer;
- transition: all .2s;
- position: relative;
- transform: scale(1);
- &::before{
- content: '';
- width: 17px;
- height: 3px;
- background-color: #fff;
- z-index: 2;
- }
- &::after{
- content: '';
- width: 3px;
- height: 17px;
- background-color: #fff;
- left: 50%;
- position: absolute;
- top: 50%;
- transform: translate(-50%, -50%);
- }
- .btnjbg{
- position: absolute;
- bottom: 0px;
- left: -1px;
- right: 0px;
- top: 0px;
- background-color: #B81C25;
- -webkit-clip-path: circle(0 at 50% 50%);
- clip-path: circle(0 at 50% 50%);
- transition: -webkit-clip-path .65s cubic-bezier(.19,1,.22,1);
- transition: clip-path .65s cubic-bezier(.19,1,.22,1);
- transition: clip-path .65s cubic-bezier(.19,1,.22,1), -webkit-clip-path .65s cubic-bezier(.19,1,.22,1);
- transition: clip-path .65s cubic-bezier(.19,1,.22,1), -webkit-clip-path .65s cubic-bezier(.19,1,.22,1);
- }
- }
- }
-
- .infoSonLi{
- padding-top: 30px;
- width: 100%;
- height: 0px;
- box-sizing: border-box;
- overflow: hidden;
- border-bottom: 1px dashed #000000;
- margin-bottom: 95px;
- // transition: all 1s ease-in-out;
- &:last-child{
- border-bottom: 0px;
- margin-bottom: 0px;
-
- }
- .h4{
- margin-top: 80px;
- font-size: 28px;
- &:first-child{
- margin-top: 0;
- color: #0056a7;
- }
- }
- .h5R{
- margin-top: 40px;
- }
- .text{
- color: #9fa3a5;
- }
- .btn2{
- margin: 130px 0 140px;
- }
- }
- }
- .infoLiShow{
- .liTitle{
- .button{
- // background-color: #0054A7;
- &::before{
- content: '';
- width: 17px;
- height: 3px;
- background-color: #fff;
- }
- &::after{
- display: none;
- }
- .btnjbg{
- -webkit-clip-path: circle(50% at 50% 50%);
- clip-path: circle(50% at 50% 50%);
- }
- }
- }
- // @-webkit-keyframes textDown{
- // 0%{height: 0%;}
- // 100%{height: 100%;}
- // }
- // @keyframes textDown{
- // 0%{height: 0%;}
- // 100%{height: 100%;}
- // }
-
- // .infoSonLi{
- // display: block;
- // animation: textDown 1s ease-in-out 0 forwards;
- // }
- }
- }
- }
- }
- a{
- display: inline-block;
- }
-
- @media screen and (min-width: 801px) and (max-width: 1400px) {
- .main{
- .content{
- width: calc(100% - 60px);
- .tabs_box{
- width: 100%;
- }
- .banner_box{
- .news_banner{
- .news_content{
- .cont1{
- margin-left: 0;
- }
- .cont2{
- width: 600px;
- margin-right: 0;
- }
- }
- }
- }
- }
- .news_ul{
- width: 100%;
- .news_list{
- width: calc(100% - 60px);
- .news_li{
- .li_left{
- width: 12.25vw;
- height: 12.25vw;
- font-size: 2.5vw;
- .timerData{
- font-size:3.5vw ;
- padding: 1vw 0 2.8vw 0;
- }
- // width: 10vw;
- // height: 10vw;
- }
- .li_cont{
- width: 83%;
- }
- }
- }
- }
- .typeCon{
- .infoul{
- .infoLi{
- width: 95%;
- margin: 0 auto;
- }
- }
- }
- }
- }
- @media screen and (min-width: 1400px) and (max-width: 1600px){
- .main{
- .content{
- width: calc(100% - 60px);
- .tabs_box{
- width: 100%;
- }
- }
- .news_ul{
- width: 100%;
- .news_list{
- width: calc(100% - 60px);
- }
- }
- .typeCon{
- .infoul{
- .infoLi{
- width: 95%;
- margin: 0 auto;
- }
- }
- }
- }
- }
-
- //移动端样式
- @media screen and (max-width:800px) {
-
- .main {
- width: 100%;
- padding-top: 15vw;
- .content{
- width: 92vw;
- margin: 0 auto;
- .banner_box{
- display: block;
- margin-bottom: 15vw;
- .news_banner{
- width: 100%;
- height: auto;
- margin-bottom: 8vw;
- img{
- width: 100%;
- height: 62.75vw;
- border-radius: 1.625vw;
- object-fit: cover;
- }
-
- .news_content{
- padding: 3.75vw;
- padding-top: 60px;
- flex-direction: column;
- .cont1{
- font-size: 32px;
- margin: 0;
- margin-bottom: 10.625vw;
- width: 100%;
- text-align: center;
- font-family: 'MyFont1';
- }
- .cont2{
- width: 100%;
- line-height: 7.5vw;
- // font-family: Source Han Sans CN;
- font-size: 16px;
- text-align: justify;
- // color: #fff;
- // margin-top: 2.5vw;
- }
- // .cont3{
- // font-family: Source Han Sans CN;
- // font-size: 3.25vw;
- // color: #fff;
- // }
- }
-
- }
- }
- .tabs_box{
- width: 100%;
- font-size: 3.75vw;
- .tabs_li{
- margin-right: 4.9vw;
- padding-bottom: 5.625vw;
- }
- }
- }
- .news_ul{
- width: 100%;
- .news_list{
- margin-top: 0;
- width: 100%;
- box-sizing: border-box;
- padding: 0 3.75vw;
- .news_li{
- padding:5.625vw 0;
- .li_left{
- width: 16.25vw;
- height: 16.25vw;
- font-size: 3vw;
- .timerData{
- font-size:4.5vw ;
- padding: 2.6vw 0 2.8vw 0;
- }
- // width: 10vw;
- // height: 10vw;
- }
- .li_cont{
- width: 71.5vw;
- div:nth-child(1){
- font-family: Source Han Sans CN;
- font-size: 3.75vw;
- color: #282828;
- line-height: 7.5vw;
- display: -webkit-box; /* 使用 Flexbox 布局 */
- -webkit-box-orient: vertical; /* 垂直方向排列 */
- -webkit-line-clamp: 1; /* 限制显示的行数,这里是3行 */
- overflow: hidden;
- font-weight: bold;
- }
- div:nth-child(2){
- width: auto;
- height: auto;
- overflow: unset;
- line-height: 1.5;
- font-family: Source Han Sans CN;
- font-size: 3.25vw;
- color: #A7A5A5;
- padding: 0;
- display: -webkit-box; /* 使用 Flexbox 布局 */
- -webkit-box-orient: vertical; /* 垂直方向排列 */
- -webkit-line-clamp: 2; /* 限制显示的行数,这里是3行 */
- overflow: hidden;
- text-align: justify;
- }
-
- }
- }
- }
- }
- .news_paging{
- padding-top: 16vw;
- .previousPage{
- width: 40px;
- height: 40px;
- margin-right: 20px;
- box-sizing: border-box;
- }
- .nextPage{
- width: 40px;
- height: 40px;
- margin-left: 3.25vw;
- transition: all 0.2s;
- box-sizing: border-box;
- }
- .pageNum{
- font-size: 3.5vw;
- }
- .ellipsis{
- font-size: 3.5vw;
- padding: 1.875vw 2.5vw;
- // &:hover{
- // color:#48A038
- // }
- }
- }
- .typeCon{
- padding: 0px 4vw 150px;
- box-sizing: border-box;
- .infoul{
- .infoLi{
- padding: 40px 0;
- .liTitle{
- align-items: center;
- .liTit{
- height: auto;
- line-height: 40px;
- width: calc(100% - 60px);
- overflow: initial;
- font-size: 24px;
- }
- .button{
- width: 40px;
- height: 40px;
- left: 0px;
- .btnjbg{
- left: 0px;
- }
- &::before{
- content: '';
- width: 8px;
- height: 2px;
- }
- &::after{
- content: '';
- width: 2px;
- height: 8px;
- }
- }
- }
- .infoSonLi{
- margin-bottom: 75px;
- padding-top: 0px;
- transition: padding 0.5s ease-in-out;
- .text{
- margin-bottom: 0px;
- }
- }
- }
- .infoLiShow{
- .infoSonLi{
- padding-top: 30px;
- }
- .liTitle .btn .btnjbg{
- -webkit-clip-path: circle(19px at 20px 20px);
- clip-path: circle(19px at 20px 20px);
- }
- }
- }
- }
- }
- }
|