手写的从前
手写的从前
  • 发布:2019-07-27 16:55
  • 更新:2019-07-27 17:10
  • 阅读:2578

MUI 全屏黑色 包括状态栏 要怎么设置?

分类:MUI

我设置了document.body.style.backgroundColor = "#000000"; 但是不生效

急急急急~~

2019-07-27 16:55 负责人:无 分享
已邀请:
流星123

流星123 - uniCluod出来后标志着,js终于统一前后端了

html style="background-color: #000000;"
manifest.json 配置代码如下,添加
"statusbar": {
"immersed": "none|suggestedDevice|supportedDevice,沉浸式状态栏情况",
"style": "dark|light, 系统状态栏样式",
"background": "#000000"
},

"plus": {
"splashscreen": {
"autoclose": true,/是否自动关闭程序启动界面,true表示应用加载应用入口页面后自动关闭;false则需调plus.navigator.closeSplashscreen()关闭/
"waiting": true
},
"statusbar": {
"immersed": "none|suggestedDevice|supportedDevice,沉浸式状态栏情况",
"style": "dark|light, 系统状态栏样式",
"background": "#000000"
},

该问题目前已经被锁定, 无法添加新回复