Blame view

public/scss/common/_good.css 7.03 KB
王水玲 authored
1 2
.good-info {
    float: left;
ccbikai authored
3
    margin: 10px 15px 40px;
王水玲 authored
4 5 6 7 8
    width: 276px;
    height: 506px;

    .tag-container {
        overflow: hidden;
ccbikai authored
9 10
        width: 100%;
        height: 28px;
王水玲 authored
11 12 13 14

        .good-tag {
            display: block;
            float: left;
ccbikai authored
15 16
            box-sizing: border-box;
            margin-right: 4px;
王水玲 authored
17 18
            height: 28px;
            text-align: center;
姜枫 authored
19
            font-size: 12PX;
王水玲 authored
20 21 22 23 24 25 26 27 28 29 30 31 32
            line-height: 28px;

            &:last-child {
                margin-right: 0;
            }
        }

        .new-tag {
            width: 60px;
            background-color: #78dc7e;
            color: #fff;
        }
郭成尧 authored
33 34 35 36 37 38
        .hot-tag {
            width: 60px;
            background-color: #ff575c;
            color: #fff;
        }
王水玲 authored
39 40 41 42 43 44 45 46 47 48 49 50 51
        .renew-tag {
            width: 90px;
            background-color: #78dc7e;
            color: #fff;
        }

        .sale-tag {
            width: 60px;
            background-color: #ff575c;
            color: #fff;
        }

        .new-festival-tag {
郭成尧 authored
52 53 54 55 56 57
            color: #000;
            width: 100px;
            background-image: resolve("product/new-festival.png");
            background-repeat: no-repeat;
            background-color: #fff;
            background-size: 100px 28px;
王水玲 authored
58 59 60
        }

        .limit-tag {
lijing authored
61
            width: 60px;
王水玲 authored
62 63
            border: 1px solid #000;
            color: #000;
lijing authored
64
            line-height: 26px;
王水玲 authored
65
        }
lijing authored
66 67 68 69 70 71

        .is-presell {
            width: 60px;
            background-color: #000;
            color: #fff;
        }
王水玲 authored
72 73 74 75 76 77 78 79 80
    }
}

.good-detail-img {
    position: relative;
    height: 368px;

    .good-islike {
        position: absolute;
王水玲 authored
81 82
        top: 0;
        right: 0;
ccbikai authored
83 84
        width: 60px;
        height: 60px;
王水玲 authored
85
        color: #b0b0b0;
ccbikai authored
86
        text-align: center;
王水玲 authored
87
        text-decoration: none;
ccbikai authored
88 89
        font-size: 30px;
        line-height: 60px;
王水玲 authored
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
    }

    .good-like {
        color: #d72928;
    }

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

    .few-tag {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 28px;
        background: #ffac5b;
        color: #fff;
        text-align: center;
姜枫 authored
110
        font-size: 12PX;
ccbikai authored
111
        line-height: 28px;
王水玲 authored
112
    }
runner authored
113
zhangxiaoru authored
114 115 116 117 118 119 120 121 122 123 124 125
    .out-tag {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 32px;
        background: #b0b0b0;
        color: #fff;
        text-align: center;
        font-size: 18px;
        line-height: 32px;
    }
runner authored
126 127 128 129 130 131 132 133 134 135 136
    .no-storage {
        width: 100%;
        height: 100%;
        overflow: hidden;
        background-color: #000;
        opacity: 0.4;
        position: absolute;
        top: 0;

        .no-storage-img {
            display: block;
runner authored
137 138 139
            width: 100%;
            height: 100%;
            background-image: resolve("product/outlet_sellout_bg.png");
runner authored
140 141 142 143
            background-repeat: no-repeat;
            background-size: contain;
        }
    }
王水玲 authored
144 145 146 147
}

.good-detail-text {
    .name a {
姜枫 authored
148
        transform: scale(0.9);
149 150
        margin: 15px 0 10px;
        min-height: 50px;
王水玲 authored
151
        color: #444;
姜枫 authored
152
        font-size: 12PX;
153 154
        line-height: 30px;
        padding: 5px 0; /* 商品标题限制行数的bug修复 增加元素的clientHeight */
郝肖肖 authored
155 156 157 158
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
weiqingting authored
159
        height: 60px;
王水玲 authored
160 161 162
    }

    .price {
姜枫 authored
163
        font-size: 12PX;
ccbikai authored
164
        line-height: 22px;
ccbikai authored
165
        white-space: nowrap;
姜枫 authored
166
        transform: scale(0.9);
王水玲 authored
167 168 169 170 171 172 173 174 175 176

        .sale-price {
            color: #d62927;
        }

        .sale-price.no-price {
            color: #000;
        }

        .market-price {
姜枫 authored
177
            font-size: 12PX;
王水玲 authored
178 179 180 181 182
            margin: 0 0 0 5px;
            color: #b0b0b0;
            text-decoration: line-through;
        }
    }
王水玲 authored
183 184 185 186

    .vip-grade {
        display: inline-block;
        margin-right: 8px;
ccbikai authored
187 188
        width: 52px;
        height: 32px;
王水玲 authored
189 190 191
        vertical-align: text-bottom;
    }
王水玲 authored
192
    .vip-grade-1 {
193
        background: resolve("product/silver.png") no-repeat;
王水玲 authored
194 195 196
        background-size: contain;
    }
王水玲 authored
197
    .vip-grade-2 {
198
        background: resolve("product/golden.png") no-repeat;
王水玲 authored
199 200 201
        background-size: contain;
    }
王水玲 authored
202
    .vip-grade-3 {
203
        background: resolve("product/platinum.png") no-repeat;
王水玲 authored
204 205 206 207 208 209
        background-size: contain;
    }

    .vip-info {
        margin-top: 19px;
        color: #444;
ccbikai authored
210 211
        font-size: 18px;
        line-height: 32px;
王水玲 authored
212 213

        .vip-icon {
ccbikai authored
214 215
            display: inline-block;
            margin-right: 8px;
王水玲 authored
216 217
            width: 88px;
            height: 32px;
218
            background: resolve("product/vip-icon.png") no-repeat;
王水玲 authored
219 220 221 222
            background-size: contain;
            vertical-align: bottom;
        }
    }
王水玲 authored
223
}
张丽霞 authored
224 225 226 227 228 229

.goods-container {
    position: relative;
    padding-top: 8px;
    padding-left: 15px;
    min-height: 880px;
陈轩 authored
230
    background-color: #fff;
张丽霞 authored
231
}
陈峰 authored
232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352
.width750 {
    .good-info {
        margin: 12px 18px 47px;
        width: 323px;
        height: 593px;

        .tag-container {
            height: 33px;

            .good-tag {
                margin-right: 5px;
                height: 33px;
                font-size: 21px;
                line-height: 33px;
            }

            .new-tag {
                width: 70px;
            }

            .hot-tag {
                width: 70px;
            }

            .renew-tag {
                width: 105px;
            }

            .sale-tag {
                width: 70px;
            }

            .new-festival-tag {
                width: 117px;
                background-size: 117px 33px;
            }

            .limit-tag {
                width: 70px;
                line-height: 30px;
            }

            .is-presell {
                width: 70px;
            }
        }
    }

    .good-detail-img {
        height: 431px;

        .good-islike {
            width: 70px;
            height: 70px;
            font-size: 35px;
            line-height: 70px;
        }
        img {
            height: 431px;
        }

        .few-tag {
            height: 33px;
            font-size: 21px;
            line-height: 33px;
        }

        .out-tag {
            height: 38px;
            font-size: 21px;
            line-height: 38px;
        }

    }

    .good-detail-text {
        .name a {
            margin: 18px 0 12px;
            min-height: 59px;
            font-size: 26px;
            line-height: 35px;
            padding: 6px 0;
            height: 70px;
        }

        .price {
            font-size: 26px;
            line-height: 26px;

            .market-price {
                margin: 0 0 0 6px;
            }
        }

        .vip-grade {
            margin-right: 9px;
            width: 61px;
            height: 38px;
        }


        .vip-info {
            margin-top: 22px;
            font-size: 21px;
            line-height: 38px;

            .vip-icon {
                margin-right: 9px;
                width: 103px;
                height: 38px;
            }
        }
    }

    .goods-container {
        padding-top: 9px;
        padding-left: 18px;
        min-height: 1031px;
    }

}