123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184 |
- .mainPage{
- overflow-y: scroll;
- -webkit-overflow-scrolling: touch;
- transform: translateZ(0);
- -webkit-transform: translateZ(0);
- background: #fff;
- &>*:last-child{
- margin-bottom: .2rem;
- }
- .topBanner{
- width: 100%;
- height: 0;
- position: relative;
- overflow: hidden;
- padding-bottom: 54%;
- background: #eee;
- &>div{
- width: 100%;
- position: absolute;
- left: 0;
- bottom: 0;
- top: 0;
- }
- }
- .pageTitle{
- margin: .18rem auto 0;
- position: relative;
- overflow: hidden;
- h5{
- &::after{
- content: '';
- width: 100%;
- height: .01rem;
- background: #eee;
- position: absolute;
- left: 0;
- top: 50%;
- transform: translateY(-50%);
- -webkit-transform: translateY(-50%);
- z-index: 1;
- }
- width: 100%;
- display: block;
- text-align: center;
- position: relative;
- overflow: hidden;
- margin: 0 .2rem;
- span{
- display: inline-block;
- line-height: .26rem;
- font-size: .14rem;
- font-weight: normal;
- background: #fff;
- position: relative;
- z-index: 2;
- padding: 0 .15rem;
- }
- }
- }
- .pageNav{
- margin: 0 .1rem;
- font-size: 0;
- &>a{
- width: 20%;
- display: inline-block;
- position: relative;
- overflow: hidden;
- margin-top: .15rem;
- vertical-align: top;
- a{
- width: 70%;
- display: block;
- padding-bottom: 70%;
- position: relative;
- overflow: hidden;
- background: #eee;
- margin: 0 auto;
- border-radius: 100%;
- img{
- z-index: 1;
- }
- em{
- width: 100%;
- display: block;
- position: absolute;
- left: 0;
- bottom: 0;
- line-height: .3rem;
- font-size: .11rem;
- text-align: center;
- color: #fff;
- z-index: 2;
- }
- }
- span{
- width: 70%;
- display: block;
- margin: .1rem auto 0;
- line-height: .16rem;
- font-size: .1rem;
- text-align: center;
- color: #666;
- }
- }
- }
- .MsgBanner{
- width: 100%;
- height: .44rem;
- position: relative;
- overflow: hidden;
- background: #f8f8f8;
- margin: .25rem auto 0;
- &>div{
- width: 100%;
- position: absolute;
- left: 0;
- top: 0;
- bottom: 0;
- align-items: center;
- &>i,
- &>span{
- color: #f05a3f;
- font-size: .12rem;
- margin-left: .08rem;
- }
- &>i{
- font-size: .16rem;
- margin-left: .3rem;
- }
- &>div{
- margin-left: .1rem;
- height: 100%;
- margin-right: .2rem;
- &>div{
- width: 100%;
- height: 100%;
- position: relative;
- overflow: hidden;
- &>div{
- width: 100%;
- height: 100%;
- a{
- width: 100%;
- display: inline-block;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- line-height: .44rem;
- color: #f05a3f;
- span{
- color: #f05a3f;
- }
- }
- }
- }
- }
- }
- }
- .projectList{
- margin: .1rem .1rem 0;
- li{
- width: 100%;
- position: relative;
- height: 0;
- padding-bottom: 30%;
- background: #eee;
- overflow: hidden;
- margin: .08rem auto 0;
- }
- }
- .newsList{
- margin: .15rem .2rem .2rem;
- &>li{
- width: 100%;
- display: block;
- position: relative;
- overflow: hidden;
- border-top: .01rem solid #eee;
- &:first-child{
- border-top:none
- }
- }
- }
- }
|