_brand.scss 6.38 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;
                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;
            }

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

    .banner-top {
        padding-top: 178rem / $pxConvertRem;
    }

    .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;
                    width: 100%;
                    height: 158rem / $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;
                    margin-left: 24rem / $pxConvertRem;
                    width: 58rem / $pxConvertRem;
                    height: 38rem / $pxConvertRem;
                    text-align: center;
                    vertical-align: middle;
                    font-size: 18rem / $pxConvertRem;
                    line-height: 38rem / $pxConvertRem;
                    color: #fff;
                    border-radius: 50rem / $pxConvertRem;
                    ;
                }

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

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

    .history{
        width: 100%;
        height: auto;
        overflow: hidden;
        position: absolute;
        left: 0;
        top: 176rem / $pxConvertRem;
         > h6{
            width: 100%;
            height: 88rem / $pxConvertRem;
            line-height: 88rem / $pxConvertRem;
            color: #999;
            text-indent: .6rem;
            font-size: 36em / $pxConvertRem;
        }
        .historyList{
            width: 100%;
            height: auto;
            overflow: hidden;
            display: block;
             > a{
                width: auto;
                height: 58rem / $pxConvertRem;
                overflow: hidden;
                line-height: 58rem / $pxConvertRem;
                margin: 0 0 20rem / $pxConvertRem .6rem;
                padding: 0 20rem / $pxConvertRem;
                float: left;
                background-color:#f8f8f8;
                color: #444;
             }
        }
         > span{
            width: auto;
            height: 68rem / $pxConvertRem;
            overflow: hidden;
            display: inline-block;
            line-height: 68rem / $pxConvertRem;
            border:1px solid #e6e6e6;
            padding: 0 28rem / $pxConvertRem;
            font-size: 48em / $pxConvertRem;
            margin-left: .6rem;
            color: #000;
         }
    }
}