Popup.wxss
2.84 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
/* tabWorkOrder/pages/createOrder/createOrderComponents/Popup/Popup.wxss */
.popup {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 99999 !important;
transform: translateZ(2px);
}
.popup-bg {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background-color: rgba(0, 0, 0, .6);
}
.text-center {
display: flex;
align-items: center;
justify-content: center;
}
.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(--fontSize32);
}
.popup-title {
height: var(--fontSize98);
font-size: var(--fontSize32);
color: #333333;
border-bottom: var(--fontSize2) solid #EBEDF0;
}
.popup-title--closable {
position: relative;
}
.close {
position: absolute;
right: 0;
top: 50%;
height: 100%;
width: var(--fontSize100);
transform: translateY(-50%);
}
.close-image {
position: absolute;
top: 50%;
right: 0;
transform: translateY(-50%);
width: var(--fontSize24);
height: var(--fontSize24);
}
.popup-slot-other {
height: calc(100% - var(--fontSize200) - var(--fontSize71));
overflow: scroll;
}
/* 原 tipsPopup:无 footer,slot 带内边距 */
.popup-slot--noneFooter {
height: calc(100% - var(--fontSize200));
padding: var(--fontSize50) var(--fontSize40);
box-sizing: border-box;
}
.popup-content .tips {
color: #999;
font-size: var(--fontSize24);
margin-bottom: var(--fontSize40);
}
/* 原 tabPopup:footer 按钮样式 */
.popup-footer--tips .btn {
font-size: var(--fontSize28);
}
.popup-footer--tips .cancel {
color: #323233;
border: var(--fontSize2) solid #DCDEE0;
background: transparent;
}
.popup-footer--hidden {
display: none;
}
.confirm--full {
width: 100% !important;
}
.popup-slot {
height: calc(100% - var(--fontSize214));
}
.popup-slot.isFullSucreen {
height: calc(100% - var(--fontSize282));
}
.popup-slot.isFullSucreen-notitle {
height: calc(100% - var(--fontSize184));
}
.popup-footer {
display: flex;
align-items: center;
justify-content: space-between;
padding: var(--fontSize20) 0;
}
.popup-footer.isFullSucreen {
padding-bottom: var(--fontSize68) !important;
}
.popup-footer .btn {
width: var(--fontSize330);
height: var(--fontSize80);
box-sizing: border-box;
border-radius: var(--fontSize12);
font-size: var(--fontSize32);
}
.popup-footer .cancel {
/* color: #323233;
border: var(--fontSize2) solid #DCDEE0; */
color: #292D33;
background: #F7F8FA;
}
.popup-footer .confirm {
background: #347BFF;
color: #fff;
}
@keyframes show-popup {
0% {
bottom: -100%;
}
100% {
bottom: 0;
}
}