_list.scss 3.44 KB
.good-list-page {
    .search-input {
        position: relative;
        padding: 7px 46px 7px 15px;
        background: #f8f8f8;

        .search-icon {
            position: absolute;
            font-size: 12px;
            top: 16px;
            left: 24px;
        }

        input {
            height: 30px;
            width: 100%;
            border-radius: 15px;
            text-indent: 26px;
            background: #fff;
            border: none;
        }

        .clear-input {
            position: absolute;
            top: 12px;
            right: 50px;
        }

        .search {
            position: absolute;
            top: 12px;
            right: 0;
            border: none;
            background: transparent;
            font-size: 16px;
        }
    }

    .brand-way {
        padding-bottom: 10px;
        background: #f4f4f4;

        > a {
            display: block;
            height: 40px;
            line-height: 40px;
            padding: 0 10px;
            border-bottom: 1px solid #e6e6e6;
            border-top: 1px solid #e6e6e6;
            font-size: 17px;
            background: #fff;
        }

        .brand-thumb {
            display: block;
            float: left;
            width: 75px;
            height: 40px;
            margin: 0;
        }

        .entry {
            color: #999;
            font-size: 14px;
            float: right;
        }
    }

    .brand-header {
        position: relative;
        height: 150rem / $pxConvertRem;

        > img {
            display: block;
            height: 100%;
        }
    }

    .btn-intro, .btn-col {
        position: absolute;
        display: block;
        width: 62px;
        height: 24px;
        line-height: 24px;
        text-align: center;
        border: 1px solid #fff;
        color: #fff;

        top: 50%;
        margin-top: -12px;
    }

    .btn-intro {
        right: 90px;
    }

    .btn-col {
        right: 15px;
    }

    .brand-intro-box {
        display: none;
    }

    .list-nav {
        > li {
            float: left;
            width: 25%;
            height: 33px;
            line-height: 33px;
            text-align: center;
            font-size: 14px;
        }

        a {
            display: block;
            box-sizing: border-box;
            width: 100%;
            height: 100%;
            color: #999;
        }

        .active > a {
            border-bottom: 2px solid #000;
            color: #000;

            .iconfont {
                color: #999;

                &.cur {
                    color: #000;
                }
            }
        }

        .new .iconfont {
            @include scale(0.8);
            font-weight: bold;
        }

        .filter .iconfont {
            font-size: 12px;
            @include transition(transform 0.1 ease-in);
        }

        .filter.active .iconfont {
            @include rotate(-180deg);
        }

        .icon {
            position: relative;

            i {
                position: absolute;
                @include scale(0.8);
                font-weight: bold;
            }

            .up {
                top: -11px;
            }

            .down {
                top: -4px;
            }
        }
    }

    .no-result {
        text-align: center;
        vertical-align: middle;
        color: #ccc;
        font-size: 1.2em;
        margin-top: 220px;
    }

    .goods-container {
        position: relative;
        min-height: 440px;
    }
}