diff --git a/src/components/ShowFile/SelectFile.vue b/src/components/ShowFile/SelectFile.vue index 13a4674..c9da944 100644 --- a/src/components/ShowFile/SelectFile.vue +++ b/src/components/ShowFile/SelectFile.vue @@ -95,4 +95,9 @@ export default { background: linear-gradient(rgba(255,255,255,0), #fff); } } +@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 cc3486d..37a137c 100644 --- a/src/components/ShowFile/ShowFile.vue +++ b/src/components/ShowFile/ShowFile.vue @@ -1067,6 +1067,9 @@ export default { this.gridColumnNum = this.queryFileType === 'image' ? Math.round(clientWidth / 100 - 5) : Math.round(clientWidth / 100 - 4) } else { this.gridColumnNum = this.queryFileType === 'image' ? Math.round(clientWidth / 100 - 3) : Math.round(clientWidth / 100 - 2) + if(clientWidth < 768){ + this.gridColumnNum = 2 + } } if(clientWidth < 900){ this.showUpdateDateItem = false diff --git a/src/components/table/TableList.vue b/src/components/table/TableList.vue index 46bc05b..ce53645 100644 --- a/src/components/table/TableList.vue +++ b/src/components/table/TableList.vue @@ -2,6 +2,7 @@