mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-23 15:09:16 +08:00
feat(ImagePreview): improve error image style (#5570)
This commit is contained in:
parent
2047db68d9
commit
17d46a71ca
@ -30,8 +30,19 @@
|
|||||||
-webkit-user-drag: none;
|
-webkit-user-drag: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.van-image__loading {
|
.van-image {
|
||||||
background-color: transparent;
|
&__error {
|
||||||
|
top: 30%;
|
||||||
|
height: 40%;
|
||||||
|
}
|
||||||
|
|
||||||
|
&__error-icon {
|
||||||
|
font-size: 36px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&__loading {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user