TopToolbarPopup.wxss
1.29 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/* components/TopToolbarPopup/TopToolbarPopup.wxss */
.popup {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 998;
transform: translateZ(2px);
}
.popup-bg {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background-color: rgba(0, 0, 0, .6);
}
.popup-content {
position: absolute;
left: 0;
width: 100%;
background: #FFFFFF;
border-radius: var(--fontSize20) var(--fontSize20) 0 0;
animation: show-popup .5s forwards;
box-sizing: border-box;
padding: 0 var(--fontSize40);
display: flex;
flex-direction: column;
}
.popup-header {
height: var(--fontSize112);
display: flex;
align-items: center;
justify-content: space-between;
/* border-bottom: var(--fontSize2) solid #EBEDF0; */
flex-shrink: 0;
}
.popup-header .title {
font-size: var(--fontSize34);
color: #333333;
font-weight: bold;
}
.popup-header .action-btn {
font-size: var(--fontSize32);
padding: 0 var(--fontSize10);
}
.popup-header .cancel {
color: #666666;
}
.popup-header .confirm {
color: #2C66F7;
}
.popup-slot {
flex: 1;
overflow-y: auto;
/* height: calc(100% - var(--fontSize98)); */
}
.popup-slot.isFullSucreen {
padding-bottom: var(--fontSize68);
}
@keyframes show-popup {
0% {
bottom: -100%;
}
100% {
bottom: 0;
}
}