1、使用">>>"符號更改其他組件的樣式
例如
<style lang="stylus" scoped>
.a >>> .b
/*樣式*/
</style>
2、當lang = less or sass 時 解析不了">>>"符號,則使用 /deep/
例如
<style lang="less" scoped>
.a /deep/ .b {
/*樣式*/
}
</style>
3、.vue界面中使用兩個style標簽 ,一個加scoped,一個不加
例如
<style lang="less">
</style>
<style lang="less" scoped>
</style>