_brand.css 7.6 KB
.brand-blk-page {
    .tab-box {
        position: fixed;
        top: 0;
        z-index: 9;
        width: 100%;
    }

    .brand-tab {
        max-width: inherit;
        height: 80px;
        font-size: 0.65rem;
        text-align: center;
        z-index: 10;
        background-color: #fff;
        padding: 0 200px 84px 200px;
        border-bottom: 5px solid #e0e0e0;
        width: 100%;

        li {
            width: 120px;
            line-height: 80px;
            float: left;
            font-size: 28px;
            color: #b0b0b0;
        }

        li:first-child {
            margin-right: 60px;
        }

        .active {
            border-bottom: 4px solid #000;
            color: #000;
        }
    }

    .channel-tab {
        width: 100%;
        max-width: inherit;
        height: 2rem;
        font-size: 0.65rem;
        text-align: center;
        position: relative;
        z-index: 10;
        background-color: #fff;
        top: 0;

        li {
            width: 50%;
            color: #b0b0b0;
            line-height: 2rem;
            float: left;
        }

        li:first-child {
            margin-left: -0.25rem;
        }

        .focus {
            color: #000;
        }
    }

    .content-index {
        margin-top: 170px;

        .search {
            width: 100%;
            height: 88px;
            padding: 15px 16px;
            background-color: #f6f6f6;
            text-align: center;

            .input {
                margin-left: auto;
                margin-right: auto;
                background-color: #fff;
                text-align: center;
                color: #b0b0b0;
                height: 56px;
                font-size: 28px;
                padding: 5px 0;
                border-radius: 8px;

                .search-text {
                    margin-left: 16px;
                }
            }
        }

        .focus-left-right {
            padding: 30px 15px;
            width: 100%;
            overflow-x: auto;
            white-space: nowrap;
            font-size: 0;
            background: #fff;
            -webkit-overflow-scrolling: touch;

            &::-webkit-scrollbar {
                display: none;
            }

            a {
                display: inline-block;
                margin: 0 15px;
                width: 250px;
                height: 250px;
            }

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

        .brand-list-box {
            width: 100%;
            padding: 20px 0;
            background: #f6f6f6;
            border-top: 1px solid #eee;

            .per-brand-box {
                background: #fff;
                padding: 0 30px;
                border-top: 1px solid #eee;
                border-bottom: 1px solid #eee;
                overflow: hidden;

                &:not(:first-of-type) {
                    margin-top: 20px;
                }

                .index {
                    height: 60px;
                    line-height: 60px;

                    a {
                        font-size: 32px;
                    }
                }
            }

            .brand-big-box {
                width: 100%;
            }

            .brand-box {
                width: 172px;
                height: 162px;
                float: left;
                overflow: hidden;
                text-align: center;
                margin-bottom: 20px;

                .brand-logo {
                    margin: 0 auto;
                    width: 136px;
                    height: 136px;
                    overflow: hidden;

                    img {
                        width: 100%;
                    }
                }

                .brand-name {
                    width: 136px;
                    font-size: 18px;
                    color: #d0d0d0;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    display: inline-block;
                }
            }
        }

        .index-list {
            top: 90px !important;
        }
    }

    .list-box {
        position: fixed;
        width: 30px;
        margin: 0;
        padding: 6px 0;
        right: 0;
        background: #fff;
        opacity: 0.8;
        top: 170px;
        overflow-y: auto;
        z-index: 10;

        li {
            list-style: none;
            text-align: center;
            width: 100%;

            a {
                font-size: 26px;
                display: inline-block;
                width: 100%;
            }
        }
    }

    .pagination-inner {
        left: auto;
        right: 0.75rem;
        -webkit-transform: none;
        transform: none;
        position: absolute;
        bottom: 5px;
        right: 30px;
    }

    .banner-top {
        .swiper-pagination {
            .pagination-inner {
                background: none;
            }

            .swiper-pagination-bullet {
                width: 9px;
                height: 9px;
                background: #ccc;
                vertical-align: middle;
                display: inline-block;
                border-radius: 2px;
                margin: 0 5px;
            }

            .swiper-pagination-bullet-active {
                width: 12px;
                height: 12px;
                background: #fff;
                border-radius: 100%;
            }
        }

        .swiper-pagination {
            bottom: 0;
        }
    }

    .hide {
        display: none;
    }

    .category-content {
        .category-container {
            margin-bottom: 100px;
        }

        .content {
            background: #f8f8f8;
            overflow: hidden;
            position: relative;

            &.hide {
                display: none;
            }
        }

        .primary-level {
            float: left;
            box-sizing: border-box;
            width: 45%;

            > li {
                height: 89px;
                line-height: 89px;
                padding: 0 32px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;

                &.focus {
                    background-color: #fff;
                }

                &.highlight {
                    background-color: #eee;
                }
            }
        }

        .sub-level-container {
            float: left;
            overflow-x: auto;
            box-sizing: border-box;
            background: #fff;
            width: 55%;
            height: 100%;
        }

        .sub-level {
            width: 100%;

            &.hide {
                display: none;
            }

            > li {
                box-sizing: border-box;
                height: 89px;
                line-height: 89px;
                border-bottom: 1px solid #e6e6e6;
                padding-left: 20px;

                &.highlight {
                    background: #eee;
                }

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

            a {
                display: block;
                height: 100%;
                width: 100%;
                color: #000;
            }
        }
    }

    .resources {

        .recommend-content-five {
            margin-top: -1px;
            width: 100%;

            a {
                height: 218px;
                width: 50%;
                outline: none;
                color: #000;
                text-decoration: none;
                float: left;
            }
        }

        .focus-floor {
            overflow: hidden;
            width: 100%;
        }
    } 
}