微信小程序 改变swiper指示点颜色形状位置

/*  */
.wx-swiper-dots{position:relative;left:10% !important;top: 460rpx;}
.wx-swiper-dot {
  height: 12rpx;
  width: 12rpx;
}
/* 选中前 */
 .wx-swiper-dot {
 width: 12rpx;
 height: 12rpx;
 border-radius: 5rpx;
 background: rgba(0,0,0,0.2);
}
/* 选中后 */
.wx-swiper-dot-active {
  width: 28rpx !important;
  height: 12rpx !important;
  border-radius: 6rpx !important;
  background: rgba(0,0,0,0.4);
}

你可能感兴趣的:(微信小程序,小程序,前端)