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 @@ > - +