diff --git a/src/style/common.less b/src/style/common.less index 0a931e0..b18639b 100644 --- a/src/style/common.less +++ b/src/style/common.less @@ -64,9 +64,27 @@ } -// ::-webkit-scrollbar { -// width: 0 !important; -// } -// ::-webkit-scrollbar { -// width: 0 !important;height: 0; -// } + +/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/ +::-webkit-scrollbar +{ + width: 2px; + height: 2px; + background: #409EFF; +} + +/*定义滚动条轨道 内阴影+圆角*/ +::-webkit-scrollbar-track +{ + -webkit-box-shadow: inset 0 0 2px rgba(231, 231, 231, 0.3); + border-radius: 1px; + background-color: #F5F5F5; +} + +/*定义滑块 内阴影+圆角*/ +::-webkit-scrollbar-thumb +{ + border-radius: 1px; + -webkit-box-shadow: inset 0 0 2px #409EFF; + background: #409EFF; +} \ No newline at end of file diff --git a/src/views/kpi/assessment/stepList/index.vue b/src/views/kpi/assessment/stepList/index.vue index c7d1a9f..3deffcc 100644 --- a/src/views/kpi/assessment/stepList/index.vue +++ b/src/views/kpi/assessment/stepList/index.vue @@ -256,6 +256,7 @@ export default { props: { value: 'startId', label: 'time', + expandTrigger: 'hover', level: true }, tableData: [], diff --git a/src/views/kpi/report/home/index.vue b/src/views/kpi/report/home/index.vue index 9132300..94f4d09 100644 --- a/src/views/kpi/report/home/index.vue +++ b/src/views/kpi/report/home/index.vue @@ -120,7 +120,8 @@ export default { // props: { value: 'startId', - label: 'time' + label: 'time', + expandTrigger: 'hover' }, // 考核人数报表持有类 option: {