微信小程序tabbar页面是什么
微信小程序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":"我"
}
]
},
版权声明
本文仅代表作者观点,不代表米安网络立场。
上一篇:电脑卡顿反应慢如何处理 下一篇:eclipse如何搜索全局变量
发表评论:
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。