Browse Source

fit: 附件名称

master
pengwei 2 months ago
parent
commit
65be5f0769
  1. 6
      src/components/file/list.vue

6
src/components/file/list.vue

@ -24,8 +24,8 @@
> >
<icon name="el-icon-CircleCloseFilled" :size="20" /> <icon name="el-icon-CircleCloseFilled" :size="20" />
</a> </a>
</template>
</template>
<div <div
class="item flex end v-center column text-center" class="item flex end v-center column text-center"
:title="item.fileName" :title="item.fileName"
@ -33,6 +33,7 @@
v-else v-else
> >
<icon :name="getIconName(item.fileName)" :size="40" /> <icon :name="getIconName(item.fileName)" :size="40" />
<span class="filename"> {{ item.fileName }}</span> <span class="filename"> {{ item.fileName }}</span>
<a <a
class="remove-btn" class="remove-btn"
@ -41,6 +42,7 @@
> >
<icon name="el-icon-CircleCloseFilled" :size="16" /> <icon name="el-icon-CircleCloseFilled" :size="16" />
</a> </a>
</div> </div>
</div> </div>
</div> </div>
@ -349,7 +351,7 @@ function rotateRight() {
margin: 2px; margin: 2px;
.item { .item {
width: 80px; width: 80px;
height: 80px; height: 120px;
margin-bottom: 12px; margin-bottom: 12px;
border-radius: 2px; border-radius: 2px;
color: var(--primary-color); color: var(--primary-color);

Loading…
Cancel
Save