{ "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/home/home", "style": { "navigationBarTitleText": "菜品圈", "enablePullDownRefresh": false } }, { "path": "pages/index/index", "style": { "navigationBarTitleText": "uni-app" } }, { "path": "pages/search/search", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false } }, { "path": "pages/my/my", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false } }, { "path": "pages/ranking/ranking", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false } }, { "path": "pages/loginTest/loginTest", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false } } ,{ "path" : "pages/recommend/recommend", "style" : { "navigationBarTitleText": "", "enablePullDownRefresh": false } } ], "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "菜品圈", "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8" }, "subpackages": [{ "root": "subpkg", "pages": [{ "path": "dishDetail/dishDetail", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false } }, { "path": "search/search", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false } }, { "path": "searchList/searchList", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false } },{ "path" : "filterList/filterList", "style" :{} }] }], "tabBar": { "color": "#a9a9a9", "selectedColor": "#000000", "list": [{ "pagePath": "pages/home/home", "text": "首页", "iconPath": "static/static/images/home/home1.png", "selectedIconPath": "static/static/images/home/home2.png" }, { "pagePath": "pages/search/search", "text": "筛选", "iconPath": "static/static/images/home/筛选2.png", "selectedIconPath": "static/static/images/home/筛选1.png" }, { "pagePath": "pages/recommend/recommend", "text": "推荐", "iconPath": "static/static/images/home/推荐1.png", "selectedIconPath": "static/static/images/home/推荐2.png" }, { "pagePath": "pages/ranking/ranking", "text": "排行榜", "iconPath": "static/static/images/home/排行榜2.png", "selectedIconPath": "static/static/images/home/排行榜1.png" }, { "pagePath": "pages/my/my", "text": "个人中心", "iconPath": "/static/static/images/home/我的1.png", "selectedIconPath": "/static/static/images/home/我的2.png" } ] } }