在小程序 app.json 配置文件中,找到 widows ,在里面添加 "navigationStyle":"custom" 即可。
app.json
widows
"navigationStyle":"custom"