From a2d36d2131eeddfcf80a6cc7e30ddc0d0b5a7f26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=81=8F?= Date: Mon, 25 Jun 2018 14:37:29 +0800 Subject: [PATCH] update Upload Icons --- src/components/upload/upload-list.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/upload/upload-list.vue b/src/components/upload/upload-list.vue index c03cd748..dafc0051 100644 --- a/src/components/upload/upload-list.vue +++ b/src/components/upload/upload-list.vue @@ -8,7 +8,7 @@ {{ file.name }} @@ -63,10 +63,10 @@ }, format (file) { const format = file.name.split('.').pop().toLocaleLowerCase() || ''; - let type = 'document'; + let type = 'ios-document-outline'; if (['gif','jpg','jpeg','png','bmp','webp'].indexOf(format) > -1) { - type = 'image'; + type = 'ios-image'; } if (['mp4','m3u8','rmvb','avi','swf','3gp','mkv','flv'].indexOf(format) > -1) { type = 'ios-film'; @@ -75,10 +75,10 @@ type = 'ios-musical-notes'; } if (['doc','txt','docx','pages','epub','pdf'].indexOf(format) > -1) { - type = 'document-text'; + type = 'md-document'; } if (['numbers','csv','xls','xlsx'].indexOf(format) > -1) { - type = 'stats-bars'; + type = 'ios-stats'; } if (['keynote','ppt','pptx'].indexOf(format) > -1) { type = 'ios-videocam';