底部导航
功能介绍
底部导航用于在不同的功能模块之间进行快速切换。本功能允许插件开发者为各自的插件定义独立的底部导航结构,实现灵活的多模块导航体系
系统底部导航
系统底部导航文件位置:niucloud-core/src/main/resources/core/loader/diy/bottom.json 
关键代码:
json
{
"key": "app",
"info": {
"title": "系统"
},
"value": {
"backgroundColor": "#ffffff",
"textColor": "#606266",
"textHoverColor": "#007aff",
"type": "1",
"list": [
{
"text": "首页",
"link": {
"parent": "SYSTEM_LINK",
"name": "INDEX",
"title": "首页",
"url": "/app/pages/index/index"
},
"iconPath": "static/resource/images/tabbar/index.png",
"iconSelectPath": "static/resource/images/tabbar/index-selected.png"
},
{
"text": "我的",
"link": {
"parent": "MEMBER_LINK",
"name": "MEMBER_CENTER",
"title": "个人中心",
"url": "/app/pages/member/index"
},
"iconPath": "static/resource/images/tabbar/my.png",
"iconSelectPath": "static/resource/images/tabbar/my-selected.png"
}
]
}
}插件底部导航
插件底部导航文件位置:niucloud-addon/mall/src/main/resources/mall/loader/diy/bottom.json 

底部导航配置之后,后台可以动态配置底部导航
