swiper3dCom.less 3.46 KB
@charset "UTF-8";

&.swiper-3d-com {
    position: relative;
    .bg-box {
        width: 100%;
        height: auto;
        .bg-img {
            display: block;
            width: 100%;
            height: auto;
        }
    }
    .carousel-3d-box {
        position: absolute;
        top: 130px;
        z-index: 1;
        width: 100%;
        height: 100%;
        /deep/ .carousel-3d-container {
            width: 100% !important;
            height: 300px !important;
            .carousel-3d-slider {
                width: 380px !important;
                height: 100% !important;
                .carousel-3d-slide {
                    background-color: transparent !important;
                    width: 100% !important;
                    height: 100% !important;
                    opacity: 0.2 !important;
                    border: none;
                    &.current {
                        opacity: 1 !important;
                    }
                    .item {
                        position: relative;
                        height: 100%;
                        .img-box {
                            margin: 0 auto;
                            width: 160px;
                            height: 160px;
                            .img {
                                display: block;
                                width: 160px;
                                height: 160px;
                            }
                        }
                        .base-box {
                            position: absolute;
                            top: 130px;
                            left: 33px;
                            z-index: -1;
                            margin: 0 auto;
                            width: 314px;
                            height: 119px;
                            .base-img {
                                display: block;
                                width: 314px;
                                height: 119px;
                            }
                        }
                        .title-box {
                            position: absolute;
                            top: 186px;
                            z-index: 1;
                            background-repeat: no-repeat;
                            background-size: contain;
                            width: 100%;
                            height: 93px;
                            .index {
                                color: #FFFFFF;
                                font-size: 22px;
                                font-weight: 400;
                                text-align: center;
                                // -webkit-transform: scale(0.9);
                            }
                            .title {
                                margin-top: 10px;
                                color: #542B06;
                                font-size: 24px;
                                font-weight: 400;
                                width: 100%;
                                .title-sub {
                                    margin: 0 auto;
                                    width: 85%;
                                    text-align: center;
                                    white-space: nowrap;
                                    text-overflow: ellipsis;
                                    overflow: hidden;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}