_list.css 5.82 KB
.good-list-page {
    .search-input {
        position: relative;
        padding: 14px 30px;
        background: #f8f8f8;

        > form {
            position: relative;
        }

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

        input {
            box-sizing: border-box;
            padding-left: 52px;
            padding-right: 68px;
            height: 60px;
            width: 85%;
            border-radius: 30px;
            background: #fff;
            border: none;
        }

        .clear-input {
            position: absolute;
            top: 10px;
            right: 100px;
        }

        .search {
            position: absolute;
            top: 4px;
            right: -8px;
            border: none;
            background: transparent;
            font-size: 32px;
            height: 60px;
            overflow: hidden;
            line-height: 60px;
            color: #666;
        }
    }

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

        > a {
            display: block;
            height: 80px;
            line-height: 80px;
            padding: 0 20px;
            border-bottom: 1px solid #e6e6e6;
            border-top: 1px solid #e6e6e6;
            font-size: 34px;
            background: #fff;
            color: #000;
        }

        span {
            font-size: 28px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .brand-name {
            width: 40%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            position: absolute;
        }

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

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

    .brand-header {
        position: relative;
        height: 150px;

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

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

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

    .btn-intro {
        right: 180px;
    }

    .btn-col {
        right: 30px;

        .iconfont {
            font-size: 24px;
        }

        &.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: 88px 0;
        z-index: 1;
        overflow: auto;

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

        h2 {
            text-align: center;
            font-size: 34px;
            line-height: 80px;
        }

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

        .fo {
            font-size: 36px;
            height: 80px;
            line-height: 80px;
            text-align: center;

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

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

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

        > li {
            float: left;
            width: 25%;
            height: 66px;
            line-height: 66px;
            text-align: center;
            font-size: 28px;
        }
        .bytouch{
            background:#eee;
        }

        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;

            .iconfont {
                color: #999;

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

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

        .filter .iconfont {
            font-size: 24px;
            transition: transform 0.1 ease-in;
        }

        .filter.active .iconfont {
            transform: rotate(-180deg);
        }

        .icon {
            position: relative;

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

            .up {
                top: -22px;
            }

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

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

    .goods-container {
        position: relative;
        min-height: 880px;
        padding-left: 0.375rem;
        padding-top: 0.2rem;
    }

    .students-container {
        padding-left: 0;

        .good-info{
            margin: 10px 0 40px;
            width: 50%;
            padding: 0 10px 0 15px;
            box-sizing: border-box;
        }
    }
}