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
+12 -1
View File
@@ -30,10 +30,21 @@
-webkit-user-drag: none; -webkit-user-drag: none;
} }
.van-image__loading { .van-image {
&__error {
top: 30%;
height: 40%;
}
&__error-icon {
font-size: 36px;
}
&__loading {
background-color: transparent; background-color: transparent;
} }
} }
}
&__index { &__index {
position: absolute; position: absolute;