$(".black").click(function(){
$(".winning-records").hide();
$(this).hide();
return false;
})
$(".winning-records").click(function(){
return false;
})
<!-- 遮罩层 -->
<div class="black">
<!-- 获奖记录 -->
<div class="winning-records">
</div>
</div>
.black{
background: rgba(0,0,0,0.7);
position:fixed;
left: 0;
top: 0;
z-index: 100;
width: 100%;
height: 100%;
}
/*获奖记录*/
.winning-records{
background: url(../images/winning-records.png) no-repeat;
width: 5.99rem;
background-size: 100%;
height: 6rem;
position: fixed;
top: 50%;
z-index: 111;
margin-top: -3rem;
margin-left: -3rem;
left: 50%;
}