_banner-center.css 1.69 KB
.banner-center {
    position: relative;
    height: 200px;
    overflow: hidden;
    margin-bottom: -2PX;
    z-index: 2;

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

    .swiper-pagination {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 20px;
        text-align: center;
        z-index: 1;

        .pagination-inner {
            display: inline-block;
            padding: 0 8px 4px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 50px;
            line-height: 1.2;

            span {
                display: inline-block;
                width: 14px;
                height: 14px;
                background: #fff;
                opacity: 0.5;
                margin: 0 9px;
                border-radius: 50%;

                &.swiper-pagination-bullet-active {
                    background: #fff;
                    opacity: 1;
                }
            }
        }
    }
}

.banner-center-swiper {
    background: #fff;
    width: 100%;
    height: 200px;
    overflow: hidden;

    .banner-list {
        height: 200px;

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

            a {
                position: relative;
                display: block;
                width: 100%;
                height: 100%;
                line-height: 200px;
                font-size: 0;
            }

            img {
                display: inline-block;
                max-width: 100%;
                max-height: 100%;
                vertical-align: middle;
            }
        }
    }
}

.single-one {
    margin-bottom: -2PX;
    z-index: 2;
}