{ "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/index/index", "style": { "navigationBarTitleText": "首页" } }, { "path": "pages/login/login", "style": { "navigationBarTitleText": "登录", "enablePullDownRefresh": false } }, { "path": "pages/login_two/login_two", "style": { "navigationBarTitleText": "手机号登录", "enablePullDownRefresh": false } }, { "path": "pages/login_three/login_three", "style": { "navigationBarTitleText": "找回密码", "enablePullDownRefresh": false } }, { "path": "pages/resource/resource", "style": { "navigationBarTitleText": "资源库", "enablePullDownRefresh": false } }, { "path": "pages/activityPage/activityPage", "style": { "navigationBarTitleText": "活动页", "enablePullDownRefresh": false } }, { "path": "pages/message/message", "style": { "navigationBarTitleText": "消息", "enablePullDownRefresh": false } }, { "path": "pages/message/messageDetail", "style": { "navigationBarTitleText": "活动消息", "enablePullDownRefresh": false } }, { "path": "pages/mine/mine", "style": { "navigationBarTitleText": "我的", "enablePullDownRefresh": false } } ], "tabBar": { "list": [ { "pagePath": "pages/index/index", "text": "首页", "iconPath": "static/tabBarIcon/home.png", "selectedIconPath": "static/tabBarIcon/home-selected.png" }, { "pagePath": "pages/resource/resource", "text": "资源库", "iconPath": "static/tabBarIcon/resource.png", "selectedIconPath": "static/tabBarIcon/resource-selected.png" }, { "pagePath": "pages/activityPage/activityPage", "text": "活动", "iconPath": "static/tabBarIcon/activity.png", "selectedIconPath": "static/tabBarIcon/activity-selected.png" }, { "pagePath": "pages/message/message", "text": "消息", "iconPath": "static/tabBarIcon/message.png", "selectedIconPath": "static/tabBarIcon/message-selected.png" }, { "pagePath": "pages/mine/mine", "text": "我的", "iconPath": "static/tabBarIcon/mine.png", "selectedIconPath": "static/tabBarIcon/mine-selected.png" } ] }, "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "uni-app", "navigationBarBackgroundColor": "#ffffff", "backgroundColor": "#F8F8F8", "navigationBarTitleCentered": true }, "uniIdRouter": {} }