_sale.css 2.37 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: -14px;
            right: 30px;
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 0 14px 16px;
            border-color: transparent transparent #000;
        }

        &.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: 25px;
        padding-bottom: 0;
        overflow: hidden;
        padding-left: 16px;

        .thumb-row-box {
            margin-top: 10px;
            display: block;
            float: left;
        }
    }

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

    .category-swiper {
        height: auto;
        max-height: 320px;
    }

    .focus-wrap,
    .vip-floor-wrap,
    .off-code-area-wrap {
        .banner-top {
            height: 200px;
            overflow: hidden;
        }
    }

    .vip-floor {
        border-bottom: 1px solid #e0e0e0;

        .good-info {
            margin-bottom: 20px;
            height: auto;
            min-height: 506px;
        }
    }

    .list-nav,
    .list-nav-layer {
        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;
    }
}