Commit f0466fb5699ef4830ef0697486e16fae10bd244d
1 parent
3bbd76bb
兼容苹果X
Showing
1 changed file
with
5 additions
and
0 deletions
src/pages/myGiftBox/myGiftBox.less
| ... | ... | @@ -209,6 +209,11 @@ |
| 209 | 209 | background: rgba(208, 2, 27, 1); |
| 210 | 210 | color: rgba(255, 255, 255, 1); |
| 211 | 211 | } |
| 212 | + @supports (padding-bottom: env(safe-area-inset-bottom)) { | |
| 213 | + div { | |
| 214 | + padding-bottom: env(safe-area-inset-bottom); | |
| 215 | + } | |
| 216 | + } | |
| 212 | 217 | } |
| 213 | 218 | } |
| 214 | 219 | .tip_text { | ... | ... |