From dd2c1c186d4a610aa9a3788f09811303ee5c94a5 Mon Sep 17 00:00:00 2001 From: Dan Date: Wed, 14 Jul 2021 17:56:06 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E9=83=A8=E5=88=86=E9=9F=B3=E4=B9=90=E6=96=87=E4=BB=B6=E7=B1=BB?= =?UTF-8?q?=E5=9E=8Bicon=E8=AF=86=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/utils.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/utils.js b/src/utils/utils.js index d9bbccf..cfdf389 100644 --- a/src/utils/utils.js +++ b/src/utils/utils.js @@ -165,6 +165,8 @@ const typeToSvg = { 'application/rdf+xml': 'file', 'video/x-ms-wvx': 'file', 'audio/mpeg': 'file-list-audio', + 'audio/mp3': 'file-list-audio', + 'audio/x-m4a': 'file-list-audio', 'video/x-ms-wmv': 'file-list-video', 'application/vnd.oasis.opendocument.text': 'file', 'application/x-bcpio': 'file', -- Gitee From af0b8c57549c20915b793c843d3c8c66f26e6edc Mon Sep 17 00:00:00 2001 From: Dan Date: Thu, 15 Jul 2021 10:39:55 +0800 Subject: [PATCH 2/6] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=AF=B9sh=E6=96=87=E4=BB=B6=E7=B1=BB=E5=9E=8B=E7=9A=84icon?= =?UTF-8?q?=E8=AF=86=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/utils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/utils.js b/src/utils/utils.js index cfdf389..7bc5f3f 100644 --- a/src/utils/utils.js +++ b/src/utils/utils.js @@ -61,6 +61,7 @@ const typeToSvg = { 'audio/amr': 'file-list-audio', 'application/mathml+xml': 'file', 'text/html': 'file-list-html', + 'text/x-sh': 'file-list-html', 'message/rfc822': 'file-list-html', 'multipart/related': 'file-list-html', 'application/x-iso9660-image': 'file-list-cd', -- Gitee From bc4eae39c392902babe24f9feb1bbf45dc3d861e Mon Sep 17 00:00:00 2001 From: Dan Date: Tue, 20 Jul 2021 16:38:21 +0800 Subject: [PATCH 3/6] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E6=9C=AA=E7=99=BB=E5=BD=95=E6=97=B6=E4=B8=8B=E8=BD=BD=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=BC=B9=E5=87=BA=E7=99=BB=E5=BD=95model?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/file/index.vue | 57 ++++++++++++++++++++++++++-- src/views/login/index.vue | 17 ++++++++- src/views/share/share-list.vue | 68 +++++++++++++++++++++++++++++++--- 3 files changed, 133 insertions(+), 9 deletions(-) diff --git a/src/views/file/index.vue b/src/views/file/index.vue index 04cdf91..78618f7 100644 --- a/src/views/file/index.vue +++ b/src/views/file/index.vue @@ -91,12 +91,19 @@ + + + + +