diff --git a/src/views/screen/HomePage.vue b/src/views/screen/HomePage.vue index ff68a88..3261022 100644 --- a/src/views/screen/HomePage.vue +++ b/src/views/screen/HomePage.vue @@ -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) } } @@ -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; + } +} \ No newline at end of file diff --git a/src/views/screen/incomePayments/index.vue b/src/views/screen/incomePayments/index.vue index 2dc2d0b..65d1bc2 100644 --- a/src/views/screen/incomePayments/index.vue +++ b/src/views/screen/incomePayments/index.vue @@ -251,6 +251,9 @@ export default { &::-webkit-scrollbar-thumb{ background: #445a9c!important; } + &::-webkit-scrollbar-corner { + background: #293f6a; + } background-color: #181F55; .ant-select-dropdown-content{ background-color: #181F55; diff --git a/src/views/screen/iso/LeadingStandardChart.vue b/src/views/screen/iso/LeadingStandardChart.vue index c0b4038..3d87bc0 100644 --- a/src/views/screen/iso/LeadingStandardChart.vue +++ b/src/views/screen/iso/LeadingStandardChart.vue @@ -13,7 +13,7 @@ :dataSource="dataSource" :pagination="ipagination" :loading="loading" - :scroll="{x: 1200, y: 550}" + :scroll="{x: 1200, y: 540}" @change="handleTableChange" class="j-table-force-nowrap main-table iso-table"> @@ -259,7 +259,7 @@ export default { // 高度必须固定否则没有办法出滚动条 .iso-full-table.iso-full-box{ //height: 600px; - height: 800px; + height: 810px; padding-top: 0; //background: transparent; /deep/* { diff --git a/src/views/screen/preparationRevision/CompletionProjectChart.vue b/src/views/screen/preparationRevision/CompletionProjectChart.vue index ef15fdc..c5f1f79 100644 --- a/src/views/screen/preparationRevision/CompletionProjectChart.vue +++ b/src/views/screen/preparationRevision/CompletionProjectChart.vue @@ -1,8 +1,8 @@