|
@ -33,7 +33,7 @@ export default { |
|
|
// this.columnCopy = JSON.parse(JSON.stringify(this.columnList)) |
|
|
// this.columnCopy = JSON.parse(JSON.stringify(this.columnList)) |
|
|
this.columnCopy = [] |
|
|
this.columnCopy = [] |
|
|
this.columnList.forEach(item=>{ |
|
|
this.columnList.forEach(item=>{ |
|
|
let _item = JSON.parse(JSON.stringify(item)) |
|
|
let _item = Object.assign({}, item) |
|
|
if(item.hide){ |
|
|
if(item.hide){ |
|
|
_item.hide = true |
|
|
_item.hide = true |
|
|
}else{ |
|
|
}else{ |
|
@ -58,6 +58,32 @@ export default { |
|
|
.columnFilterList{ |
|
|
.columnFilterList{ |
|
|
margin:0; |
|
|
margin:0; |
|
|
padding:0; |
|
|
padding:0; |
|
|
|
|
|
max-height:calc(100vh - 200px); |
|
|
|
|
|
overflow:auto; |
|
|
|
|
|
|
|
|
|
|
|
/* 滚动条 */ |
|
|
|
|
|
&::-webkit-scrollbar { |
|
|
|
|
|
width: 5px; |
|
|
|
|
|
height: 5px; |
|
|
|
|
|
background: transparent; |
|
|
|
|
|
border-radius: 5px; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* 内层轨道,它会覆盖外层轨道的样式 */ |
|
|
|
|
|
&::-webkit-scrollbar-track-piece { |
|
|
|
|
|
// background-color: #f3f3f3; |
|
|
|
|
|
height: 5px; |
|
|
|
|
|
width: 5px; |
|
|
|
|
|
margin: 0 -2px 0; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* 滑块 */ |
|
|
|
|
|
&::-webkit-scrollbar-thumb { |
|
|
|
|
|
background-color: #ccc; |
|
|
|
|
|
min-height: 60px; |
|
|
|
|
|
min-width: 60px; |
|
|
|
|
|
border-radius: 5px; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
li{ |
|
|
li{ |
|
|
display:flex; |
|
|
display:flex; |
|
|