_list.css 8.04 KB
.good-list-page {
    min-height: 880px;

    .intro-text {
        line-height: 28px;
        padding: 22px 24px;
        font-size: 24px;
        background: #f8f8f8;
        text-align: center;
    }

    .search-input {
        position: relative;
        padding: 14px 30px;
        background: #f8f8f8;

        > form {
            position: relative;
            line-height: 60px;
        }

        .search-icon {
            position: absolute;
            font-size: 24px;
            left: 20px;
            height: 60px;
            line-height: 60px;
            display: inline-block;
            top: 1px;
        }

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

        .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;
            overflow: hidden;
        }

        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;
        font-size: 12PX;
        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: 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, 0.3);
        padding: 88px 0;
        z-index: 10;
        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: 20%;
            height: 33PX;
            line-height: 33PX;
            text-align: center;
            font-size: 14PX;
        }

        .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;
            font-size: 12PX;
        }

        .filter .iconfont {
            font-size: 12PX;
            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: -11PX;
            }

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

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

    .goods-container {
        position: relative;
        min-height: auto !important;
        padding-left: 0.375rem;
        padding-top: 0.2rem;
    }

    .new-list {
        width: 100%;
        background-color: #fff;
        font-size: 28px;
        color: #444;
        position: absolute;
        z-index: 5;

        li {
            margin-left: 35px;
            height: 88px;
            line-height: 88px;
            border-bottom: 1px solid #e0e0e0;
            padding-right: 38px;

            &:last-child {
                border-bottom: none;
            }

            &.active {
                background: resolve("product/shop/check.png") no-repeat 94% center;
                background-size: 36px 26px;
            }
        }
    }

    .suspend-home {
        bottom: 258px;
    }

    /* 搜索分割 */
    .intro-text,
    .word-content {
        margin-left: -0.375rem;
        margin-top: -0.2rem;
    }

    .search-divide {
        float: left;
        height: 50px;
        width: 100%;
        padding: 10px 0;
        color: #ccc;
        text-align: center;
    }

    /* 搜索数据太小,分词 */
    .list-too-little {
        padding: 25px 20px;
        border-bottom: 1px solid #e6e6e6;
        color: #444;
        font-size: 24px;

        .word {
            display: inline-block;
            padding: 5px 15px;
            border-radius: 10px;
            border: 1px solid #bbb;
            margin-right: 13px;
            margin-top: 10px;
        }
    }

    /* 搜索页-新版搜索无结果样式 */
    .no-result-new {
        text-align: center;
        padding-top: 90px;
        padding-bottom: 110px;

        p {
            color: #ccc;
            margin-bottom: 25px;
            font-size: 26px;

            &:first-child {
                color: #444;
                font-size: 32px;
            }
        }
    }

    /* 搜索页-猜你喜欢的 */
    .maybe-like-search {
        height: 60px;
        line-height: 60px;
        background-color: #eee;
        text-align: center;
        font-size: 16px;
    }

    .maybe-like-goods {
        min-height: 500px;
        overflow: hidden;
        padding-left: 0.375rem;
    }
}