<script type="text/javascript"> 
$(".news_con_col").mouseover(function(){ 
$(this).find(".bg-hover").show();
});

$(".news_con_col").mouseout(function(){
$(this).find(".bg-hover").hide();
});
</script>

用find查找所需要的class属性更好,感谢刘同学的指导,么么哒~

相关文章:

  • 2022-12-23
  • 2021-10-23
  • 2021-08-04
  • 2021-08-29
  • 2022-12-23
  • 2022-12-23
  • 2021-11-19
猜你喜欢
  • 2022-01-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-12
  • 2022-12-23
相关资源
相似解决方案