_shop.css 4.58 KB
.yoho-product-list,
.yoho-shop-index {

    .brand-banner {
        width: 100%;
        height: 150px;
        background-size: 100% 100%;
        position: relative;

        p.opts {
            display: block;
            position: absolute;
            right: 20px;
            bottom: 30px;
            font-size: 14px;

            a,
            .brand-fav {
                color: #fff;
                border: 1px solid #fff;
                padding: 10px;
                margin-left: 10px;

                .iconfont {
                    font-size: 14px;
                }
            }
        }
    }

    .shop-menu {

        border-bottom: 1px solid #eee;
        margin-bottom: 30px;

        li {
            display: inline-block;
            margin: 10px 30px;

            a {
                font-size: 12px;
            }

            .iconfont {
                font-size: 14px;
            }
        }
    }

    .brand-info-wrapper {
        display: none;
    }

}

.yoho-shop-index {

    font-size: 14px;

    @import "order-area";

    .slide-warp {
        margin-bottom: 80px;

        .slide-left {
            float: left;
            width: 375px;
            height: 400px;
            margin-right: 20px;
        }

        .slide-right {
            float: right;
            width: 360px;
            height: 400px;

            a {
                display: block;
                img {
                    width: 100%;
                    height: 190px;
                }
            }

            a:first-child {
                margin-bottom: 20px;
            }
        }
    }

    .new-arrival-warp,
    .hot-product-warp {
        margin-bottom: 75px;
    }

    .new-arrival-warp,
    .all-product-warp {
        .goods-wrap {
            margin: 30px -10px 0;
            .goods-info {
                display: inline-block;
                width: 270px;
                margin: 0 9px;
                border-width: 1px;
            }
        }
    }

    .hot-product-warp {
        .goods-wrap {
            margin: 30px -10px 0;

            .goods-info {
                position: relative;
                display: inline-block;
                width: 369px;
                height: 495px;
                margin: 0 9px;
                border-width: 1px;

                .desc {
                    position: absolute;
                    bottom: 0;
                    width: 100%;
                    background-color: #000;
                    opacity: 0.6;
                    padding: 20px 0;
                    color: #fff;
                }
            }
        }

        .desc {
            .name {
                color: #fff;
            }
        }
    }

    .floor-header {
        position: relative;
        .floor-more {
            position: absolute;
            right: 0;
            bottom: 0;
            font-size: 14px;
            font-weight: 700;
        }
    }

    .shop-sort {
        margin: 30px 0;
        height: 30px;
        vertical-align: middle;
        font-size: 14px;

        .all {
            color: #f31a2a;
            height: 30px;
            line-height: 30px;
            float: left;
            border-right: 1px solid #bbb;
            padding-right: 15px;
            font-weight: 700;
        }

        .more {
            height: 30px;
            line-height: 30px;
            float: right;
            font-weight: 700;
        }

        .sort-list {
            float: left;
            height: 30px;
            line-height: 30px;
            div {
                float: left;
                margin: 0 5px;
                padding: 0 10px;
                height: 30px;
            }

            div:hover {
                background-color: #000;
                a {
                    color: #fff !important;
                }
            }
        }
    }
}

.yoho-dialog.brand-info-dialog {
    width: 900px;
    height: 600px;

    .brand-info {
        height: 520px;
        width: 100%;
        padding: 0 20px;

        .nano-content {
            width: 100%;
        }

        .brand-info-title {
            text-align: left;
            margin: 20px 0 50px;
            h2 {
                font-size: 18px;
                font-weight: 700;
                padding: 10px 0;
            }
        }

        .brand-info-content {
            text-align: left;
            font-size: 12px;
            line-height: 20px;
            p {
                font-size: 12px;
                line-height: 20px;
                text-align: left;

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