查看“Uni-app菜单栏”的源代码
←
Uni-app菜单栏
跳转至:
导航
,
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
==代码== . <nowiki> "tabBar": { "color": "#8B8B8B", // 表示tabBar item项中文字默认的颜色 "selectedColor": "#F63515", // 表示tabBar item项中文字选中的颜色 "borderStyle": "black",// 表示tabBar 上边框的颜色,目前只支持 black/white "backgroundColor": "#ffffff",// 表示 tabBar 的背景颜色 "list": [{ "pagePath": "pages/index/index", // 表示第一tab项的页面路径 // "iconPath": "static/image/home_default.png", // 表示当前 tab 未选中时所显示的图标路径 // "selectedIconPath": "static/image/home_select.png", // 表示当前 tab 选中时所显示的图标文件路径 "text": "首页" // 表示当前 tab 的文字 }, { "pagePath": "pages/list/list", // "iconPath": "static/image/me_default.png", // "selectedIconPath": "static/image/me_select.png", "text": "我的" }] }</nowiki> ==效果图== [[文件:wexin22062902.png|600]]
返回至
Uni-app菜单栏
。
导航菜单
个人工具
登录
命名空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
帮助
工具
链入页面
相关更改
特殊页面
页面信息