banner.wxss 1023 Bytes
.banner {
    padding: 12rpx 20rpx 40rpx;
    position: relative;
    height: 140rpx;
    overflow: hidden;
    position: relative;
    border-radius: 16rpx;
  }
  
  .banner .swiper {
    height: 100%;
    border-radius: 16rpx;
    overflow: hidden;
    position: relative;
    transform: translateY(0);
  }
  
  .banner .swiper.border {
    border: 16rpx solid #fff;
    box-sizing: border-box;
    background: #D6D6D6;
  }
  
  .banner .swiper .logo {
    left: 50%;
  }
  
  .banner .swiper-item,
  .banner .banner-img {
    border-radius: 16rpx;
    overflow: hidden;
  }
  
  .banner .banner-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 100%;
    bottom: 52rpx;
    left: 0;
  }
  
  .banner .banner-dots .dots {
    width: 12rpx;
    height: 4rpx;
    margin: 0 6rpx;
    border-radius: 3rpx;
    background-color: rgba(0, 0, 0, .5);
    transition: all .5s;
  }
  
  .banner .banner-dots .dots.active {
    background-color: var(--btnColor);
  }