仅微信小程序有效
java
/* #ifdef MP-WEIXIN */
// 默认指示点样式
wx-swiper .wx-swiper-dot {
position: relative;
background-color: #ffffff;
width: 28rpx;
border-radius: 10rpx;
height: 8rpx;
opacity: 0.4;
}
// 当前选中样式
wx-swiper .wx-swiper-dot-active {
background-color: #ffffff;
width: 48rpx;
border-radius: 10rpx;
opacity: 10;
}
/* #endif */