微信小程序tabbar页面是拥有底部导航栏的页面,实现方法:
在app.json中添加以下代码:
"tabBar": {"list": [
{
"pagePath": "pages/home/home",
"iconPath":"images/tabbar/component.png",
"selectedIconPath": "images/tabbar/component_cur.png",
"text": "首页"
},
{
"pagePath": "pages/register/register",
"iconPath": "images/tabbar/plugin.png",
"selectedIconPath": "images/tabbar/plugin_cur.png",
"text": "发布"
},
{
"pagePath": "pages/register/register",
"iconPath": "images/tabbar/about.png",
"selectedIconPath": "images/tabbar/about_cur.png",
"text": "我"
}
]
},
辰迅云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>
推荐阅读: 小程序如何页面自动弹出授权