{ "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/index/index", "style": { "navigationBarTitleText": "任务" } }, { "path": "pages/check/index", "style": { "navigationBarTitleText": "核查" } }, { "path": "pages/user/user", "style": { "navigationBarTitleText": "我的" } } ], "tabBar": { "color": "#9799a5", "selectedColor": "#28B389", "list": [ { "text": "任务", "pagePath": "pages/index/index", // "enableMap": true, "iconPath": "static/images/tabBar/home.png", "selectedIconPath": "static/images/tabBar/home-h.png" },{ "text": "核查", "pagePath": "pages/check/index", "iconPath": "static/images/tabBar/classify.png", "selectedIconPath": "static/images/tabBar/classify-h.png" },{ "text": "我的", "pagePath": "pages/user/user", "iconPath": "static/images/tabBar/user.png", "selectedIconPath": "static/images/tabBar/user-h.png" } ] }, "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "uni-app x", "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8" }, "uniIdRouter": {} }