Blame view

public/scss/product/detail/recommend-for-you.scss 1.8 KB
张丽霞 authored
1 2 3 4 5
.recommend-for-you {
    padding: 30px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    background: #fff;
yyq authored
6
    font-size: 12px;
郝肖肖 authored
7
    padding-left: 15px;
张丽霞 authored
8 9

    .title {
ccbikai authored
10 11
        color: #444;
        text-align: center;
张丽霞 authored
12 13 14 15 16
        font-size: 32px;
        line-height: 88px;
    }

    .swiper-container {
ccbikai authored
17
        padding: 30px 30px 20px;
张丽霞 authored
18 19 20 21
        width: 100%;

        .swiper-slide {
            float: left;
yyq authored
22
            margin: 0 10px;
张丽霞 authored
23 24 25 26 27 28 29 30
            width: 156px;

            img {
                width: 100%;
                height: 208px;
            }
        }
    }
ccbikai authored
31
张丽霞 authored
32 33 34
    .sale-name {
        overflow: hidden;
        margin-top: 20px;
ccbikai authored
35
        width: 100%;
张丽霞 authored
36
        color: #444;
ccbikai authored
37 38
        text-overflow: ellipsis;
        white-space: nowrap;
张丽霞 authored
39 40 41 42 43 44 45 46 47 48
    }

    .price {
        position: relative;
        margin-top: 8px;
        font-size: 24px;
        line-height: 1;

        .sale-price {
            margin-right: 8px;
ccbikai authored
49
            color: #d9134f;
张丽霞 authored
50 51 52 53 54 55 56 57 58 59 60 61 62
        }

        .old-price {
            display: block;
            color: #b0b0b0;
            text-decoration: line-through;
        }

        .no-price {
            color: #444;
        }
    }
}
ccbikai(👎🏻🍜) authored
63
陈峰 authored
64 65 66 67
.width750 {
    .recommend-for-you {
        padding: 35px 0;
        font-size: 14px;
ccbikai(👎🏻🍜) authored
68
陈峰 authored
69 70 71 72
        .title {
            font-size: 38px;
            line-height: 103px;
        }
ccbikai(👎🏻🍜) authored
73
陈峰 authored
74 75
        .swiper-container {
            padding: 35px 35px 23px;
ccbikai(👎🏻🍜) authored
76
陈峰 authored
77 78 79 80 81 82 83 84 85
            .swiper-slide {
                margin: 0 12px;
                width: 183px;

                img {
                    height: 244px;
                }
            }
        }
ccbikai(👎🏻🍜) authored
86
陈峰 authored
87 88 89 90 91 92 93 94 95 96 97 98 99 100
        .sale-name {
            margin-top: 23px;
        }

        .price {
            margin-top: 9px;
            font-size: 28px;

            .sale-price {
                margin-right: 9px;
            }
        }
    }
}