"safearea": {
"background": "#CCCCCC",
"bottom": {
"offset": "auto"
}
}
看回答是如此设置,但是设置后是无效的,下面还是有留白,求大佬救命~~~~~
- 发布:2021-12-15 23:49
- 更新:2022-04-07 09:15
- 阅读:4791
_孙大圣_ (作者) - 只想用nvue
- -,解决了,是在app-plus层下,不需要嵌套外层IOS
直接
"safearea": {
"background": "#CCCCCC",
"bottom": {
"offset": "auto"
}
}
放在mainifest.json中的app-plus下.safearea: ...,不是.ios : { safearea: ....}
uv_UI - 我与uniapp有着不解的缘分~
ios移动端兼容:iPhone X等机型底部的安全距离样式的设置:
https://blog.csdn.net/qq_42961150/article/details/120883896?spm=1001.2014.3001.5502