.swiper {
    height: 2.18rem;
    border-radius: 8px 8px 0 0;
}

.swiper-item {
    width: 100%;
    height: 2.18rem;
    font-size: .18rem;
    line-height: 2.18rem;
    text-align: center;
    color: #fff;
}

.slider {
    margin: .3rem .23rem;
}

.switch-text-before {
    margin-top: .17rem;
}

.init-switch {
    margin: .14rem 0 .14rem .17rem;
    vertical-align: middle;
}

.color-a {
    background-color: #5b9fff;
}

.color-b {
    background-color: #85b8ff;
}

.color-c {
    background-color: #adcfff;
}

.switch {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

/* 自定义底部切换圆点 */
.swiper-custom {
    border-radius: 0 0 8px 8px;
}

.swiper-wrap {
    position: relative;
}

.swiper-img {
    width: 100%;
    height: 100%;
}

.dots {
    position: absolute;
    right: 20rpx;
    bottom: 20rpx;
    display: flex;
    justify-content: center;
}

.dot {
    margin: 0 8rpx;
    width: 14rpx;
    height: 14rpx;
    background: #fff;
    border-radius: 8rpx;
    transition: all .6s;
}

.active {
    width: 24rpx;
    background: #38F;
}

/* 切换顶部导航栏 */
.swiper-tab {
    width: 100%;
    overflow-x: auto;
}

.swiper-tab::-webkit-scrollbar {
    display: none;
}

.swiper-box {
    min-width: 100%;
    width: max-content;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    height: .54rem;
    background-color: #f5f5f5;
    color: #888;
    border: 1px solid #fff;
}

.tab-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: .14rem;
    height: .32rem;
    line-height: .14rem;
    margin-right: .08rem;
    padding: 0 .134rem;
    background-color: #fff;
    border-radius: .05rem;
    flex: 1 0 auto;
}

.tab-item:nth-child(1) {
    margin-left: .08rem;
}

.swiper-content {
    width: 100%;
    height: 2.04rem;
    background-color: #f9f9f9;
    border: .1rem solid #fff;
    font-size: .18rem;
    line-height: .18rem;
}

.swiper-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.swiper-item view {
    color: #999;
}

.on {
    color: #000;
}