city-swiper.scss 1.72 KB
.city-swiper {
    display: none;
    width: 750px;
    height: 430px;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #d2d5da;
    border-top: solid 1px #939598;

    .swiper-header {
        height: 70px;
        background-color: #f0f0f1;

        div {
            line-height: 70px;
            color: #3478f6;
            font-size: 30px;
            padding: 0 20px;
        }

        .cancel {
            float: left;
        }

        .ok {
            float: right;
        }
    }

    .swiper-list {
        height: 360px;
        width: 750px;
        overflow: hidden;
        position: relative;
    }

    .swiper-container {
        width: 50%;
        height: 360px;
        float: left;
    }

    .swiper-slide {
        text-align: center;
        transform: rotateX(45deg);
        -webkit-transform: rotateX(45deg);
        color: #aeb0b5;
        font-size: 30px;
        display: -webkit-flex;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        align-items: center;
        -webkit-justify-content: center;
        justify-content: center;
    }

    .swiper-slide-prev {
        transform: rotateX(30deg);
        -webkit-transform: rotateX(30deg);
        color: #888a8e;
    }

    .swiper-slide-next {
        transform: rotateX(30deg);
        -webkit-transform: rotateX(30deg);
        color: #888a8e;
    }

    .swiper-slide-active {
        transform: rotateX(0);
        -webkit-transform: rotateX(0);
        color: #2a2a2b;
    }

    .swiper-line {
        position: absolute;
        top: 50%;
        left: 0;
        width: 750px;
        border-top: solid 1px #a8abae;
        border-bottom: solid 1px #a8abae;
        z-index: -1;
    }
}