Modal.scss
1.12 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/* components/Modal/Modal.wxss */
.popup {
position: fixed;
width: 100vw;
height: 100vh;
top: 0;
left: 0;
z-index: 998;
&-bg {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background: #00000080;
}
.modal-box {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 622rpx;
min-height: 404rpx;
border-radius: 20rpx;
background: #ffffff;
display: flex;
flex-direction: column;
.footer-box {
height: 144rpx;
margin-top: auto;
display: flex;
align-items: center;
justify-content: center;
gap: 0 24rpx;
.btn {
width: 251rpx;
height: 80rpx;
display: flex;
align-items: center;
justify-content: center;
font-size: 32rpx;
border-radius: 8rpx;
margin: 0 !important;
}
.cancel {
background: #f4f6f7;
color: #222222;
}
.confirm {
background: var(--themeColor);
color: #fff;
}
}
}
}