|
|
@@ -35,12 +35,12 @@ export default { |
|
|
|
if (val == true) { |
|
|
|
let item = document.getElementsByClassName('el-breadcrumb__separator') |
|
|
|
// let item =document.getElementsByClassName('') |
|
|
|
item[0].classList.add("changeColor") |
|
|
|
item[1].classList.add("changeColor") |
|
|
|
item[0].style.color = rgba(255, 255, 255, 0.45) |
|
|
|
item[1].style.color = rgba(255, 255, 255, 0.45) |
|
|
|
} else { |
|
|
|
let item = document.getElementsByClassName('el-breadcrumb__separator') |
|
|
|
item[0].classList.remove("changeColor") |
|
|
|
item[1].classList.remove("changeColor") |
|
|
|
item[0].style.color = '' |
|
|
|
item[1].style.color = '' |
|
|
|
} |
|
|
|
}, |
|
|
|
$route(route) { |
|
|
@@ -103,11 +103,11 @@ export default { |
|
|
|
color:rgba(0, 0, 0, 0.65) |
|
|
|
} |
|
|
|
</style> |
|
|
|
<style lang="scss"> |
|
|
|
<!-- <style lang="scss"> |
|
|
|
.changeColor { |
|
|
|
--theme-color: rgba(255, 255, 255, 0.45); |
|
|
|
} |
|
|
|
.el-breadcrumb__separator { |
|
|
|
color:var(--theme-color); |
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> --> |