引入Vant组件并改变其样式

在加了scoped的style中重写样式 失效,因此另加一个不带scoped 的 style即可

<style lang="scss">
.main_page_process {
	//vant 组件类名
  .van-progress__portion {
    box-shadow: 0px 6px 12px 0px rgba(255, 102, 102, 0.5) !important;
  }
}
.baby_desc_swiper {
	//vant 组件类名
  .van-swipe__indicator {
    background-color: #aaa !important;
  }
}
style>

你可能感兴趣的:(大前端,#,CSS,#,Vue,html,html5)