You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1020 B
44 lines
1020 B
<template> |
|
<div id="app"> |
|
<router-view :key="$route.fullPath"/> |
|
<!-- <keep-alive> |
|
<router-view v-if="$route.meta.keepAlive" :key="$route.fullPath"/> |
|
</keep-alive> |
|
<router-view v-if="!$route.meta.keepAlive" :key="$route.fullPath"/> --> |
|
</div> |
|
</template> |
|
|
|
<script> |
|
export default { |
|
name: "app", |
|
data() { |
|
return {}; |
|
}, |
|
watch: {}, |
|
created() { |
|
// 控制input框颜色 |
|
if(localStorage.getItem('inputColor')) { |
|
let color = localStorage.getItem('inputColor') |
|
document.getElementsByTagName('body')[0].style.setProperty('--label-font-color', color); |
|
localStorage.setItem("inputColor", color); |
|
}else { |
|
document.getElementsByTagName('body')[0].style.setProperty('--label-font-color', '#e4e7ec'); |
|
localStorage.setItem("inputColor", '#e4e7ec'); |
|
} |
|
}, |
|
methods: { |
|
|
|
}, |
|
computed: {} |
|
}; |
|
</script> |
|
<style lang="scss"> |
|
#app { |
|
width: 100%; |
|
height: 100%; |
|
overflow: hidden; |
|
} |
|
.avue--detail .el-col{ |
|
margin-bottom: 0; |
|
} |
|
</style>
|
|
|