new-home.page.css 8.26 KB
@import "common/set-trend-world";
@import "channel/divide-image";
@import "channel/banner-center";
@import "layout/swiper";
@import "channel/footer-tab";

.new-home-c {
    background-color: #f0f0f0;

    .eps {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header {
        width: 750px;
        height: 204px;
        background-image: resolve("home/index/header-bg.jpg");
        background-size: cover;
        padding: 46px 30px 58px;
        position: relative;

        .login-btn {
            display: block;
            width: 260px;
            height: 70px;
            line-height: 70px;
            text-align: center;
            border: solid 3px #fff;
            color: #fff;
            font-size: 28px;
            margin: 15px auto;
        }

        .left {
            width: 100px;
            height: 100px;
            float: left;
            position: relative;

            .user-avatar {
                width: 100%;
                height: 100%;
                background-size: cover;
                background-position: center center;
                border-radius: 50%;
                overflow: hidden;
                border: solid 3px #fff;
                background-image: resolve("home/index/user-avatar.png");
            }

            .level {
                width: 60px;
                height: 25px;
                background-size: 100% 100%;
                position: absolute;
                bottom: -12px;
                left: 20px;
            }

            .level-1 {
                background-image: resolve("home/new-home/vip-1.png");
            }

            .level-2 {
                background-image: resolve("home/new-home/vip-2.png");
            }

            .level-3 {
                background-image: resolve("home/new-home/vip-3.png");
            }
        }

        .right {
            width: 450px;
            height: 100px;
            float: left;
            color: #fff;
            margin-left: 20px;

            .name {
                line-height: 50px;
                font-size: 32px;
            }

            .trend-code-c {
                line-height: 50px;
                float: left;

                div {
                    float: left;
                }

                .scroll-c {
                    max-width: 190px;
                    height: 50px;
                    overflow: hidden;
                    position: relative;
                }

                .scroll-words {
                    position: relative;
                    top: 0;
                    left: 0;
                    white-space: nowrap;
                }

                .dot {
                    width: 30px;
                    text-align: right;
                }

                .dot:first-of-type {
                    text-align: left;
                }

                .edit {
                    width: 30px;
                    font-size: 30px;
                    vertical-align: middle;
                    margin-left: 10px;
                }
            }
        }

        .gif-part {
            width: 140px;
            height: 140px;
            position: absolute;
            right: 0;
            bottom: 0;
            background-image: resolve("home/new-home/arr-page.gif");
            background-size: 100% 100%;
        }

        .qrcode {
            width: 37px;
            height: 37px;
            font-size: 37px;
            position: absolute;
            top: 20px;
            right: 30px;
            color: #fff;
            display: block;
        }
    }

    .notice-c {
        height: 80px;
        line-height: 80px;
        background-color: #fff;
        margin-bottom: 20px;
        padding: 0 30px;

        .title {
            float: left;
            font-size: 0;
            color: #444;
            line-height: 0;
            width: 140px;

            span {
                font-size: 28px;
                line-height: 40px;
                margin: 20px 0;
                display: inline-block;
                font-weight: bold;
            }

            .red {
                color: #df1b24;
                border-right: solid 1px #e0e0e0;
                padding-right: 20px;
            }
        }

        .main {
            margin-left: 18px;
            width: 530px;
            float: left;
            font-size: 24px;
            color: #444;
            line-height: 80px;
            height: 80px;
        }
    }

    .list {
        width: 750px;
        background-color: #fff;
        margin-bottom: 20px;
        clear: both;

        .list-item {
            display: block;
            width: 750px;
            height: 88px;
            line-height: 88px;
            padding: 0 0 0 30px;

            div {
                float: left;
                font-size: 28px;
                color: #444;
                height: 88px;
            }

            .pic {
                font-size: 45px;
                width: 60px;
            }

            .body {
                width: 660px;
                border-bottom: solid 1px #e0e0e0;

                .main {
                    width: 400px;
                }

                .value {
                    width: 200px;
                    text-align: right;
                }

                .arr {
                    color: #e0e0e0;
                    font-size: 24px;
                    width: 30px;
                    text-align: right;
                    margin-right: 30px;
                }
            }

            &:last-child {
                .body {
                    border-bottom: 0;
                }
            }
        }
    }

    .s-list {
        .list-item {
            height: 80px;
            line-height: 80px;

            div {
                height: 80px;
            }

            .body {
                width: 720px;
                border-bottom: 0;

                .main {
                    width: 360px;
                    font-size: 32px;
                }

                .value {
                    width: 300px;
                    text-align: right;
                }
            }
        }
    }

    .service {
        float: left;
        background-color: #fff;
        margin-bottom: 20px;
        margin-top: -20px;

        .service-item {
            float: left;
            padding: 20px 65px;
            width: 250px;
            text-align: center;
            color: #444;
            height: 145px;
            border-top: solid 1px #e0e0e0;
            position: relative;

            .name {
                font-size: 24px;
                line-height: 55px;
                height: 55px;
            }

            .num {
                font-size: 30px;
                line-height: 50px;
                height: 50px;
            }

            .pic {
                font-size: 45px;
                line-height: 45px;
                height: 55px;
                padding-top: 10px;
            }

            .val {
                width: 56px;
                height: 56px;
                border-radius: 50%;
                color: #fff;
                background: #d0021b;
                line-height: 56px;
                text-align: center;
                position: absolute;
                top: 5px;
                right: 60px;
                font-size: 36px;
                transform: scale(0.5);
            }
        }
    }

    .ad-pic {
        width: 750px;
        margin-bottom: 20px;

        img {
            width: 100%;
            height: auto;
        }
    }

    .thumb-row {
        padding-top: 0;

        .thumb-row-box {
            display: block;
            float: left;
            width: 355px;
            margin: 0 10px;
            max-height: 260px;
        }
    }

    .banner-center-swiper {
        height: 260px;

        .banner-list {
            height: 260px;

            li {
                height: 260px;

                img {
                    height: 260px;
                }
            }
        }
    }

    .yoho-logo-c {
        height: 80px;
        padding-top: 22px;
        margin-bottom: 120px;

        .yoho-logo {
            width: 180px;
            height: 35px;
            margin: 0 auto;
            background-size: 100% 100%;
            background-image: resolve("yohobuy-grey.png");
        }
    }
}