【update】-下午产生bug的修改

This commit is contained in:
fengchenchen
2022-12-08 18:17:42 +08:00
parent 0752143bef
commit 9fafa0dcea
6 changed files with 45 additions and 9 deletions
+22
View File
@@ -69,6 +69,8 @@ import PreparationRevisionScreen from './preparationRevision/index'
import WPScreen from './wp29/index'
import ISOScreen from './iso/index'
let bodyClass = ''
export default {
name: 'HomePage',
components: {
@@ -89,6 +91,12 @@ export default {
},
created() {
document.title = `中国汽车标准化研究院运营管理平台`
let bodyDom = document.getElementsByTagName('body')[0]
bodyClass = bodyDom.getAttribute('class')
bodyDom.setAttribute('class', `${bodyClass} screen-body`)
},
beforeDestroy() {
document.getElementsByTagName('body')[0].setAttribute('class', bodyClass)
}
}
</script>
@@ -226,6 +234,9 @@ export default {
::v-deep ::-webkit-scrollbar-thumb{
background: #445a9c;
}
::v-deep ::-webkit-scrollbar-corner {
background: #293f6a;
}
// 下拉框-清除图标的背景色
::v-deep .ant-select-selection__clear {
background: #293f6a;
@@ -251,4 +262,15 @@ export default {
color: #fff;
}
.screen-body{
&::-webkit-scrollbar-track{
background: #293f6a;
}
&::-webkit-scrollbar-thumb{
background: #445a9c;
}
&::-webkit-scrollbar-corner {
background: #293f6a;
}
}
</style>