html img图片设置默认图片
作者:互联网
css里设置
img {
position: relative;
z-index: 2;
}
.lazyload-default{
z-index: 1;
}
<img class="lazy lazyload lazyload-default" src="../../assets/image/img-default.png"/>
<img class="lazy lazyload" :src="item.image_vertical" onl oad="javascript:this.style='display:block';" style="display: none;"/>
标签:index,设置,img,default,html,lazyload,图片 来源: https://www.cnblogs.com/anans/p/15203126.html