<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<style>
.wrap {
background-color: red;
}
.dialog {
position: fixed;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
z-index: 9999;
background: rgba(0, 0, 0, 0.5);
-webkit-box-pack: center;
-webkit-box-align: center;
display: none;
}
.dialogContent {
border-radius: 8px;
width: 280px;
pointer-events: auto;
background-color: #FFFFFF;
color: #333333;
}
.text {
min-height: 56px;
padding: 30px 0 25px 0;
}
p {
font-size: 16px;
width: auto;
margin: 2px auto;
text-align: center;
}
.foot {
height: 50px;
box-shadow: 0 -1px 0 0 #E5E5E5;
border-radius: 0 0 8px 8px;
}
button {
font-size: 16px;
text-align: center;
width: 100%;
line-height: 50px;
display: block;
margin: 0;
-webkit-box-flex: 1;
-webkit-appearance: none;
border: 0;
background: none;
}
.show {
display: -webkit-box;
}
</style>
<body>
<div class="wrap">
手搓H5弹窗
<div class="dialog show">
<!-- <div class="dialog"> -->
<div class="dialogContent">
<div class="text">
<p>
您的信息正在审核中<br>
请耐心等待
</p>
</div>
<div class="foot">
<button type="button" data-role="button" class="btn-recommand">确定</button>
</div>
</div>
</div>
</div>
</body>
</html>
效果如图