_sale.css 1.97 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;
        display: none;

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

        &.show {
            display: block;
        }

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

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

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

    .thumb-row {
        padding-top: 35px;
        padding-bottom: 0;

        .thumb-row-box {
            margin-bottom: 10px;
        }
    }

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

    .category-swiper {
        height: auto;
    }

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

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

    .list-nav {
        width: 100%;
        z-index: 1;
        background: #fff;

        &.fixed {
            position: fixed;
            top: 0;
            left: 0;
        }
    }

    .filter-mask.fixed {
        position: fixed;
        top: 70px;
    }
}

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

    .sale-vip {
        height: 506px;
    }

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