_brand.scss 5.57 KB
.brand-page {
    .newbrand-search {
        width: 93.75%;
        height: 60rem / $pxConvertRem;
        padding: 14rem / $pxConvertRem 3.125%;
        background-color: #f8f8f8;
        left: 0;
        top: 90rem / $pxConvertRem;
        position: fixed;
        z-index: 2;

        .search-box {
            position: relative;
            width: 500rem / $pxConvertRem; //450
            height: 60rem / $pxConvertRem;
            background-color: #FFF;
            border-radius: 30rem / $pxConvertRem;
            padding: 0 32rem / $pxConvertRem 0 52rem / $pxConvertRem;

            a {
                width: 100%;
                height: 60rem / $pxConvertRem;
                border: 0;
                display: block;
                span {
                    line-height: 60rem / $pxConvertRem;
                    color: #bdbdbd;
                    font-size: 1.2em;
                    padding-left: 18rem / $pxConvertRem;
                }
            }

            .search-icon {
                position: absolute;
                font-size: 24rem / $pxConvertRem;
                top: 0;
                left: 24rem / $pxConvertRem;
                line-height: 60rem / $pxConvertRem;
                color: #bdbdbd;
            }

            .search-input {
                border: none;
                width: 95%;
                height: 60rem / $pxConvertRem;
                // line-height: 1;
                font-size: 1.2em;
                padding: 0 10rem / $pxConvertRem;
            }

            .search-action {
                display: none;
                position: absolute;
                top: 0;
                right: -74rem / $pxConvertRem;
                font-size: 32rem / $pxConvertRem;
                line-height: 60rem / $pxConvertRem;
                color: #666;
            }

            .cancel-btn {
                display: inline;
                font-size: 32rem / $pxConvertRem;
                vertical-align: middle;
            }

            .clear-text {
                margin-right: 20rem / $pxConvertRem;
            }
        }
    }

    .banner-top {
        padding-top: 178rem / $pxConvertRem;
        background-color:#f8f8f8;
    }

    .hot-brands {
        padding-top: 178rem / $pxConvertRem;

        .floor-header {
            padding: 0;
        }

        .brands-swiper {
            border-top: 0;
        }
    }

    .hot-brand {
        margin: (30rem / $pxConvertRem) 0 0;

        .hot-brand-list {
            background: #fff;

            li {
                float: left;
                width: 158rem / $pxConvertRem;
                height: 158rem / $pxConvertRem;

                .img-box {
                    display: table-cell;
                    vertical-align: middle;
                    text-align: center;
                    width: 158rem / $pxConvertRem;
                    height: 158rem / $pxConvertRem;
                }

                img {
                    max-width: 140rem / $pxConvertRem;
                    max-height: 140rem / $pxConvertRem;
                }
            }
        }
    }

    .brand-list {
        width: 100%;

        .title-bar {
            width: 100%;
            background: #eeeeee;
            color: #999999;
            // font-weight: bold;
            position: relative;

            h2 {
                // width: 100%;
                padding: 0 20rem / $pxConvertRem;
                height: 50rem / $pxConvertRem;
                line-height: 50rem / $pxConvertRem;
                font-size: 34rem / $pxConvertRem;
                border-top: 1px solid #e6e6e6;
                background-color: #f4f4f4;
            }
        }

        p {
            cursor: pointer;
            // height: 50rem / $pxConvertRem;
            padding: 0 20rem / $pxConvertRem;

            a {
                display: block;
                // padding-top: 10rem / $pxConvertRem;
                height: 76rem / $pxConvertRem;
                line-height: 76rem / $pxConvertRem;
                font-size: 28rem / $pxConvertRem;
                border-bottom: 1px solid #f3f3f3;
                border-top: 1px solid #f9f9f9;

                i {
                    display: inline-block;
                    margin-top: -4rem / $pxConvertRem;
                    width: 108rem / $pxConvertRem;
                    height: 42rem / $pxConvertRem;
                    text-align: center;
                    vertical-align: middle;
                    font-size: 28rem / $pxConvertRem;
                    line-height: 44rem / $pxConvertRem;
                    color: #fff;
                    border-radius: 50rem / $pxConvertRem;
                    @include scale(.8)
                }

                .icon-hot {
                    background: #ff0000;
                }

                .icon-new {
                    background: #86c048;
                }
            }
        }
    }

    .right-bar {
        width: 60rem / $pxConvertRem;
        height: 75%;
        top: 20%;
        overflow: auto;
        position: fixed;
        right: 2rem / $pxConvertRem;
        border-radius: 12rem / $pxConvertRem;
        background: rgba(0, 0, 0, .8);
        z-index: 2;
        display: none;

        b {
            height: 36rem / $pxConvertRem;
            line-height: 36rem / $pxConvertRem;
            text-align: center;
            display: block;
            color: #999999;
            font-weight: bold;
        }
    }
    .right-bar::-webkit-scrollbar {
        display: none;
    }

    .con {
        padding-top: 10rem / $pxConvertRem;
    }

    .search-result {
        padding-top: 176rem / $pxConvertRem;
    }
}