{ "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/login/login", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "登录",//顶部名称 "navigationBarBackgroundColor": "#333",//顶部背景色 "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序) } }, { "path": "pages/tabbar/homepage/homepage", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "首页",//顶部名称 "navigationBarBackgroundColor": "#333",//顶部背景色 "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序) } }, { "path": "pages/tabbar/homepage/data-details", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "文章内容",//顶部名称 "navigationBarBackgroundColor": "#333",//顶部背景色 "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序) } }, { "path": "pages/tabbar/follow/follow", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "关注",//顶部名称 "navigationBarBackgroundColor": "#333",//顶部背景色 "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序) } }, { "path": "pages/tabbar/release/release", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "发布",//顶部名称 "navigationBarBackgroundColor": "#333",//顶部背景色 "navigationBarTextStyle": "white" ,//文字颜色,目前只支持white和black这两种颜色(小程序) "app-plus": { "bounce": "none", //关闭窗口回弹效果 "titleNView": { "buttons": [ //原生标题栏按钮配置, { "type":"none", "text":"发表 ", "fontSize":"16px", "float":"right" } ] } } } }, { "path": "pages/tabbar/message/message", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "消息",//顶部名称 "navigationBarBackgroundColor": "#333",//顶部背景色 "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序) } }, { "path": "pages/tabbar/my/my", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "我",//顶部名称 "navigationBarBackgroundColor": "#333",//顶部背景色 "navigationBarTextStyle": "white" ,//文字颜色,目前只支持white和black这两种颜色(小程序) "app-plus": { "bounce": "none", //关闭窗口回弹效果 "titleNView": { "buttons": [ //原生标题栏按钮配置, { "type":"none", "text":"通知 ", "fontSize":"16px", "float":"right", "redDot" : true } ] } } } } ,{ "path" : "pages/tabbar/my/my-article/my-article", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "我的文章",//顶部名称 "navigationBarBackgroundColor": "#333",//顶部背景色 "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序) } } ,{ "path" : "pages/notice-edit/notice-edit", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "编辑文章",//顶部名称 "navigationBarBackgroundColor": "#333",//顶部背景色 "navigationBarTextStyle": "white", //文字颜色,目前只支持white和black这两种颜色(小程序) "app-plus": { "bounce": "none", //关闭窗口回弹效果 "titleNView": { "buttons": [ //原生标题栏按钮配置, { "type":"none", "text":"删除 ", "fontSize":"16px", "float":"right" } ] } } } } ,{ "path" : "pages/tabbar/message/chat-page", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "",//顶部名称 "navigationBarBackgroundColor": "#333",//顶部背景色 "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序) } } ,{ "path" : "pages/person-info-page/person-info-page", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "个人主页",//顶部名称 "navigationBarBackgroundColor": "#333",//顶部背景色 "navigationBarTextStyle": "white",//文字颜色,目前只支持white和black这两种颜色(小程序) "app-plus": { "bounce": "none", //关闭窗口回弹效果 "titleNView": { "buttons": [ //原生标题栏按钮配置, { "type":"none", "text":"私信 ", "float":"right", "fontSize":"16px" } ] } } } } ,{ "path" : "pages/tabbar/follow/follow-list", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "关注列表",//顶部名称 "navigationBarBackgroundColor": "#333",//顶部背景色 "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序) } } ,{ "path" : "pages/tabbar/follow/fans-list", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "粉丝列表",//顶部名称 "navigationBarBackgroundColor": "#333",//顶部背景色 "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序) } } ,{ "path" : "pages/tabbar/my/settings/settings", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "设置",//顶部名称 "navigationBarBackgroundColor": "#333",//顶部背景色 "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序) } } ,{ "path" : "pages/tabbar/my/settings/account-security/account-security", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "账号与安全",//顶部名称 "navigationBarBackgroundColor": "#333",//顶部背景色 "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序) } } ,{ "path" : "pages/tabbar/my/settings/agreement/agreement", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "",//顶部名称 "navigationBarBackgroundColor": "#333",//顶部背景色 "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序) } } ,{ "path" : "pages/tabbar/my/settings/system-information/system-information", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "系统信息",//顶部名称 "navigationBarBackgroundColor": "#333",//顶部背景色 "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序) } } ,{ "path" : "pages/tabbar/my/help/help", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "帮助",//顶部名称 "navigationBarBackgroundColor": "#333",//顶部背景色 "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序) } } ,{ "path" : "pages/tabbar/my/edit-info/edit-info", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "编辑信息",//顶部名称 "navigationBarBackgroundColor": "#333",//顶部背景色 "navigationBarTextStyle": "white" ,//文字颜色,目前只支持white和black这两种颜色(小程序) "app-plus": { "bounce": "none", //关闭窗口回弹效果 "titleNView": { "buttons": [ //原生标题栏按钮配置, { "type":"none", "text":"保存 ", "float":"right", "fontSize":"16px" } ] } } } } ,{ "path" : "pages/components/avatar/avatar", "style" : {} } ,{ "path" : "pages/tabbar/my/collection/collection", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "收藏列表",//顶部名称 "navigationBarBackgroundColor": "#333",//顶部背景色 "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序) } } ,{ "path" : "pages/tabbar/my/article-management/article-management", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "文章管理",//顶部名称 "navigationBarBackgroundColor": "#333",//顶部背景色 "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序) } } ,{ "path" : "pages/tabbar/my/people-management/people-management", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "人员管理",//顶部名称 "navigationBarBackgroundColor": "#333",//顶部背景色 "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序) } } ,{ "path" : "pages/tabbar/my/help-answer/help-answer", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "帮助答复",//顶部名称 "navigationBarBackgroundColor": "#333",//顶部背景色 "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序) } } ,{ "path" : "pages/login/register", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "用户注册",//顶部名称 "navigationBarBackgroundColor": "#333",//顶部背景色 "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序) } } ,{ "path" : "pages/tabbar/my/register-management/register-management", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "注册管理",//顶部名称 "navigationBarBackgroundColor": "#333",//顶部背景色 "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序) } } ,{ "path" : "pages/tabbar/my/notice/notice", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "通知",//顶部名称 "navigationBarBackgroundColor": "#333",//顶部背景色 "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序) } } ], "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "uni-app", "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8" }, "tabBar": { "borderStyle": "black", "backgroundColor": "#333", "color": "#FFFFFF", "selectedColor": "#f33e54", "list": [{ "pagePath": "pages/tabbar/homepage/homepage", "iconPath": "static/img/tabbar/home.png", "selectedIconPath": "static/img/tabbar/homeactive.png", "text": "首页" }, { "pagePath": "pages/tabbar/follow/follow", "iconPath": "static/img/tabbar/guanzhu.png", "selectedIconPath": "static/img/tabbar/guanzhuactive.png", "text": "关注" }, //#ifdef MP-WEIXIN { "pagePath": "pages/tabbar/release/release", "iconPath": "static/img/tabbar/add.png", "selectedIconPath": "static/img/tabbar/addactive.png", "text": "发布" }, //#endif //#ifndef MP-WEIXIN { "pagePath": "pages/tabbar/release/release", "iconPath": "static/img/tabbar/add.png", "selectedIconPath": "static/img/tabbar/addactive.png" }, //#endif { "pagePath": "pages/tabbar/message/message", "iconPath": "static/img/tabbar/news.png", "selectedIconPath": "static/img/tabbar/newsactive.png", "text": "消息" }, { "pagePath": "pages/tabbar/my/my", "iconPath": "static/img/tabbar/me.png", "selectedIconPath": "static/img/tabbar/meactive.png", "text": "我" } ] } }