<div class='pinter'>
<div name='st'>
<img src="xxxxxxx">
<img src="xxxxxxx">
<img src="xxxxxxx">
</div>
</div>
<div class='pinter'>
<div name='st'>
<img src="xxxxxxx">
<img src="xxxxxxx">
<img src="xxxxxxx">
</div>
</div>
$.each($(".pinter"),function(){
//获取当前对象下的所有img 的src
})
$.each($(".pinter"),function(i,e){
var imgs=$(e).find("img");
})
$(".pinter img").each(function(){
console.log($(this).attr("src"));
});
element.getElementsByTagName("img")
参考可以https://www.cnblogs.com/roseAT/p/9967192.html