[new feature] Uploader: add default style & upload-text prop

This commit is contained in:
陈嘉涵
2019-05-27 20:50:40 +08:00
parent d2a6a692c5
commit c0e2ce200e
8 changed files with 92 additions and 83 deletions
+23
View File
@@ -14,4 +14,27 @@
cursor: pointer;
opacity: 0;
}
&__upload {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-sizing: border-box;
width: 80px;
height: 80px;
background-color: @white;
border: 1px dashed @gray-light;
&-icon {
color: @gray-dark;
font-size: 24px;
}
&-text {
margin-top: 10px;
color: @gray-dark;
font-size: 12px;
}
}
}