在page.json里的配置项
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"titleNView":{
"buttons":[{"fontSrc":"/static/iconfont.ttf",
"text":"\ue600",
"float":"left",
"color":"rgb(240,55,78)"
},
{}]
}
}}]
}