user.less 8.8 KB
@import "./common.css";
html {
    font-size: 16px;
}
@media(max-width: 1366px) {
    html {
        font-size: 14px;
    }
}
.common-wrap {
    width: 80rem;
    margin: 0 auto;
    overflow: hidden;
}
body {
    position: relative;
    padding-bottom: 15rem;
    overflow-x: initial;
}
.common-wrap,
.common-header,
.common-footer {
    min-width: 80rem;
}
.common-header {
    width: 100%;
    height: 6.75rem;
    color: #FFF;
    background: no-repeat center/100% url(../img/header_bg.png);
    .common-wrap {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
    }
    .right {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .search-wrap {
        font-size: 0;
        input, .btn-search {
            font-size: 14px;
        }
        input {
            padding: 0 10px;
            color: #333;
        }
    }
    
    .btn-search {
        display: inline-block;
        width: 26px;
        height: 26px;
        text-align: center;
        line-height: 26px;
        color: #FFF;
        background-color: #3170b8;
    }
    .btn-entrance {
        height: 26px;
        margin: 0 15px;
        padding: 0 20px;
        border: 1px solid #3170b8;
        line-height: 26px;
        color: #eee;
        cursor: pointer;
    }
}
.index {
    .h94 {
        height: 5.875rem;
    }
    .h54 {
        height: 3.375rem;
    }
    .part-head {
        padding: 8px 0;       
        border-bottom: 4px solid #072375;
        font-weight: bold;
        overflow: hidden;
        .part-t {
            font-size: 20px;
        }
        .part-more {
            margin-top: 0.4375rem;
            font-size: 14px;
            color: #072375;
        }
    }

    .shuffling-wrap {
        width: 100%;
        height: 28.875rem;
    }
    .nav-list {
        font-size: 0;
    }
    .nav-item {
        &, & a {
            display: inline-block;
        }
        a {
            width: 7.75rem;
            height: 4.5rem;
            line-height: 4.5rem;
            text-align: center;
            font-size: 1.25rem;
            color: #333;
            &:hover, &.active {
                color: #666eda;
            }
        }
    }

    .dynamic-wrap {
        display: flex;
        justify-content: space-between;
        .part-wrap {
            width: 24.375rem;
            height: 25.875rem;
        }
        .part-main {
            padding: 1.25rem 0;
        }
        .dynamic-item {
            position: relative;
            padding-left: 9.375rem;
            &:not(:last-child) {
                margin-bottom: 1.25rem;
            }
        }
        
        .dynamic-cover {
            position: absolute;
            left: 0;
            top: 0;
            width: 9.375rem;
            height: 5.25rem;
            border-radius: 0.625rem;
            overflow: hidden;
        }
        .dynamic-cont {
            padding-left: 0.625rem;
        }
        .dynamic-date {
            position: absolute;
            right: 0;
            bottom: 0;
            padding: 4px 0;
            font-size: 0.75rem;
            color: #999;
        }
        .part-notice {
            .dynamic-item {
                padding-left: 3.25rem;
                padding-top: 4px;
                &:not(:last-child) {
                    margin-bottom: 2.1875rem;
                }
            }
            .dynamic-cover {
                width: 3.25rem;
                height: 3.25rem;
                border-radius: 0;
                text-align: center;
                line-height: 3.25rem;
                color: #072375;
                background-color: #dbe7f5;
            }
            .dynamic-date {
                right: 3px;
                bottom: 0;
                padding: 5px 8px 4px 150px;
                background-color: #FFF;
            }
        }
        .no-left {
            .dynamic-item,
            .dynamic-cont {
                padding-left: 0;
            }
        }
    }
    .dynamic-wrap,
    .menu-wrap,
    .doubleGen-wrap,
    .tab-wrap {
        margin-top: 1.875rem;
    }
    .menu-wrap {
        padding: 10px 0;
        .menu-list {
            display: flex;
            justify-content: space-between;
        }
        .menu-item {
            height: 124px;
            padding: 20px 30px;
            border-radius: 10px;
            font-weight: bold;
            a {
                color: #FFF;
            }
        }
        .menu-top {
            .menu-item {
                width: 25rem;
            }
            margin-bottom: 30px;
        }
        .menu-bottom {
            .menu-item {
                width: 38.75rem;
            }
        }
        .menu-t {
            font-size: 24px;
        }
        .menu-subt {
            font-size: 20px;
        }
        .menu1 {
            background: linear-gradient(to right top, #a1d06a, #139cec);
        }
        .menu2 {
            background: linear-gradient(to right top, #715af0, #3bc9e6);
        }
        .menu3 {
            background: linear-gradient(to right top, #d535b3, #426bc4);
        }
        .menu4 {
            background: linear-gradient(to right top, #ec7815, #f3a45e);
        }
        .menu5 {
            background: linear-gradient(to right top, #00babb, #03bbc7);
        }
    }
    .doubleGen-t {
        text-align: center;
        font-weight: bold;
        font-size: 1.875rem;
        color: #072375;
    }
    .doubleGen-list {
        display: flex;
        justify-content: space-between;
        padding-top: 1.875rem;
        .part-wrap {
            width: 38.75rem;
            height: 27.5rem;
            padding: 1.25rem;
            border-radius: 8px;
            background-color: #f5f5f5;
        }
        .part-main {
            padding-top: 0.625rem;
        }
        .item {
            position: relative;
            padding-left: 9.5rem;
            margin-top: 1.25rem;
        }
        .item-t {
            font-size: 0.9375rem;
        }
        .item-t, .item-subt {
            font-weight: bold;
        }
        .item-subt, .item-cont {
            font-size: 0.8125rem;
        }
        .item-subt {
            margin-bottom: 0.375rem;
        }
        .item-cont {
            text-indent: 2em;
            color: #666;
        }
        .left {
            position: absolute;
            left: 0;
            top: 0;
            width: 9.5rem;
            border-radius: 0.625rem;
            overflow: hidden;
        }
        .right {
            padding-left: 0.625rem;
            padding-top: 0.3125rem;
        }
    }
    .tab-wrap {
        &.partner {
            .item {
                width: 20.625rem;
                max-width: 24%;
                height: 10rem;
            }
        }
        .part-head {
            height: 46px;
            border-width: 2px;
            overflow: initial;
        }
        .tab-list {
            float: left;
            padding-top: 5px;
            font-size: 0;
        }
        .tab-item {
            position: relative;
            display: inline-block;
            margin: 0 0.5rem;
            padding: 0 0.5rem 10px;
            font-weight: normal;
            font-size: 15px;
            cursor: pointer;
            &.cur::after {
                content: "";
                position: absolute;
                left: 0;
                right: 0;
                bottom: -2px;
                border-bottom: 3px solid #F00;
            }
        }
        .part-main {
            display: flex;
            justify-content: space-between;
            padding-top: 1.875rem;
        }
        .item {
            position: relative;
            max-width: 32%;
            width: 29.375rem;
            height: 16.25rem;
            border-radius: 10px;
            overflow: hidden;
        }
        .item-des {
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            padding: 0.9375rem 0;
            text-align: center;
            font-size: 20px;
            color: #FFF;
            background-color: rgba(0,0,0,.3);
        }
    }
}

.common-footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 12.5rem;
    color: #FFF;
    background: linear-gradient(to right, #3d3c9a, #235594);
    .footer-head {
        padding: 15px 20px;
        font-size: 0;
        overflow: hidden;
    }
    .footer-tag {
        display: inline-block;
        margin: 0 30px;
        font-size: 14px;
    }
    .common-wrap {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 24px;
    }
    .logo-footer {
        width: 300px;
        height: 90px;
    }
    .footer-info {
        white-space: nowrap;
        text-align: center;
    }
    .qrcode {
        width: 90px;
        height: 90px;
        margin-right: 100px;
    }
}