index.scss 1.06 KB
.classify-page {
    width: 750px;

    .tabs {
        width: 670px;
        border: 2px solid #000;
        height: 72px;
        margin: 0 40px;
        box-sizing: border-box;

        .tab-item {
            width: 50%;
            font-family: PingFang-SC-Medium;
            font-size: 28px;
            color: #000;
            text-align: center;
            height: 70px;
            line-height: 70px;
            float: left;
        }

        .actived {
            background: #000;
            color: #fff;
        }
    }

    .brand-list {
        padding: 0 40px;
        margin-top: 52px;
    }

    .brand-item {
        width: 223px;
        height: 168px;
        border-right: 2px solid #ddd;
        float: left;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;

        &:nth-child(3n) {
            border-right: none;
        }

        &.border {
            border-bottom: 2px solid #ddd;
        }

        .brand-img {
            width: 160px;
            height: 80px;
        }
    }
}