微信小程序tabbar页面是拥有底部导航栏的页面,实现方法:在app.JSON中添加以下代码:"tabBar": {"list": [{"pagePath":&
微信小程序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": "我"
}
]
},
--结束END--
本文标题: 微信小程序tabbar页面是什么
本文链接: https://www.lsjlt.com/news/112268.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-05-08
2024-05-08
2024-05-08
2024-05-08
2024-05-08
2024-05-08
2024-05-08
2024-05-08
2024-05-08
2024-05-08
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0