4***@qq.com
4***@qq.com
  • 发布:2020-04-20 18:08
  • 更新:2020-04-20 18:08
  • 阅读:562

原生导航栏设置了searchInput后titleIcon被覆盖

分类:uni-app

原生导航栏设置了searchInput后titleIcon就不显示,去了searchInput后,titleIcon显示正常

"globalStyle": {  
        "navigationBarTextStyle": "white",  
        "navigationBarBackgroundColor": "#E42417",   
        "backgroundColor": "#FFFFFF",  
        "app-plus": {  
            "titleNView": {  
                "titleIcon": "/static/logo.png",  
                "titleAlign": "left",  
                "searchInput": {  
                    "backgroundColor": "#fff",  
                    "placeholder": "请输入搜索内容",  
                    "disabled": false,  
                    "borderRadius": "50px"  
                },  
                "buttons": [{  
                        "text": "我的",  
                        "float": "right",  
                        "fontSize": "18px",  
                        "width": "60px",  
                        "fontWeight": "bold"  
                    }  
                ]  
            }  
        }
2020-04-20 18:08 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复