// 点击空白关闭弹窗
$(document).mouseup(function(e) {
var pop = $(".timesediv");//非空白的元素
if (!pop.is(e.target) && pop.has(e.target).length === 0) {
//自定义操作
$(".vacations").css("display","none");
}
});
网友评论