展开全部
.onwindow {
position: fixed;
top: 43%;
left: 43%;
z-index: 99;
width: 250px;
height: 135px;
background-color: rgba(255,255,255,1);
display:none;
border:2px solid red;
border-radius:15px;
padding:10px;
}
.plank {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(255,255,255,0.8);
width: 100%;
display: none;
}
<div class="onwindow">//显示窗口
<image>...........
</div>
<div class="plank"></div>//背景
var hide =()=>{$(".onwindow").hide();$(".plank").hide();}
var show =()=>{$(".onwindow").show();$(".plank").show();}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询