1. Cancel all title bars:
add: navigationStyle: custom to the window in app.json. The top navigation bar will disappear, leaving the capsule button in the upper right corner
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#444",
"navigationBarTitleText": "古诗猜谜",
"navigationBarTextStyle": "white",
"navigationStyle": "custom"
},
2. Cancel the title bar of a single page:
add "navigationStyle": "custom" to the .json file of a certain page
{
"usingComponents": {
},
"navigationStyle": "custom"
}
Related applet examples:
Page: Customize the title and set the global background image