_banner-top.scss 1.06 KB
.banner-top {
    margin-top: -1px;
    position: relative;

    .swiper-pagination {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 20rem / $pxConvertRem;
        text-align: center;

        .pagination-inner {
            display: inline-block;

            span {
                display: inline-block;
                width: 14rem / $pxConvertRem;
                height: 14rem / $pxConvertRem;
                background: #fff;
                opacity: 0.5;
                margin: 0 (9rem / $pxConvertRem);
                border-radius: 50%;
            }

            span.swiper-pagination-bullet-active {
                opacity: 1;
            }
        }
    }
}

.banner-swiper {
    position: relative;
    height: 309rem / $pxConvertRem;
    overflow: hidden;

    ul {
        position: relative;
        height: 309rem / $pxConvertRem;

        li {
            float: left;
            width: 100%;
            height: 100%;

            img {
                width: 100%;
                height: 100%;
            }
        }
    }
}