uniApp修改navigationBar字体大小

"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
    {
        "path": "pages/index/index",
        "style": {
            "navigationBarTitleText": "uView-index"
        }
    },
    {
        "path": "pages/center/index",
        "style": {
            "navigationBarTitleText": "uView-center"
        }
    }
    ,{
        "path" : "pages/login/login",
        "style" :                                                                                    
        {  
            "app-plus":{
                "bounce":"none",// 关闭界面上拉下拉阴影回弹效果
                // 自定义导航栏字体大小
                  "titleNView": {
                    "titleText":"登录",
                    "titleSize":"40rpx"
                  }
            }
        }
        
    }
],

你可能感兴趣的:(uniApp修改navigationBar字体大小)