{ "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/index/index", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": true, "onReachBottomDistance": 50 } }, { "path": "pages/my/me", "style": { "navigationBarTitleText": "我的", "enablePullDownRefresh": true, "onReachBottomDistance": 50 } }, { "path": "pages/target/target", "style": { "navigationBarTitleText": "趋势" } } ], "subPackages": [{ "root": "body", "pages": [{ "path": "login/forgetPassword", "style": { "navigationBarTitleText": "密码", "enablePullDownRefresh": false } }, { "path": "login/login", "style": { "navigationBarTitleText": "登录", "enablePullDownRefresh": false, "navigationStyle": "custom" } }, { "path": "home/body", "style": { "navigationBarTitleText": "身体数据", "enablePullDownRefresh": false } }, { "path": "my/userInfo", "style": { "navigationBarTitleText": "个人资料", "enablePullDownRefresh": false } }, { "path": "my/manage", "style": { "navigationBarTitleText": "成员管理", "enablePullDownRefresh": false } }, { "path": "my/about", "style": { "navigationBarTitleText": "关于我们", "enablePullDownRefresh": false } }, { "path": "setting/setting", "style": { "navigationBarTitleText": "设置", "enablePullDownRefresh": false } }, { "path": "setting/phone", "style": { "navigationBarTitleText": "手机号绑定", "enablePullDownRefresh": false } }, { "path": "setting/email", "style": { "navigationBarTitleText": "邮箱绑定", "enablePullDownRefresh": false } }, { "path": "setting/password", "style": { "navigationBarTitleText": "密码管理", "enablePullDownRefresh": false } }, { "path": "history/history", "style": { "navigationBarTitleText": "测量记录", "enablePullDownRefresh": false } }, { "path": "history/historyDetail", "style": { "navigationBarTitleText": "记录详情", "enablePullDownRefresh": false } }, { "path": "webview/webview", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false } }, { "path": "report/report", "style": { "navigationBarTitleText": "深度分析" } }, { "path": "curve/curve", "style": { "navigationBarTitleText": "" } } ] }, { "root": "Food", "pages": [{ "path": "count/setting", "style": { "navigationBarTitleText": "设置", "enablePullDownRefresh": false } }, { "path": "count/everyMeal", "style": { "navigationBarTitleText": "餐食详情", "enablePullDownRefresh": false } }, { "path": "count/everyDay", "style": { "navigationBarTitleText": "营养分析", "enablePullDownRefresh": false } }, { "path": "count/search", "style": { "navigationBarTitleText": "食材搜索", "enablePullDownRefresh": false } }, { "path": "search/search", "style": { "navigationBarTitleText": "搜索" } }, { "path": "search/list", "style": { "navigationBarTitleText": "" } }, { "path": "me/menudetail", "style": { "navigationBarTitleText": "详情" } }, { "path": "me/mymenu", "style": { "navigationBarTitleText": "" } }, { "path": "me/record", "style": { "navigationBarTitleText": "饮食记录" } }, { "path": "me/recordetail", "style": { "navigationBarTitleText": "饮食详情" } } ] }, { "root": "pageTwo", "pages": [{ "path": "cardList/card", "style": { "navigationBarTitleText": "健康工具", "enablePullDownRefresh": false } }, { "path": "bmi/bmi", "style": { "navigationBarTitleText": "bmi测评" } }, { "path": "compk/contrast", "style": { "navigationBarTitleText": "数据对比" } }, { "path": "compk/pkdetail", "style": { "navigationBarTitleText": "对比详情" } }, { "path": "score/score", "style": { "navigationBarTitleText": "中招估分" } }, { "path": "lunging/vitalcapacity", "style": { "navigationBarTitleText": "肺活训练" } }, { "path": "skiping/skip", "style": { "navigationBarTitleText": "智能跳绳" } }, { "path": "inheritHeighet/inheritHeighet", "style": { "navigationBarTitleText": "遗传身高" } }, { "path": "charts/charts", "style": { "navigationBarTitleText": "曲线" } }, { "path": "history/history", "style": { "navigationBarTitleText": "历史记录" } }, { "path": "history/historyDetail", "style": { "navigationBarTitleText": "记录详情" } }, { "path": "devices/search", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false } }, { "path": "devices/G02", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false } }, { "path": "devices/PCL", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false } }, { "path": "devices/PCV02", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false } }, { "path": "devices/PCT01", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false } }, { "path": "devices/B20", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false } }, { "path": "devices/PCL22", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false } }, { "path": "devices/PCL22S", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false } }, { "path": "devices/pcL06", "style": { "navigationBarTitleText": "" } } ] } ], "globalStyle": { "navigationBarTextStyle": "white", "navigationBarTitleText": "", "navigationBarBackgroundColor": "#54d87c", "backgroundColor": "#fff" }, // 切换导航 "tabBar": { "color": "#333", "fontSize": "14px", "selectedColor": "#54d87c", "backgroundColor": "#fff", "list": [{ "pagePath": "pages/index/index", "iconPath": "static/shou.png", "selectedIconPath": "static/shou2.png", "text": "首页" }, { "pagePath": "pages/target/target", "iconPath": "static/ping.png", "selectedIconPath": "static/ping2.png", "text": "商城" }, { "pagePath": "pages/my/me", "iconPath": "static/wo.png", "selectedIconPath": "static/wo2.png", "text": "我的" } ] }, "uniIdRouter": {} }