@charset "utf-8";

.welcome {
    background: url(../images/welcome-bg.jpg) no-repeat;
    background-position: center center;
    background-size: cover;
    height: 100vh;
    position: relative;
}

.welcome::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .45));
    pointer-events: none;
}

.w-head {
    left: 0;
    right: 0;
    top: 0;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .54rem 2rem 0 1.24rem;
}

.w-head .logo {}

.w-head .logo a {
    display: block;
}

.w-head .logo a img {
    height: .32rem;
}

.zpxt {}

.zpxt a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ef6039;
    border-radius: 0.18rem;
    padding: 0 .2rem;
    transition: all .5s;
}

.zpxt a span {
    line-height: .38rem;
    font-size: .16rem;
    margin-right: .11rem;
    color: #fff;
}

.zpxt a img {
    display: block;
    height: .16rem;
}

.w-body {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.w-body ul {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 1.54rem;
}

.w-body ul li {
    background-color: rgba(1, 72, 135, .7);
    border-radius: 0.2rem;
    padding: .3rem .45rem .6rem .45rem;
}

.w-body ul li:nth-child(1) {
    width: 6.4rem;
}

.w-body ul li:nth-child(2) {
    width: 4.12rem;
    margin-left: .2rem;
}

.w-body ul li .w-tit {
    display: flex;
    align-items: center;
}

.w-body ul li .w-tit .icons {
    margin-right: .12rem;
    height: 0.43rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.w-body ul li .w-tit .icons img {
    max-height: 100%;
}

.w-body ul li .w-tit h3 {
    font-size: 0.3rem;
    line-height: .4rem;
    font-weight: normal;
    font-stretch: normal;
    color: #fffefe;
}

.w-body ul li .w-tit b {
    flex: 1;
    min-width: 0;
    margin-left: .2rem;
    height: 0.1rem;
}

.w-body ul li .w-tit:nth-child(1) b {
    background: url(../images/w-tit-line1.png) no-repeat;
    background-position: center center;
    background-size: auto .04rem;
}

.w-body ul li .w-tit:nth-child(2) b {
    background: url(../images/w-tit-line2.png) no-repeat;
    background-position: center center;
    background-size: auto .04rem;
}

.w-body ul li .w-con {
    min-height: 1.36rem;
    word-break: break-all;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;

作者：潇湘羽西
链接：
    https://juejin.cn/post/7016631393165770759
来源：稀土掘金
著作权归作者所有。商业转载请联系作者获得授权，非商业转载请注明出处。;
    margin-top: .4rem;
}

.w-body ul li .w-con .w-text {}

.w-body ul li .w-con .w-text p {
    font-size: 0.18rem;
    font-weight: normal;
    font-stretch: normal;
    line-height: 0.32rem;
    color: #ffffff;
    text-indent: 2em;
}

.w-body ul li .w-con .w-title h3 {
    font-size: 0.18rem;
    line-height: .32rem;
    font-weight: normal;
    font-stretch: normal;
    color: #ffffff;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    height: .64rem;
}

.w-body ul li .w-con .w-title p {
    font-size: 0.14rem;
    font-weight: normal;
    font-stretch: normal;
    line-height: 0.24rem;
    color: #ffffff;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    height: 0.48rem;
    margin-top: .14rem;
}

.w-more {
    display: flex;
    justify-content: flex-end;
    margin-top: .4rem;
}

.w-more a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0.15rem;
    border: solid 1px #fff;
    padding: 0 .13rem;
    transition: all .5s;
}

.w-more a::before {
    content: "";
    display: block;
    width: 0.08rem;
    height: 0.08rem;
    border-radius: 50%;
    background: linear-gradient(#ff8c10, #ff8c10);
    border: solid 2px rgba(255, 255, 255, 0.4);
}

.w-more a span {
    font-size: 0.14rem;
    font-weight: normal;
    line-height: 0.3rem;
    color: #ffffff;
    margin-left: .1rem;
}


.w-bq {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .2rem;
}

.w-bq p {
    font-size: .16rem;
    font-weight: normal;
    font-stretch: normal;
    line-height: .38rem;
    letter-spacing: 0px;
    color: #ffffff;
}

.w-bq .zpxt {
    margin-left: .15rem;
}

.w-bq .zpxt a {
    border: solid 1px #fff;
    background: no-repeat;
}

.w-bq .zpxt a span {}

.zpxt a:hover {
    background: rgba(1, 72, 135, .7);
    border-color: rgba(1, 72, 135, .7);
}

.w-more a:hover {
    background: rgba(1, 72, 135, .7);
    border-color: rgba(1, 72, 135, .7);
}

@media screen and (max-width:1024px) {
    .welcome {
        background-attachment: fixed;
        height: auto;
        min-height: 100vh;
    }

    .w-head {
        position: static;
        padding: .2rem .15rem;
        display: block;

    }

    .zpxt {
        margin-top: .2rem;
    }

    .w-body ul {
        display: block;
        padding: 0.1rem .2rem;
    }

    .w-body ul li {
        width: auto !important;
        margin: .2rem 0 !important;
        padding: .2rem;
    }

    .w-body {
        position: static;
        transform: none;
    }

    .w-bq {
        position: relative;
        display: block;
        text-align: center;
    }

    .w-body ul li {}

    .w-body ul li .w-tit h3 {
        font-size: .2rem;
    }

    .w-body ul li .w-con {
        margin-top: .2rem;
    }

    .w-body ul li .w-tit .icons {
        height: .3rem;
    }

    .w-head .logo a img {
        height: auto;
        max-height: .3rem;
        max-width: 100%;
    }
}