uniapp 导航栏设置文字图片
作者:互联网
{ //收藏 "path": "pages/collect", "style": { "navigationBarTitleText":"收藏", "app-plus": { "titleNView": { "titleSize": "36rpx", "buttons": [ { "float": "right", "fontSize": "30rpx", "text": "编辑", "width":"120rpx" }, { "float": "right", "fontSize": "30rpx", "text": "搜索" } ] } } } },
或者内置图标内容
"titleNView":{ "buttons":[ { "type":"menu" } ] }
- "forward":前进按钮
- "back":后退按钮
- "share":分享按钮
- "favorite":收藏按钮
- "home":主页按钮
- "menu":菜单按钮
- "close":关闭按钮
- "none":无样式,不显示图标
更多内容
https://ext.dcloud.net.cn/plugin?id=1765
标签:uniapp,right,text,float,buttons,menu,按钮,导航,图片 来源: https://www.cnblogs.com/shangrao/p/14170329.html