原生导航栏设置了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"
}
]
}
}
0 个回复