1、隐藏导航栏
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "",
"navigationStyle": "custom" //移除顶部标题导航栏
}
}
2、横屏设置
onLoad() {
plus.screen.lockOrientation('landscape-primary');
},
onUnload() {
plus.screen.lockOrientation('portrait-primary')
},