Commit a2d36d2131eeddfcf80a6cc7e30ddc0d0b5a7f26
1 parent
e71a795e
update Upload Icons
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
src/components/upload/upload-list.vue
| @@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
| 8 | <Icon :type="format(file)"></Icon> {{ file.name }} | 8 | <Icon :type="format(file)"></Icon> {{ file.name }} |
| 9 | </span> | 9 | </span> |
| 10 | <Icon | 10 | <Icon |
| 11 | - type="ios-close-empty" | 11 | + type="ios-close" |
| 12 | :class="[prefixCls + '-list-remove']" | 12 | :class="[prefixCls + '-list-remove']" |
| 13 | v-show="file.status === 'finished'" | 13 | v-show="file.status === 'finished'" |
| 14 | @click.native="handleRemove(file)"></Icon> | 14 | @click.native="handleRemove(file)"></Icon> |
| @@ -63,10 +63,10 @@ | @@ -63,10 +63,10 @@ | ||
| 63 | }, | 63 | }, |
| 64 | format (file) { | 64 | format (file) { |
| 65 | const format = file.name.split('.').pop().toLocaleLowerCase() || ''; | 65 | const format = file.name.split('.').pop().toLocaleLowerCase() || ''; |
| 66 | - let type = 'document'; | 66 | + let type = 'ios-document-outline'; |
| 67 | 67 | ||
| 68 | if (['gif','jpg','jpeg','png','bmp','webp'].indexOf(format) > -1) { | 68 | if (['gif','jpg','jpeg','png','bmp','webp'].indexOf(format) > -1) { |
| 69 | - type = 'image'; | 69 | + type = 'ios-image'; |
| 70 | } | 70 | } |
| 71 | if (['mp4','m3u8','rmvb','avi','swf','3gp','mkv','flv'].indexOf(format) > -1) { | 71 | if (['mp4','m3u8','rmvb','avi','swf','3gp','mkv','flv'].indexOf(format) > -1) { |
| 72 | type = 'ios-film'; | 72 | type = 'ios-film'; |
| @@ -75,10 +75,10 @@ | @@ -75,10 +75,10 @@ | ||
| 75 | type = 'ios-musical-notes'; | 75 | type = 'ios-musical-notes'; |
| 76 | } | 76 | } |
| 77 | if (['doc','txt','docx','pages','epub','pdf'].indexOf(format) > -1) { | 77 | if (['doc','txt','docx','pages','epub','pdf'].indexOf(format) > -1) { |
| 78 | - type = 'document-text'; | 78 | + type = 'md-document'; |
| 79 | } | 79 | } |
| 80 | if (['numbers','csv','xls','xlsx'].indexOf(format) > -1) { | 80 | if (['numbers','csv','xls','xlsx'].indexOf(format) > -1) { |
| 81 | - type = 'stats-bars'; | 81 | + type = 'ios-stats'; |
| 82 | } | 82 | } |
| 83 | if (['keynote','ppt','pptx'].indexOf(format) > -1) { | 83 | if (['keynote','ppt','pptx'].indexOf(format) > -1) { |
| 84 | type = 'ios-videocam'; | 84 | type = 'ios-videocam'; |