[new feature] Uploader: support delete preview image

This commit is contained in:
陈嘉涵
2019-06-11 20:07:10 +08:00
parent 46983d8376
commit eb311d80d9
7 changed files with 123 additions and 19 deletions
+16 -2
View File
@@ -50,8 +50,22 @@
}
&__preview {
width: @uploader-size;
height: @uploader-size;
position: relative;
margin: 0 10px 10px 0;
&-image {
display: block;
width: @uploader-size;
height: @uploader-size;
}
&-delete {
position: absolute;
right: 0;
bottom: 0;
padding: 1px;
color: @uploader-delete-color;
background-color: @uploader-delete-background-color;
}
}
}