From ef38ad3565b0d01fd1ce8495c0ae48fb8a0e240c Mon Sep 17 00:00:00 2001 From: jmal Date: Sat, 16 Jan 2021 22:51:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=9A=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E9=80=82=E9=85=8D=E7=A7=BB=E5=8A=A8=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ShowFile/SelectFile.vue | 5 ++++ src/components/ShowFile/ShowFile.vue | 3 +++ src/components/table/TableList.vue | 33 +++++++++++++++++++++--- src/layout/components/Navbar.vue | 23 ++++++++++------- src/layout/index.vue | 4 +-- src/styles/home-index.scss | 8 ++++++ src/styles/index.scss | 14 +++++----- src/styles/setting.scss | 16 +++++++++++- src/utils/iconfont-find.js | 8 +++--- src/views/setting/cloudManager.vue | 7 ++--- src/views/setting/sys/cusomerInfo.vue | 11 ++++++++ src/views/setting/sys/cusomerManager.vue | 9 +++---- src/views/setting/sys/menuManager.vue | 14 +++++++--- src/views/setting/sys/roleManager.vue | 8 +++--- 14 files changed, 119 insertions(+), 44 deletions(-) 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 @@