本文主要是介绍uniapp 底部菜单栏书写,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
{"pages": [{"path": "pages/index/index","style": {"navigationBarTitleText": "首页"}},{"path": "pages/my/my","style": {"navigationBarTitleText": "我的"}},{"path": "pages/categorize/categorize","style": {"navigationBarTitleText": "分类"}},{"path": "pages/suggest/suggest","style": {"navigationBarTitleText": "推荐"}}],"globalStyle": {"navigationBarTextStyle": "black","navigationBarTitleText": "uni-app","navigationBarBackgroundColor": "#F8F8F8","backgroundColor": "#F8F8F8","app-plus": {"background": "#efeff4"}},"tabBar": {"color": "#7A7E83","selectedColor": "#41a863","borderStyle": "black","backgroundColor": "#ffffff","list": [{"pagePath": "pages/index/index","iconPath": "static/tabbar/index.png","selectedIconPath": "static/tabbar/index_selected.png","text": "首页"}, {"pagePath": "pages/categorize/categorize","iconPath": "static/tabbar/cart.png","selectedIconPath": "static/tabbar/cart_selected.png","text": "分类"},{"pagePath": "pages/suggest/suggest","iconPath": "static/tabbar/cate.png","selectedIconPath": "static/tabbar/cate_selected.png","text": "资讯"},{"pagePath": "pages/my/my","iconPath": "static/tabbar/my.png","selectedIconPath": "static/tabbar/my_selected.png","text": "我的"}]}
}
这篇关于uniapp 底部菜单栏书写的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!