- 直接修改 – 不加scoped的情况下
例如:
.tj-swiper{ width: 345px; margin: 10px auto; height: 150px; .swiper-wrap { width: 345px; height: 100%; overflow: hidden; } }
- 穿透符号 >>>, — 加了scoped的情况下
.swiper-wrap >>> .mint-swipe-items-wrap { width: 345px; height: 100%; }
覆盖element-ui自带样式
猜你喜欢
转载自blog.csdn.net/weixin_43844975/article/details/103575946
今日推荐
周排行