_product-description.scss 4.55 KB
.good-detail-page{
        .goods-desc {
        padding-bottom: pxToRem(20px);
        padding-top: pxToRem(20px);

        .service {
            width: pxToRem(494px);
            height: pxToRem(28px);
            margin-left: pxToRem(50px);
            background: image-url('product/service.png') no-repeat;
            background-size: cover;
        }
        .detail{
            margin-bottom: 1px;
        }
        .desc-text {
            font-size: pxToRem(24px);
            padding: pxToRem(16px) pxToRem(12px);
            color: $mainFontC;
            background-color: $tableCellC;
            // border-top: 1px solid #fff;
        }
    }
    .tips {
        color: $subFontC;
        font-size: pxToRem(18px);
        margin-top: pxToRem(20px);
    }
    .materials {
        overflow: hidden;
        &.page-block{
            margin-bottom: 0;
            border-bottom: none;
            .detail{
                margin-bottom: 0;
            }
        }
        .detail {
            .material-item{
                margin: pxToRem(10px) 0;
                width: 100%;
                height: auto;
                overflow: hidden;
                display: block;
                position: relative;

                img {
                    margin: 0;
                }
                .material-image {
                    width: 23%;
                    position: absolute;
                    left: 0;
                    top: 50%;
                    @include transform(translateY(-50%))
                }
                .material-desc {
                    font-size: pxToRem(24px);
                    box-sizing: border-box;
                    text-align: left;
                    padding-left: 2%;
                    height: auto;
                    line-height: pxToRem(38px);
                    color: #4b4b4b;
                    word-wrap: break-word;
                    width: 76.9%;
                    float: right;
                }
                &:last-child{
                    border-bottom: none;
                }
            }
        }
    }
    .wash-tips{
        padding-top:pxToRem(20px);
        &.page-block{
            // border-top: 0px;
            padding-left: pxToRem(15px);
            padding-right: pxToRem(15px);
        }
            .tip{
            display: inline-block;
            width: 16.6%;
            float:left;
            //min-height: pxToRem(120px);
            // margin-right: pxToRem(24px);
            img{
                width: pxToRem(48px);
                height: pxToRem(48px);
                margin-bottom: pxToRem(10px);
            }
            .caption{
                display: block;
                padding: 0 pxToRem(13px);
                font-size: pxToRem(18px);
                line-height: pxToRem(22px);
                //margin-bottom: pxToRem(18px);
                min-height: pxToRem(44px);
                text-align:center;
            }
        }

    }
    .product-detail {
        .detail {
            img {
                margin-top: pxToRem(20px);
                width: pxToRem(581px);
                height:auto;
            }

            a {
                color: #2f91f6;
                text-decoration: underline;

            }

        }
        margin-top: pxToRem(30px);
        margin-bottom: pxToRem(30px);
    }
    .detail-swiper {
        .swiper-wrapper {
            // height: pxToRem(200px);
            // overflow: hidden;
            .swiper-slide {
                width: auto;
                div {
                    text-align: center;
                    &.cell {
                        line-height: pxToRem(53px);
                        font-size: pxToRem(24px);
                        background-color: $tableCellC;
                        padding: 0 pxToRem(40px);
                        border: 1px solid #fff;
                    }
                }
            }
        }
    }
    //模特
    #reference-swiper-container {
        .first-group {
            width: pxToRem(70px);
            margin-top: pxToRem(55px);
            div{
                height: pxToRem(55px);
                .avatar {
                    display: inline-block;
                    width: pxToRem(40px);
                    border-radius: 50%;
                    margin-top:pxToRem(7px);
                }
            }
        }
    }

    //测量方法
    .measurement-method {
        .detail {
            width: 100%;
            margin-top:0;
            margin-bottom: 0;
            img {
                width: 100%;
                height:auto;
            }
        }
    }
}