@dcloudio/uni-h5 0.0.1-nvue3.3030820220125001
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/dist/uni-h5.cjs.js +11031 -0
- package/dist/uni-h5.es.js +21991 -0
- package/dist/uni.compiler.js +11 -0
- package/lib/automator.js +15 -0
- package/lib/uni.automator.js +1 -0
- package/package.json +52 -0
- package/style/ad-content-page.css +8 -0
- package/style/ad-draw.css +8 -0
- package/style/ad.css +8 -0
- package/style/api/action-sheet.css +108 -0
- package/style/api/location-picker.css +220 -0
- package/style/api/location-view.css +133 -0
- package/style/api/modal.css +131 -0
- package/style/api/toast.css +84 -0
- package/style/camera.css +8 -0
- package/style/cover-image.css +33 -0
- package/style/cover-view.css +29 -0
- package/style/framework/async.css +21 -0
- package/style/framework/base.css +85 -0
- package/style/framework/layout.css +56 -0
- package/style/framework/nvue.css +57 -0
- package/style/framework/pageHead.css +248 -0
- package/style/framework/pageRefresh.css +88 -0
- package/style/framework/shadow.css +17 -0
- package/style/framework/tabBar.css +159 -0
- package/style/live-player.css +8 -0
- package/style/live-pusher.css +8 -0
- package/style/map.css +10 -0
- package/style/picker.css +205 -0
- package/style/video.css +315 -0
- package/style/web-view.css +7 -0
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
uni-page-head {
|
|
2
|
+
display: block;
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.uni-page-head {
|
|
7
|
+
position: fixed;
|
|
8
|
+
left: var(--window-left);
|
|
9
|
+
right: var(--window-right);
|
|
10
|
+
height: 44px;
|
|
11
|
+
height: calc(44px + constant(safe-area-inset-top));
|
|
12
|
+
height: calc(44px + env(safe-area-inset-top));
|
|
13
|
+
padding: 7px 3px;
|
|
14
|
+
padding-top: calc(7px + constant(safe-area-inset-top));
|
|
15
|
+
padding-top: calc(7px + env(safe-area-inset-top));
|
|
16
|
+
display: flex;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
justify-content: space-between;
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
z-index: 998;
|
|
21
|
+
color: #fff;
|
|
22
|
+
background-color: #000;
|
|
23
|
+
transition-property: all;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.uni-page-head * {
|
|
27
|
+
box-sizing: border-box;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.uni-page-head .uni-btn-icon {
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
min-width: 1em;
|
|
33
|
+
font-style: normal;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.uni-page-head-titlePenetrate,
|
|
37
|
+
.uni-page-head-titlePenetrate .uni-page-head-bd,
|
|
38
|
+
.uni-page-head-titlePenetrate .uni-page-head-bd * {
|
|
39
|
+
pointer-events: none;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.uni-page-head-titlePenetrate * {
|
|
43
|
+
pointer-events: auto;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.uni-page-head.uni-page-head-transparent .uni-page-head-ft > div {
|
|
47
|
+
justify-content: center;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.uni-page-head ~ .uni-placeholder {
|
|
51
|
+
width: 100%;
|
|
52
|
+
height: 44px;
|
|
53
|
+
height: calc(44px + constant(safe-area-inset-top));
|
|
54
|
+
height: calc(44px + env(safe-area-inset-top));
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.uni-placeholder-titlePenetrate {
|
|
58
|
+
pointer-events: none;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.uni-page-head-hd {
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
font-size: 16px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.uni-page-head-bd {
|
|
68
|
+
position: absolute;
|
|
69
|
+
left: 70px;
|
|
70
|
+
right: 70px;
|
|
71
|
+
min-width: 0;
|
|
72
|
+
user-select: auto;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.uni-page-head-btn {
|
|
76
|
+
position: relative;
|
|
77
|
+
width: auto;
|
|
78
|
+
margin: 0 2px;
|
|
79
|
+
word-break: keep-all;
|
|
80
|
+
white-space: pre;
|
|
81
|
+
cursor: pointer;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.uni-page-head-btn svg {
|
|
85
|
+
margin-top: -2px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.uni-page-head-transparent .uni-page-head-btn {
|
|
89
|
+
display: flex;
|
|
90
|
+
align-items: center;
|
|
91
|
+
width: 32px;
|
|
92
|
+
height: 32px;
|
|
93
|
+
border-radius: 50%;
|
|
94
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.uni-page-head-btn-red-dot::after {
|
|
98
|
+
content: attr(badge-text);
|
|
99
|
+
position: absolute;
|
|
100
|
+
right: 0;
|
|
101
|
+
top: 0;
|
|
102
|
+
background-color: red;
|
|
103
|
+
color: white;
|
|
104
|
+
width: 18px;
|
|
105
|
+
height: 18px;
|
|
106
|
+
line-height: 18px;
|
|
107
|
+
border-radius: 18px;
|
|
108
|
+
overflow: hidden;
|
|
109
|
+
transform: scale(0.5) translate(40%, -40%);
|
|
110
|
+
transform-origin: 100% 0;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.uni-page-head-btn-red-dot[badge-text]::after {
|
|
114
|
+
font-size: 12px;
|
|
115
|
+
width: auto;
|
|
116
|
+
min-width: 18px;
|
|
117
|
+
max-width: 42px;
|
|
118
|
+
text-align: center;
|
|
119
|
+
padding: 0 3px;
|
|
120
|
+
transform: scale(0.7) translate(40%, -40%);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.uni-page-head-btn-select > .uni-btn-icon::after {
|
|
124
|
+
display: inline-block;
|
|
125
|
+
font-family: 'unibtn';
|
|
126
|
+
content: '\e601';
|
|
127
|
+
margin-left: 2px;
|
|
128
|
+
transform: rotate(-90deg) scale(0.8);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.uni-page-head-search {
|
|
132
|
+
position: relative;
|
|
133
|
+
display: flex;
|
|
134
|
+
flex: 1;
|
|
135
|
+
margin: 0 2px;
|
|
136
|
+
line-height: 30px;
|
|
137
|
+
font-size: 15px;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.uni-page-head-search-input {
|
|
141
|
+
width: 100%;
|
|
142
|
+
height: 100%;
|
|
143
|
+
padding-left: 34px;
|
|
144
|
+
text-align: left;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.uni-page-head-search-placeholder {
|
|
148
|
+
position: absolute;
|
|
149
|
+
max-width: 100%;
|
|
150
|
+
height: 100%;
|
|
151
|
+
padding-left: 34px;
|
|
152
|
+
overflow: hidden;
|
|
153
|
+
word-break: keep-all;
|
|
154
|
+
white-space: pre;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.uni-page-head-search-placeholder-right {
|
|
158
|
+
right: 0;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.uni-page-head-search-placeholder-center {
|
|
162
|
+
left: 50%;
|
|
163
|
+
transform: translateX(-50%);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.uni-page-head-search-icon {
|
|
167
|
+
position: absolute;
|
|
168
|
+
top: 0;
|
|
169
|
+
left: 2px;
|
|
170
|
+
width: 30px;
|
|
171
|
+
height: 30px;
|
|
172
|
+
display: flex;
|
|
173
|
+
justify-content: center;
|
|
174
|
+
align-items: center;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.uni-page-head-ft {
|
|
178
|
+
display: flex;
|
|
179
|
+
align-items: center;
|
|
180
|
+
flex-direction: row-reverse;
|
|
181
|
+
font-size: 13px;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.uni-page-head__title {
|
|
185
|
+
font-weight: bold;
|
|
186
|
+
font-size: 16px;
|
|
187
|
+
line-height: 30px;
|
|
188
|
+
text-align: center;
|
|
189
|
+
overflow: hidden;
|
|
190
|
+
white-space: nowrap;
|
|
191
|
+
text-overflow: ellipsis;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.uni-page-head__title .uni-loading {
|
|
195
|
+
width: 16px;
|
|
196
|
+
height: 16px;
|
|
197
|
+
margin-top: -3px;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.uni-page-head__title .uni-page-head__title_image {
|
|
201
|
+
width: auto;
|
|
202
|
+
height: 26px;
|
|
203
|
+
vertical-align: middle;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.uni-page-head-shadow {
|
|
207
|
+
overflow: visible;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.uni-page-head-shadow::after {
|
|
211
|
+
content: '';
|
|
212
|
+
position: absolute;
|
|
213
|
+
left: 0;
|
|
214
|
+
right: 0;
|
|
215
|
+
top: 100%;
|
|
216
|
+
height: 5px;
|
|
217
|
+
background-size: 100% 100%;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.uni-page-head-shadow-grey::after {
|
|
221
|
+
background-image: url('https://cdn.dcloud.net.cn/img/shadow-grey.png');
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.uni-page-head-shadow-blue::after {
|
|
225
|
+
background-image: url('https://cdn.dcloud.net.cn/img/shadow-blue.png');
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.uni-page-head-shadow-green::after {
|
|
229
|
+
background-image: url('https://cdn.dcloud.net.cn/img/shadow-green.png');
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.uni-page-head-shadow-orange::after {
|
|
233
|
+
background-image: url('https://cdn.dcloud.net.cn/img/shadow-orange.png');
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.uni-page-head-shadow-red::after {
|
|
237
|
+
background-image: url('https://cdn.dcloud.net.cn/img/shadow-red.png');
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.uni-page-head-shadow-yellow::after {
|
|
241
|
+
background-image: url('https://cdn.dcloud.net.cn/img/shadow-yellow.png');
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
uni-page-head[uni-page-head-type='default'] ~ uni-page-wrapper {
|
|
245
|
+
height: calc(100% - 44px);
|
|
246
|
+
height: calc(100% - 44px - constant(safe-area-inset-top));
|
|
247
|
+
height: calc(100% - 44px - env(safe-area-inset-top));
|
|
248
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
uni-page-refresh {
|
|
2
|
+
position: absolute;
|
|
3
|
+
top: 0;
|
|
4
|
+
width: 100%;
|
|
5
|
+
height: 40px;
|
|
6
|
+
display: block;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.uni-page-refresh {
|
|
11
|
+
position: absolute;
|
|
12
|
+
top: -45px;
|
|
13
|
+
left: 50%;
|
|
14
|
+
transform: translate3d(-50%, 0, 0);
|
|
15
|
+
width: 40px;
|
|
16
|
+
height: 40px;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
align-items: center;
|
|
19
|
+
background: #fff;
|
|
20
|
+
border-radius: 50%;
|
|
21
|
+
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.117647),
|
|
22
|
+
0 1px 4px rgba(0, 0, 0, 0.117647);
|
|
23
|
+
display: none;
|
|
24
|
+
z-index: 997;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.uni-page-refresh-inner {
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
line-height: 0;
|
|
32
|
+
width: 40px;
|
|
33
|
+
height: 40px;
|
|
34
|
+
border-radius: 50%;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.uni-page-refresh--pulling .uni-page-refresh,
|
|
38
|
+
.uni-page-refresh--aborting .uni-page-refresh,
|
|
39
|
+
.uni-page-refresh--reached .uni-page-refresh,
|
|
40
|
+
.uni-page-refresh--refreshing .uni-page-refresh,
|
|
41
|
+
.uni-page-refresh--restoring .uni-page-refresh {
|
|
42
|
+
display: flex;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.uni-page-refresh--pulling .uni-page-refresh__spinner,
|
|
46
|
+
.uni-page-refresh--aborting .uni-page-refresh__spinner,
|
|
47
|
+
.uni-page-refresh--reached .uni-page-refresh__spinner,
|
|
48
|
+
.uni-page-refresh--refreshing .uni-page-refresh__icon,
|
|
49
|
+
.uni-page-refresh--restoring .uni-page-refresh__icon {
|
|
50
|
+
display: none;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.uni-page-refresh--refreshing .uni-page-refresh__spinner {
|
|
54
|
+
transform-origin: center center;
|
|
55
|
+
animation: uni-page-refresh-rotate 2s linear infinite;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.uni-page-refresh--refreshing .uni-page-refresh__path {
|
|
59
|
+
stroke-dasharray: 1, 200;
|
|
60
|
+
stroke-dashoffset: 0;
|
|
61
|
+
stroke-linecap: round;
|
|
62
|
+
animation: uni-page-refresh-dash 1.5s ease-in-out infinite,
|
|
63
|
+
uni-page-refresh-colorful 6s ease-in-out infinite;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@keyframes uni-page-refresh-rotate {
|
|
67
|
+
100% {
|
|
68
|
+
-webkit-transform: rotate(360deg);
|
|
69
|
+
transform: rotate(360deg);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@keyframes uni-page-refresh-dash {
|
|
74
|
+
0% {
|
|
75
|
+
stroke-dasharray: 1, 200;
|
|
76
|
+
stroke-dashoffset: 0;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
50% {
|
|
80
|
+
stroke-dasharray: 89, 200;
|
|
81
|
+
stroke-dashoffset: -35px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
100% {
|
|
85
|
+
stroke-dasharray: 89, 200;
|
|
86
|
+
stroke-dashoffset: -124px;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
body::after {
|
|
2
|
+
position: fixed;
|
|
3
|
+
content: '';
|
|
4
|
+
left: -1000px;
|
|
5
|
+
top: -1000px;
|
|
6
|
+
animation: shadow-preload 0.1s;
|
|
7
|
+
animation-delay: 3s;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@keyframes shadow-preload {
|
|
11
|
+
0% {
|
|
12
|
+
background-image: url(https://cdn.dcloud.net.cn/img/shadow-grey.png);
|
|
13
|
+
}
|
|
14
|
+
100% {
|
|
15
|
+
background-image: url(https://cdn.dcloud.net.cn/img/shadow-grey.png);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
uni-tabbar {
|
|
2
|
+
display: block;
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
width: 100%;
|
|
5
|
+
z-index: 998;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.uni-tabbar {
|
|
9
|
+
display: flex;
|
|
10
|
+
z-index: 998;
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.uni-tabbar-top,
|
|
15
|
+
.uni-tabbar-bottom,
|
|
16
|
+
.uni-tabbar-top .uni-tabbar,
|
|
17
|
+
.uni-tabbar-bottom .uni-tabbar {
|
|
18
|
+
position: fixed;
|
|
19
|
+
left: var(--window-left);
|
|
20
|
+
right: var(--window-right);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.uni-app--showlayout + .uni-tabbar-top,
|
|
24
|
+
.uni-app--showlayout + .uni-tabbar-bottom,
|
|
25
|
+
.uni-app--showlayout + .uni-tabbar-top .uni-tabbar,
|
|
26
|
+
.uni-app--showlayout + .uni-tabbar-bottom .uni-tabbar {
|
|
27
|
+
left: var(--window-margin);
|
|
28
|
+
right: var(--window-margin);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.uni-tabbar-bottom .uni-tabbar {
|
|
32
|
+
bottom: 0;
|
|
33
|
+
padding-bottom: 0;
|
|
34
|
+
padding-bottom: constant(safe-area-inset-bottom);
|
|
35
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.uni-tabbar ~ .uni-placeholder {
|
|
39
|
+
width: 100%;
|
|
40
|
+
margin-bottom: 0;
|
|
41
|
+
margin-bottom: constant(safe-area-inset-bottom);
|
|
42
|
+
margin-bottom: env(safe-area-inset-bottom);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.uni-tabbar * {
|
|
46
|
+
box-sizing: border-box;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.uni-tabbar__item {
|
|
50
|
+
display: flex;
|
|
51
|
+
justify-content: center;
|
|
52
|
+
align-items: center;
|
|
53
|
+
flex-direction: column;
|
|
54
|
+
flex: 1;
|
|
55
|
+
font-size: 0;
|
|
56
|
+
text-align: center;
|
|
57
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.uni-tabbar__bd {
|
|
61
|
+
position: relative;
|
|
62
|
+
display: flex;
|
|
63
|
+
flex-direction: column;
|
|
64
|
+
align-items: center;
|
|
65
|
+
justify-content: center;
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.uni-tabbar__icon {
|
|
70
|
+
position: relative;
|
|
71
|
+
display: inline-block;
|
|
72
|
+
margin-top: 5px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.uni-tabbar__icon.uni-tabbar__icon__diff {
|
|
76
|
+
margin-top: 0px;
|
|
77
|
+
width: 34px;
|
|
78
|
+
height: 34px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.uni-tabbar__icon img {
|
|
82
|
+
width: 100%;
|
|
83
|
+
height: 100%;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.uni-tabbar__label {
|
|
87
|
+
position: relative;
|
|
88
|
+
text-align: center;
|
|
89
|
+
font-size: 10px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.uni-tabbar-border {
|
|
93
|
+
position: absolute;
|
|
94
|
+
left: 0;
|
|
95
|
+
top: 0;
|
|
96
|
+
width: 100%;
|
|
97
|
+
height: 1px;
|
|
98
|
+
transform: scaleY(0.5);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.uni-tabbar__reddot {
|
|
102
|
+
position: absolute;
|
|
103
|
+
top: 0;
|
|
104
|
+
right: 0;
|
|
105
|
+
width: 12px;
|
|
106
|
+
height: 12px;
|
|
107
|
+
border-radius: 50%;
|
|
108
|
+
background-color: #f43530;
|
|
109
|
+
color: #ffffff;
|
|
110
|
+
transform: translate(40%, -20%);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.uni-tabbar__badge {
|
|
114
|
+
width: auto;
|
|
115
|
+
height: 16px;
|
|
116
|
+
line-height: 16px;
|
|
117
|
+
border-radius: 16px;
|
|
118
|
+
min-width: 16px;
|
|
119
|
+
padding: 0 2px;
|
|
120
|
+
font-size: 12px;
|
|
121
|
+
text-align: center;
|
|
122
|
+
white-space: nowrap;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.uni-tabbar__mid {
|
|
126
|
+
display: flex;
|
|
127
|
+
justify-content: center;
|
|
128
|
+
position: absolute;
|
|
129
|
+
bottom: 0;
|
|
130
|
+
background-size: 100% 100%;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.uni-app--showtabbar uni-page-wrapper {
|
|
134
|
+
display: block;
|
|
135
|
+
height: calc(100% - var(--tab-bar-height));
|
|
136
|
+
height: calc(100% - var(--tab-bar-height) - constant(safe-area-inset-bottom));
|
|
137
|
+
height: calc(100% - var(--tab-bar-height) - env(safe-area-inset-bottom));
|
|
138
|
+
}
|
|
139
|
+
.uni-app--showtabbar uni-page-wrapper::after {
|
|
140
|
+
content: '';
|
|
141
|
+
display: block;
|
|
142
|
+
width: 100%;
|
|
143
|
+
height: var(--tab-bar-height);
|
|
144
|
+
height: calc(var(--tab-bar-height) + constant(safe-area-inset-bottom));
|
|
145
|
+
height: calc(var(--tab-bar-height) + env(safe-area-inset-bottom));
|
|
146
|
+
}
|
|
147
|
+
.uni-app--showtabbar
|
|
148
|
+
uni-page-head[uni-page-head-type='default']
|
|
149
|
+
~ uni-page-wrapper {
|
|
150
|
+
height: calc(100% - 44px - var(--tab-bar-height));
|
|
151
|
+
height: calc(
|
|
152
|
+
100% - 44px - constant(safe-area-inset-top) - var(--tab-bar-height) -
|
|
153
|
+
constant(safe-area-inset-bottom)
|
|
154
|
+
);
|
|
155
|
+
height: calc(
|
|
156
|
+
100% - 44px - env(safe-area-inset-top) - var(--tab-bar-height) -
|
|
157
|
+
env(safe-area-inset-bottom)
|
|
158
|
+
);
|
|
159
|
+
}
|