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

    .fastening {
        position: fixed;
    }

    .distance {
        margin-top: 170px;
    }

    .brand-tab {
        max-width: inherit;
        height: 80px;
        font-size: 26px;
        text-align: center;
        z-index: 10;
        background-color: #fff;
        padding: 0 222px 84px;
        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: 80px;
        font-size: 26px;
        text-align: center;
        position: relative;
        z-index: 10;
        background-color: #fff;
        top: 0;

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

        li:first-child {
            margin-left: -10px;
        }

        .focus {
            color: #000;
        }
    }

    .content-index {
        .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;

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

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

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

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

                img {
                    width: 100%;
                }
            }
        }

        .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;
                }
            }
        }

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

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

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

            a {
                font-size: 27px;
                display: inline-block;
                width: 100%;
                padding: 1px 0;
            }
        }
    }

    .pagination-inner {
        left: auto;
        -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;
    }

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

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

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