156 lines
3.5 KiB
JSON
156 lines
3.5 KiB
JSON
|
|
{
|
|||
|
|
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
|||
|
|
{
|
|||
|
|
"path": "pages/index/index",
|
|||
|
|
"style": {
|
|||
|
|
"navigationBarTitleText": "首页",
|
|||
|
|
"app-plus": {
|
|||
|
|
"titleNView": {
|
|||
|
|
"backgroundImage": "linear-gradient(to right, #477EFF , #39D9C9)"
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}, {
|
|||
|
|
"path": "pages/login/login",
|
|||
|
|
"style": {
|
|||
|
|
"navigationBarTitleText": "登录",
|
|||
|
|
"app-plus": {
|
|||
|
|
"titleNView": {
|
|||
|
|
"backgroundImage": "linear-gradient(to right, #477EFF, #39D9C9)"
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"path": "pages/index/userInfo",
|
|||
|
|
"style": {
|
|||
|
|
"navigationBarTitleText": "资料",
|
|||
|
|
"app-plus": {
|
|||
|
|
"titleNView": {
|
|||
|
|
"backgroundImage": "linear-gradient(to right, #477EFF, #39D9C9)"
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"path": "pages/card/card",
|
|||
|
|
"style": {
|
|||
|
|
"navigationBarTitleText": "卡片设置",
|
|||
|
|
"enablePullDownRefresh": false,
|
|||
|
|
"app-plus": {
|
|||
|
|
"titleNView": {
|
|||
|
|
"backgroundImage": "linear-gradient(to right, #477EFF, #39D9C9)"
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"path": "pages/weight/weight",
|
|||
|
|
"style": {
|
|||
|
|
"navigationBarTitleText": "身体数据",
|
|||
|
|
"enablePullDownRefresh": false,
|
|||
|
|
"app-plus": {
|
|||
|
|
"titleNView": {
|
|||
|
|
"backgroundImage": "linear-gradient(to right, #477EFF, #39D9C9)"
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"path": "pages/weight/components/report",
|
|||
|
|
"style": {
|
|||
|
|
"navigationBarTitleText": "",
|
|||
|
|
"enablePullDownRefresh": false,
|
|||
|
|
"app-plus": {
|
|||
|
|
"titleNView": {
|
|||
|
|
"backgroundImage": "linear-gradient(to right, #477EFF, #39D9C9)"
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
"path": "pages/history/history",
|
|||
|
|
"style": {
|
|||
|
|
"navigationBarTitleText": "历史记录",
|
|||
|
|
"enablePullDownRefresh": false,
|
|||
|
|
"app-plus": {
|
|||
|
|
"titleNView": {
|
|||
|
|
"backgroundImage": "linear-gradient(to right, #477EFF, #39D9C9)"
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"path": "pages/history/historyDetail",
|
|||
|
|
"style": {
|
|||
|
|
"navigationBarTitleText": "记录详情",
|
|||
|
|
"enablePullDownRefresh": false,
|
|||
|
|
"app-plus": {
|
|||
|
|
"titleNView": {
|
|||
|
|
"backgroundImage": "linear-gradient(to right, #477EFF, #39D9C9)"
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"path": "pages/compk/contrast",
|
|||
|
|
"style": {
|
|||
|
|
"navigationBarTitleText": "数据对比",
|
|||
|
|
"enablePullDownRefresh": false,
|
|||
|
|
"app-plus": {
|
|||
|
|
"titleNView": {
|
|||
|
|
"backgroundImage": "linear-gradient(to right, #477EFF, #39D9C9)"
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"path": "pages/compk/pkdetail",
|
|||
|
|
"style": {
|
|||
|
|
"navigationBarTitleText": "对比详情",
|
|||
|
|
"enablePullDownRefresh": false
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"path": "pages/skipping/skipping",
|
|||
|
|
"style": {
|
|||
|
|
"navigationBarTitleText": "跳绳数据",
|
|||
|
|
"enablePullDownRefresh": false
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"path": "pages/charts/charts",
|
|||
|
|
"style": {
|
|||
|
|
"navigationBarTitleText": "运动曲线",
|
|||
|
|
"enablePullDownRefresh": false,
|
|||
|
|
"app-plus": {
|
|||
|
|
"titleNView": {
|
|||
|
|
"backgroundImage": "linear-gradient(to right, #477EFF, #39D9C9)"
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"globalStyle": {
|
|||
|
|
"navigationBarTextStyle": "black",
|
|||
|
|
"navigationBarTitleText": "uni-app",
|
|||
|
|
"navigationBarBackgroundColor": "#F8F8F8",
|
|||
|
|
"backgroundColor": "#F8F8F8"
|
|||
|
|
},
|
|||
|
|
"uniIdRouter": {},
|
|||
|
|
"condition": { //模式配置,仅开发期间生效
|
|||
|
|
"current": 0, //当前激活的模式(list 的索引项)
|
|||
|
|
"list": [{
|
|||
|
|
"name": "首页", //模式名称
|
|||
|
|
"path": "pages/index/index", //启动页面,必选
|
|||
|
|
"query": "" //启动参数,在页面的onLoad函数里面得到
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"name": "登录", //模式名称
|
|||
|
|
"path": "pages/login/login", //启动页面,必选
|
|||
|
|
"query": "" //启动参数,在页面的onLoad函数里面得到
|
|||
|
|
}
|
|||
|
|
]
|
|||
|
|
}
|
|||
|
|
}
|