feat(ImagePreview): improve error image style (#5570)

This commit is contained in:
neverland 2020-01-14 11:11:09 +08:00 committed by GitHub
parent 2047db68d9
commit 17d46a71ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,10 +30,21 @@
-webkit-user-drag: none;
}
.van-image__loading {
.van-image {
&__error {
top: 30%;
height: 40%;
}
&__error-icon {
font-size: 36px;
}
&__loading {
background-color: transparent;
}
}
}
&__index {
position: absolute;