<img src="" class="img1"> 动态更改图片地址 $(".img1").attr("src","newsrc"); 转载于:https://www.cnblogs.com/41uLove/p/5671739.html