Js
function showbatchbuy(pid){
$("#p"+pid).show();
clearTimeout(batchbuy);
}
function hidebatchbuy(pid){
batchbuy = setTimeout(function(){
$("#p"+pid).hide();
},500);
}
触发的
onmouseover="showbatchbuy({$item.id});" onmouseout="hidebatchbuy({$item.id});"
层上面的
onmousemove="showbatchbuy({$item.id});" onmouseout="hidebatchbuy({$item.id});"
留下你的看法: