From f05c8423a6c502c4e2d00f8b0a04d2e60003f4ff Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Wed, 10 Jan 2024 09:51:29 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=84=E4=BB=B6=E6=A0=B7=E5=BC=8F=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/yxk-admin.scss | 39 +++++++++++++++++++ .../managementLibrary/file/index.vue | 24 ++++++++++-- .../module/uploadFile/index.vue | 36 ++++++++++++++--- .../collectReorganizi/batchPaper/index.vue | 4 +- .../collectionLibrary/file/index.vue | 38 ------------------ .../module/archivesInfo/index.vue | 4 ++ .../module/uploadFile/index.vue | 35 ++++++++++++++--- 7 files changed, 125 insertions(+), 55 deletions(-) diff --git a/src/assets/styles/yxk-admin.scss b/src/assets/styles/yxk-admin.scss index a7771ee..426d1de 100644 --- a/src/assets/styles/yxk-admin.scss +++ b/src/assets/styles/yxk-admin.scss @@ -2006,4 +2006,43 @@ input[type ='number'] { } .vue-treeselect--disabled .vue-treeselect__single-value{ color: #c0c4cc !important; +} + +.fileIcon{ + display: block; + width: 32px; + height: 32px; + margin: 0 auto; + &.icon-image{ + background: url("~@/assets/images/fileIcon/image.png") no-repeat; + background-size: 100% 100%; + } + &.icon-excel{ + background: url("~@/assets/images/fileIcon/excel.png") no-repeat; + background-size: 100% 100%; + } + &.icon-pdf{ + background: url("~@/assets/images/fileIcon/pdf.png") no-repeat; + background-size: 100% 100%; + } + &.icon-ppt{ + background: url("~@/assets/images/fileIcon/ppt.png") no-repeat; + background-size: 100% 100%; + } + &.icon-word{ + background: url("~@/assets/images/fileIcon/word.png") no-repeat; + background-size: 100% 100%; + } + &.icon-zip{ + background: url("~@/assets/images/fileIcon/zip.png") no-repeat; + background-size: 100% 100%; + } + &.icon-txt{ + background: url("~@/assets/images/fileIcon/txt.png") no-repeat; + background-size: 100% 100%; + } + &.icon-other{ + background: url("~@/assets/images/fileIcon/attachment.png") no-repeat; + background-size: 100% 100%; + } } \ No newline at end of file diff --git a/src/views/archivesManage/managementLibrary/file/index.vue b/src/views/archivesManage/managementLibrary/file/index.vue index 253798f..fdb6cd9 100644 --- a/src/views/archivesManage/managementLibrary/file/index.vue +++ b/src/views/archivesManage/managementLibrary/file/index.vue @@ -31,7 +31,7 @@ > - +