_list.css 7.56 KB
.yoho-product-list {
    @import "order-area";
    font-size: 14px;

    .btn {
        cursor: pointer;
    }

    .center-content {
        .left {
            width: 250px;
        }
        .right {
            width: 850px;
        }
    }
    .input-radio {
        padding: 10px 1px;
        cursor: pointer;

        .round-color {
            width: 22px;
            height: 21px;
            vertical-align: middle;

            .iconfont {
                font-size: 22px;
            }

            .iconfont.icon-cover {
                font-size: 22px;
            }
        }
    }
    .input-radio span {
        margin-left: 0;
        font-size: 14px;
        display: inline-block;
    }
    .input-radio label {
        font-size: 14px;
        font-weight: 700;
        margin-left: 10px;
        display: inline-block;
    }
    .input-radio label.round-color {
        margin-left: 0;
    }
    .blank-div {
        height: 70px;
    }
    .title {
        font-size: 14px;
        font-weight: 700;
        height: 40px;
        line-height: 40px;
        border-bottom: 1px solid #eee;
    }

    .list-body,
    .size-body,
    .color-body,
    .brand-list {
        max-height: 240px;
        overflow-y: auto;
    }
    .brand-body {
        margin: 5px 0;
        .brand-search {
            border: 0;
            background-color: #eae9e9;
            width: 100%;
            height: 40px;
            padding: 0 8px;
            color: #333;
            font-weight: 700;
        }
    }
    .brand-letter-items {
        margin: 15px 0;
        font-size: 12px;
        font-weight: bolder;
        span {
            padding: 5px 0;
            margin: 5px 11px 5px 0;
            display: inline-block;
            cursor: pointer;
        }

        .select {
            color: #379ed6;
        }

        .mulit-choose {
            border: 1px solid #1b1b1b;
            padding: 5px 10px;
            cursor: pointer;
        }
    }
    .brand-btns {
        text-align: center;
        margin-top: 10px;

        .btn {
            margin: 0 10px;
        }
    }
    .btn {
        display: inline-block;
    }
    .btn.large {
        height: 38px;
        line-height: 38px;
        font-size: 14px;
    }
    .price-btns {

        .price-input {
            background-color: #eee;
            width: 72px;
            height: 38px;
            line-height: 38px;

            span {
                height: 36px;
                line-height: 36px;
                margin-top: 1px;
                display: inline-block;
                padding: 0 3px;
            }

            input {
                border: 0;
                background-color: transparent;
                width: 50px;
                height: 38px;
                line-height: 38px;
                padding: 0;
                font-size: 14px;
                font-family: 'BrownStd', '黑体';
            }
        }

        .btn {
            margin-left: 4px;
        }
    }
    .yoho-ui-accordion {
        h3 {
            font-size: 14px;
            font-weight: 700;
            height: 40px;
            line-height: 40px;
            border-bottom: 1px solid #eee;
            display: block;
            cursor: pointer;
            position: relative;
            .ui-accordion-header-icon {
                position: absolute;
                right: 0.5em;
                top: 50%;
                margin-top: -20px;
            }
            .ui-accordion-header-icon:after {
                font-family: "iconfont" !important;
                display: inline-block;
                content: "\e616";
            }
        }

        h3.ui-accordion-header-active {
            .ui-accordion-header-icon:after {
                font-family: "iconfont" !important;
                display: inline-block;
                content: "\e617";
            }
        }
        > .body {
            padding: 10px 0;
            border-bottom: 1px solid #eee;
        }
    }

    .filter-area {
        background-color: #eae9e9;
        margin-bottom: 30px;

        label {
            font-size: 14px;
            font-weight: 700;
            margin-left: 20px;
        }

        label.cancel {
            float: right;
            color: #878787;
            margin: 22px 20px 0 0;
            cursor: pointer;
        }

        .filter-item {
            display: inline-block;
            margin: 12px 10px;
            font-size: 14px;
            border: 1px solid #adacad;
            background-color: #fff;
            padding: 8px;
            cursor: pointer;

            span {
                font-size: 14px;
                display: inline-block;
                height: 21px;
                line-height: 21px;
            }

            span.label {
                margin: 0 4px;
            }

            span.cancel {
                font-size: 14px;
            }

            .round-color {
                width: 22px;
                height: 20px;
                vertical-align: middle;
                margin-left: 5px;

                .iconfont {
                    font-size: 22px;
                }

                .iconfont.icon-cover {
                    font-size: 22px;
                }
            }
        }
    }

    .goods-area {

        margin: 0 -12px;
        position: relative;

        .goods {
            margin: 10px 0;
            padding: 10px;
            float: left;
            text-align: center;
            border: 2px solid #fff;
            cursor: pointer;
            width: 287px;

            .goods-brand {
                font-weight: 700;
                padding: 10px;
            }

            .goods-img {
                position: relative;
                overflow: hidden;
                width: 265px;
                height: 344px;

                img {
                    margin: 0;
                }

                .label {
                    background-color: #408ccc;
                    height: 24px;
                    width: 100%;
                    position: absolute;
                    bottom: 0;
                    z-index: 1;
                    line-height: 24px;
                    color: #fff;
                }
            }
            .goods-name {
                padding: 5px;
                width: 265px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            .goods-price {
                padding: 15px;
                font-size: 16px;
                font-weight: 700;

                b {
                    font-size: 12px;
                    color: #878787;
                    margin-left: 15px;
                    text-decoration: line-through;
                }
            }
        }

        .goods-wrapper {
            border: 2px solid #eae9e9;
            position: absolute;
            background: #fff;
            z-index: 2;
            top: 10px;
            padding-right: 10px;
            min-width: 383px;
            display: none;

            .goods {
                margin: 0;
                border: 0;
            }

            .goods-img-list {
                float: right;
                margin: 2px 10px;

                .goods-img-col {
                    display: inline-block;
                    vertical-align: top;
                }

                img {
                    margin: 8px 0;
                    cursor: pointer;
                }

            }
        }
    }

    .blk-pagination {
        text-align: center;
        margin: 20px 0 40px;

        li:first-child,
        li:last-child {
            border-width: 2px;
        }
    }
}