_product-description.scss 4.74 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{
            // 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{
                position: relative;
                min-height: pxToRem(136px);
                margin: pxToRem(10px) 0;
                text-align: center;
                display: flex;
                align-items: center;

                // width: 100%;
                // border-bottom:1px solid $borderC;
                img {
                    //position:absolute;
                    //top:0;
                    //bottom:0;
                    //left:0;
                    //margin:auto;
                    //width: pxToRem(90px);
                    //height: auto;
                    //padding-right: pxToRem(20px);
                }
                .material-image {
                    display: inline-block;
                    width: 23%;
                }
                .material-desc {
                    //padding-left:pxToRem(120px);
                    font-size: pxToRem(24px);
                    text-align: left;
                    display: inline-block;
                    width: 75%;
                    padding-left: 2%;
                    height: auto;
                    line-height: pxToRem(40px);
                    color: #4b4b4b;
                }
                &: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);
            }
        }

    }
    .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 {
                        font-size: pxToRem(24px);
                        background-color: $tableCellC;
                        padding: pxToRem(15px) pxToRem(40px);
                        border: 1px solid #fff;
                    }
                }
            }
        }
    }
    //模特
    #reference-swiper-container {
        .first-group {
            width: pxToRem(70px);
            margin-top: pxToRem(66px);
            .avatar {
                // line-height: pxToRem(40px);
                display: inline-block;
                width: pxToRem(40px);
                border-radius: 50%;
                height: pxToRem(40px);
                margin: pxToRem(12px) 0;
            }
        }
    }

    //测量方法
    .measurement-method {
        .detail {
            width: 100%;
            img {
                width: 100%;
                margin-top: pxToRem(18px);
                margin-right: pxToRem(28px);
            }
        }
    }
}