企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持知识库和私有化部署方案 广告
![](https://box.kancloud.cn/7d11110b169a6516083e723fdfbda50b_368x654.png) ``` //app.json { "pages": [ "pages/index/index", "pages/list/list" ], "window": { "navigationBarBackgroundColor": "#ffffff", "navigationBarTextStyle": "black", "navigationBarTitleText": "小程序", "backgroundColor": "#eeeeee", "backgroundTextStyle": "light", "enablePullDownRefresh": false }, "tabBar": { "color": "#d6ecf0", //字体颜色 "selectedColor": "#75878a", //选中时的颜色 "position": "bottom", //位置 "borderStyle": "white", //边框颜色 "backgroundColor": "white", //背景颜色,不能使用十六进制的颜色 "list": [ { "pagePath": "pages/index/index", "text": "流行", "iconPath": "images/tab/list.png", "selectedIconPath": "images/tab/list-click.png" }, { "pagePath": "pages/book/book", "text": "书籍", "iconPath": "images/tab/search.png", "selectedIconPath": "images/tab/search-click.png" }, { "pagePath": "pages/mine/mine", "text": "我的", "iconPath": "images/tab/mine.png", "selectedIconPath": "images/tab/mine-click.png" } ] } } ``` tabBar中list进行分页个数设置 设置导航处的图标、文字、图片常态与选中时的样式