Commit 5d6a7b6f authored by Leopoldthecoder's avatar Leopoldthecoder Committed by 杨奕

Upload: fix icons in list type

parent 0cca820d
......@@ -330,7 +330,12 @@
font-size: 20px;
background-color: rgba(0, 0, 0, .5);
transition: opacity .3s;
@include utils-vertical-center;
&::after {
display: inline-block;
content: "";
height: 100%;
vertical-align: middle
}
span {
display: none;
......
......@@ -41,20 +41,20 @@
:stroke-width="listType === 'picture-card' ? 6 : 2"
:percentage="parsePercentage(file.percentage)">
</el-progress>
<span class="el-upload-list__item-actions" v-if="listType === 'picture-card'">
<span class="el-upload-list__item-actions" v-if="listType === 'picture-card'">
<span
class="el-upload-list__item-preview"
v-if="handlePreview && listType === 'picture-card'"
@click="handlePreview(file)"
>
<i class="el-icon-view"></i>
<i class="el-icon-zoom-in"></i>
</span>
<span
v-if="!disabled"
class="el-upload-list__item-delete"
@click="$emit('remove', file)"
>
<i class="el-icon-delete2"></i>
<i class="el-icon-delete"></i>
</span>
</span>
</li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment