修改:选择文件控件样式

This commit is contained in:
jmal 2021-01-16 23:29:09 +08:00
parent ef38ad3565
commit c82a7b91d3
4 changed files with 8 additions and 6 deletions

View File

@ -95,6 +95,9 @@ export default {
background: linear-gradient(rgba(255,255,255,0), #fff); background: linear-gradient(rgba(255,255,255,0), #fff);
} }
} }
/deep/ .share-empty {
padding-bottom: 20%;
}
@media screen and (max-width: 768px) { @media screen and (max-width: 768px) {
/deep/ .el-dialog { /deep/ .el-dialog {
width: 100% !important; width: 100% !important;

View File

@ -1068,6 +1068,9 @@ export default {
} else { } else {
this.gridColumnNum = this.queryFileType === 'image' ? Math.round(clientWidth / 100 - 3) : Math.round(clientWidth / 100 - 2) this.gridColumnNum = this.queryFileType === 'image' ? Math.round(clientWidth / 100 - 3) : Math.round(clientWidth / 100 - 2)
if(clientWidth < 768){ if(clientWidth < 768){
this.gridColumnNum = 3
}
if(clientWidth < 450){
this.gridColumnNum = 2 this.gridColumnNum = 2
} }
} }

View File

@ -335,7 +335,7 @@
} }
} }
/deep/ .grid-time:hover { /deep/ .grid-time:hover {
border: solid 1px #409eff; border: solid 1px #c8c9cc;
cursor: pointer; cursor: pointer;
} }
.checkbox-group-header { .checkbox-group-header {
@ -383,6 +383,7 @@
.select-operation-button { .select-operation-button {
margin-top: 5px; margin-top: 5px;
padding: 10px; padding: 10px;
margin-left: 0;
} }
} }
@media screen and (max-width: 768px) { @media screen and (max-width: 768px) {

View File

@ -234,11 +234,6 @@ export default {
}, },
// 保存分配权限 // 保存分配权限
saveAuth() { saveAuth() {
const nodeArray = Array.from(document.querySelectorAll('.block-icon-list .icon-item .icon-code.icon-code-show'));
const names = nodeArray.map(item => item.outerText)
console.log(names)
this.form.menuIds = this.$refs.authTree.getCheckedKeys() this.form.menuIds = this.$refs.authTree.getCheckedKeys()
this.updateRole(this.setFormData()) this.updateRole(this.setFormData())
}, },