_sale.css 2.16 KB
.yoho-header {
    .sale-nav {
        text-transform: capitalize;
        width: auto;
        right: 20px;
        font-size: 36px;
    }

    + .sale-nav-select {
        position: absolute;
        top: 90px;
        right: 20px;
        z-index: 2;
        padding: 10px 30px;
        min-width: 246px;
        border-radius: 10px;
        background-color: #000;
        background-image: linear-gradient(to bottom, #000 0%, #333 100%);
        box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.6);
        text-align: center;
        font-size: 28px;
        line-height: 80px;
        transform: scale(1, 0);
        transform-origin: top;
        transition: all 300ms;

        &:before {
            position: absolute;
            top: -10px;
            right: 30px;
            width: 20px;
            height: 20px;
            background: #000;
            content: "";
            transform: rotate(45deg);
        }

        &.show {
            transform: scale(1, 1);
        }

        a {
            display: block;
            border-bottom: 2px solid #ccc;
            color: #fff;

            &:last-child {
                border-bottom: none;
            }
        }
    }
}

.sale-page {
    overflow: hidden;
    background-color: #f0f0f0;

    #thumb-row {
        overflow: hidden;
        padding-left: 30px;
        height: auto;
        background: #fff;
        text-align: left;

        a {
            float: left;
            margin-right: 30px;
            width: 275px;
            height: 130px;
        }

        .thumb-row-box {
            margin: 0 auto;
            width: 100%;
            height: 100%;
            border-radius: 20px;
        }
    }

    .list-nav,
    .goods-container {
        background: #fff;
    }

    .category-swiper {
        height: auto;
    }

    .vip-floor {
        padding-bottom: 30px;

        .good-info {
            margin-bottom: 20px;
            height: 570px;
        }

        .tag-container {
            display: none;
        }
    }
}

.sale-vip-page {
    .good-info {
        height: 570px;
    }

    .sale-vip {
        height: 506px;
    }

    .good-detail-text .price {
        white-space: nowrap;
    }
}