data() {
return{
swiperOption: {
pagination: {
el: '.swiper-pagination',
},
}
}
<style lang="stylus" scoped>
//穿透 所有在.wrapper下面的.swiper-pagination-bullet-active更改小圆点的背景颜色
.wrapper>>> .swiper-pagination-bullet-active
background: #fff;
<style>