swiper.less 1.41 KB
@charset "UTF-8";

.swiper-box {
    position: relative;
    width: 750px;
    height: 380px;
    overflow: hidden;
    .swipe {
        margin: 0 auto;
        width: 690px;
        height: 100%;
        .swipe-item {
            width: 100%;
            height: 100%;
            .item {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 100%;
                height: 100%;
                border-radius: 16px;
                overflow: hidden;
                .img-box {
                    .img {
                        display: block;
                        width: 100%;
                        height: auto;
                        border-radius: 16px;
                        overflow: hidden;
                    }
                }
            }
        }
        /deep/ .van-swipe__indicators {
            left: unset;
            right: 26px;
            bottom: 20px;
            .van-swipe__indicator {
                background-color: rgba(255, 255, 255, 0.5);
                width: 8px;
                height: 8px;
                margin: 0 4px;
                opacity: unset;
                border-radius: 50%;
                &.van-swipe__indicator--active {
                    background:rgba(252,21,65,1);
                    width: 16px;
                    border-radius: 4px;
                }
            }
        }
    }
}