_product-description.scss 4.72 KB
.good-detail-page{
        .goods-desc {
        padding-bottom: pxToRem(20px);
        padding-top: pxToRem(20px);
        &.page-block{
            .table{
                display: flex;
                flex-wrap: wrap;
            }
        }
        .service {
            width: pxToRem(494px);
            height: pxToRem(28px);
            margin-left: pxToRem(50px);
            background: image-url('product/service.png') no-repeat;
            background-size: cover;
        }
        .detail{
            // background-color: $tableCellC;
            // &.table .inner-container{
            //     background-color: $tableCellC;
            // }
            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;
                @include flexbox((
                    display: flex,
                    align-items: center
                ));

                img {
                    margin: 0;
                }
                .material-image {
                    @include flexbox((
                        display: flex,
                        flex-basis: 23%,
                        justify-content: center
                    ));
                }
                .material-desc {
                    font-size: pxToRem(24px);
                    box-sizing: border-box;
                    text-align: left;
                    padding-left: 2%;
                    height: auto;
                    line-height: pxToRem(38px);
                    color: #4b4b4b;
                    @include flexbox((
                        display: flex,
                        flex-basis: 76.9%
                    ));
                }
                &: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;
            }
        }
        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%;
            img {
                width: 100%;
                margin-top: pxToRem(18px);
                margin-right: pxToRem(28px);
            }
        }
    }
}