alert.wxss
620 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.modal-mask {
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
background: #000;
opacity: 0.5;
overflow: hidden;
z-index: 9000;
}
.modal-dialog {
height: 400rpx;
width: 540rpx;
overflow: hidden;
position: fixed;
top: 40%;
left: 50%;
margin-right: -50%;
transform: translate(-50%, -50%);
z-index: 9999;
background: white;
border-radius: 20rpx;
overflow: visible;
}
.modal-icon {
position: absolute;
height: 138rpx;
width: 138rpx;
border: #000 2rpx solid;
border-radius: 70rpx;
background-color: white;
left: 50%;
transform: translate(-50%, -42%);
}