diff --git a/src/components/ShowFile/SelectFile.vue b/src/components/ShowFile/SelectFile.vue index c9da944..030f743 100644 --- a/src/components/ShowFile/SelectFile.vue +++ b/src/components/ShowFile/SelectFile.vue @@ -95,6 +95,9 @@ export default { background: linear-gradient(rgba(255,255,255,0), #fff); } } +/deep/ .share-empty { + padding-bottom: 20%; +} @media screen and (max-width: 768px) { /deep/ .el-dialog { width: 100% !important; diff --git a/src/components/ShowFile/ShowFile.vue b/src/components/ShowFile/ShowFile.vue index 37a137c..4aca2a8 100644 --- a/src/components/ShowFile/ShowFile.vue +++ b/src/components/ShowFile/ShowFile.vue @@ -1068,6 +1068,9 @@ export default { } else { this.gridColumnNum = this.queryFileType === 'image' ? Math.round(clientWidth / 100 - 3) : Math.round(clientWidth / 100 - 2) if(clientWidth < 768){ + this.gridColumnNum = 3 + } + if(clientWidth < 450){ this.gridColumnNum = 2 } } diff --git a/src/styles/home-index.scss b/src/styles/home-index.scss index 56a57f0..5151ade 100644 --- a/src/styles/home-index.scss +++ b/src/styles/home-index.scss @@ -335,7 +335,7 @@ } } /deep/ .grid-time:hover { - border: solid 1px #409eff; + border: solid 1px #c8c9cc; cursor: pointer; } .checkbox-group-header { @@ -383,6 +383,7 @@ .select-operation-button { margin-top: 5px; padding: 10px; + margin-left: 0; } } @media screen and (max-width: 768px) { diff --git a/src/views/setting/sys/roleManager.vue b/src/views/setting/sys/roleManager.vue index 81c02c4..6e0eab1 100644 --- a/src/views/setting/sys/roleManager.vue +++ b/src/views/setting/sys/roleManager.vue @@ -234,11 +234,6 @@ export default { }, // 保存分配权限 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.updateRole(this.setFormData()) },