if($(".hotcar").is(":hidden")){
//当前是hide状态
alert("当前是hide状态");
if($("#mark").html()=="收起"){
$('#mark').html("加载更多经销商");
$('#show>img').attr("src","images/hotcar_arrow05.png");
}
}else{
//当前是show状态
}
转载于:https://my.oschina.net/hehongbo/blog/719420