_list.scss 5.11 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;
            color: #000;

            &:visisted {
                color: #000;
            }
        }

        .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%;
            width: 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;

        .iconfont {
            font-size: 12px;
        }

        &.coled {
            opacity: 0.5;
        }

        .txt:after {
            content: '收藏'
        }

        &.coled .txt:after {
            content: '已收藏'
        }
    }

    .brand-intro-box {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,.3);
        padding: 44px 0;
        z-index: 1;
        overflow: auto;

        .brand-intro {
            position: relative;
            box-sizing: border-box;
            width: 85%;
            margin: 0 7.5%;
            background: #fff;
            padding: 10px 8%;
        }

        h2 {
            text-align: center;
            font-size: 17px;
            line-height: 40px;
        }

        .con {
            font-size: 12px;
            line-height: 16px;
            padding: 20px 0;
            border-top: 1px solid #e6e6e6;
            border-bottom: 1px solid #e6e6e6;
            overflow-x: hidden;
        }

        .fo {
            font-size: 18px;
            height: 40px;
            line-height: 40px;
            text-align: center;

            > span {
                font-size: 22px;
            }
        }

        .close-intro {
            position: absolute;
            top: 6px;
            right: 6px;
        }
    }

    .list-nav {
        border-bottom: 1px solid #e6e6e6;

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

        .nav-txt {
            display: inline-block;
            height: 100%;
            box-sizing: border-box;
        }

        .active > a {
            color: #000;

            .nav-txt {
                border-bottom: 2px solid #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;
        padding-left: 0.375rem;
        padding-top: 0.2rem;
    }
}