_home.css 1.19 KB
@import "header-download";
@import "banner-top";
@import "banner-center";
@import "banner-bottom";
@import "side-nav";
@import "floor-header";
@import "footer-tab";
@import "hot-brands";
@import "fine-brands";
@import "creative-life";
@import "plus-star";
@import "maybe-like";
@import "icons-enter";
@import "trendsetter-collocation";
@import "trend-topics";
@import "goods-category";
@import "hot-brands";
@import "hot-category";
@import "home-header";
@import "thumb-row";
@import "notice";
@import "fresh-only";
@import "coupon";
@import "discount-list";
@import "left-right";
@import "three-picture";

.mobile-container {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 640px;
    overflow: hidden;
}

.mobile-wrap {
    position: relative;
    z-index: 2;
    background: #f0f0f0;
    transition: transform 0.3s;

    .creative-life .classify-name {
        display: none;
    }
}

.mobile-wrap.menu-open {
    transform: translateX(540px);
}

.overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    z-index: 4;
    transition: opacity 1s;
}

.overlay.show {
    display: block;
    opacity: 0.3;
}