_recommend-for-you.scss 1.08 KB
.recommend-for-you {
    padding: pxToRem(30px) 0 pxToRem(10px);
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    background: #fff;

    .title {
        font-size: pxToRem(32px);
        line-height: pxToRe(88px);
        text-align: center;
        color: #444;
        font-weight: bold;
    }

    .swiper-recommend {
        padding: pxToRem(20px) 0;
        width: 100%;
        overflow: hidden;

        .swiper-slider {
            margin: 0 pxToRem(10px);

            &:first-child {
                margin-left: pxToRem(30px);
            }

            &:last-child {
                margin-right: pxToRem(30px);
            }

            img {
                width: pxToRem(156px);
                max-width: none;
            }
        }
    }

    .price {
        margin-top: pxToRem(20px);
        font-size: pxToRem(20px);
        line-height: 1;

        .sale-price {
            color: #d9134f;
        }

        .old-price {
            float: right;
            color: #ededed;
        }

        .no-price {
            color: #444;
        }
    }
}