_list.css 8.65 KB
.yoho-product-list {

    font-size: 14px;

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

        .round-color {
            width: 16px;
            height: 15px;

            .iconfont {
                font-size: 16px;
            }

            .iconfont.icon-cover {
                font-size: 16px;
            }
        }
    }
    .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;
        }

        .select {
            color: #379ed6;
        }

        .mulit-choose {
            border: 1px solid #1b1b1b;
            padding: 5px 10px;
        }
    }
    .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;

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

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

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

            span {
                font-size: 14px;
            }

            span.label {
                margin: 0 4px;
            }

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

            .round-color {
                width: 16px;
                height: 15px;

                .iconfont {
                    font-size: 16px;
                }

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

    .order-area {
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
        margin-top: 30px;
        color: #878787;
        font-weight: 700;

        .order {
            display: inline-block;
            margin: 14px 15px;
            height: 24px;
            line-height: 24px;
        }

        .dest {
            display: inline-block;
            position: relative;
            width: 15px;
            height: 24px;
            line-height: 24px;
            margin: 14px 15px;
            margin-left: -10px;
            margin-bottom: -10px;

            .iconfont {
                display: block;
                font-size: 12px;
                height: 12px;
                line-height: 12px;
                position: absolute;
            }

            .iconfont.selected {
                color: #1b1b1b;
            }

            .iconfont.up {
                top: -2px;
            }
            .iconfont.down {
                top: 8px;
            }
        }

        .order.selected {
            color: #1b1b1b;
        }

        .right {
            width: auto;
            height: 24px;
            line-height: 24px;
            margin-top: 12px;

            label {
                color: #1b1b1b;
                font-weight: 700;
                display: inline-block;
            }

            label.page-info {
                margin: 0 25px;
            }

            .page {
                color: #1b1b1b;
                font-weight: 700;
                border: 2px solid #1b1b1b;
                width: 24px;
                height: 24px;
                line-height: 24px;
                display: inline-block;
                font-size: 14px;
                text-align: center;
                margin-right: 8px;
            }

            .page.disable {
                color: #878787;
                border: 2px solid #878787;
            }
        }
    }

    .goods-area {

        margin: 0 -12px;
        position: relative;

        .goods {
            margin: 10px 0;
            padding: 10px;
            display: inline-block;
            text-align: center;
            border: 2px solid #fff;

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

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

                .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: 10;
            top: 10px;
            padding-right: 10px;
            min-width: 383px;
            display: none;

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

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

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

    .c-blue {
        color: blue;
    }

    .c-red {
        color: red;
    }
}