{
|
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
{
|
"path": "pages/index/index",
|
"style": {
|
"navigationStyle": "custom"
|
}
|
},
|
{
|
"path": "pages/health-plan/index",
|
"style": {
|
"navigationBarTitleText": "健康方案",
|
"navigationBarBackgroundColor": "#ffffff",
|
"navigationBarTextStyle": "black"
|
}
|
},
|
{
|
"path": "pages/order/index",
|
"style": {
|
"navigationBarTitleText": "我的订单",
|
"navigationBarBackgroundColor": "#ffffff",
|
"navigationBarTextStyle": "black"
|
}
|
},
|
{
|
"path": "pages/profile/index",
|
// 个人中心顶部无标题且底色为渐变,与白底原生导航冲突,故使用自定义导航栏
|
"style": {
|
"navigationStyle": "custom"
|
}
|
},
|
{
|
"path": "pages/profile/edit",
|
// 导航栏含更多 / 帮助图标,需自定义导航栏承载
|
"style": {
|
"navigationStyle": "custom"
|
}
|
},
|
{
|
"path": "pages/profile/certification",
|
// 导航栏含更多 / 帮助图标,需自定义导航栏承载
|
"style": {
|
"navigationStyle": "custom"
|
}
|
},
|
{
|
"path": "pages/profile/company-certification",
|
// 顶部为四段式步骤条,需自定义导航栏承载
|
"style": {
|
"navigationStyle": "custom"
|
}
|
},
|
{
|
"path": "pages/profile/invite",
|
// 顶部为三段式 Tab + 居中标题,需自定义导航栏承载
|
"style": {
|
"navigationStyle": "custom"
|
}
|
},
|
{
|
"path": "pages/member/index",
|
// 顶部为深蓝会员卡 + 三段式 Tab,需自定义导航栏承载
|
"style": {
|
"navigationStyle": "custom"
|
}
|
},
|
{
|
"path": "pages/contact/index",
|
// 顶部为深蓝底品牌区,与白底原生导航冲突,故使用自定义导航栏
|
"style": {
|
"navigationStyle": "custom"
|
}
|
},
|
{
|
"path": "pages/address/list",
|
"style": {
|
"navigationBarTitleText": "选择地址",
|
"navigationBarBackgroundColor": "#ffffff",
|
"navigationBarTextStyle": "black"
|
}
|
},
|
{
|
"path": "pages/address/add",
|
"style": {
|
"navigationBarTitleText": "新增地址",
|
"navigationBarBackgroundColor": "#ffffff",
|
"navigationBarTextStyle": "black"
|
}
|
},
|
{
|
"path": "pages/stock-order/list",
|
"style": {
|
"navigationBarTitleText": "缺货订单",
|
"navigationBarBackgroundColor": "#ffffff",
|
"navigationBarTextStyle": "black"
|
}
|
},
|
{
|
"path": "pages/login/index",
|
"style": {
|
"navigationStyle": "custom"
|
}
|
},
|
{
|
"path": "pages/login/register",
|
"style": {
|
"navigationStyle": "custom"
|
}
|
},
|
{
|
"path": "pages/login/register-success",
|
"style": {
|
"navigationBarTitleText": "注册成功",
|
"navigationBarBackgroundColor": "#ffffff",
|
"navigationBarTextStyle": "black"
|
}
|
}
|
],
|
"globalStyle": {
|
"navigationBarTextStyle": "black",
|
"navigationBarTitleText": "",
|
"navigationBarBackgroundColor": "#F8F8F8",
|
"backgroundColor": "#F8F8F8"
|
},
|
// 原生底部导航栏:图标仅支持本地图片文件(不支持 base64 / SVG / 网络图)
|
"tabBar": {
|
"color": "#64748B", // 未选中文案色
|
"selectedColor": "#003E7E", // 选中文案色
|
"backgroundColor": "#FFFFFF", // 背景色
|
"borderStyle": "white", // 仅支持 black / white,对应设计稿 #F1F5F9 顶描边
|
"list": [
|
{
|
"pagePath": "pages/index/index",
|
"text": "代谢300",
|
"iconPath": "static/tabbar/tab-home.png",
|
"selectedIconPath": "static/tabbar/tab-home-active.png"
|
},
|
{
|
"pagePath": "pages/health-plan/index",
|
"text": "健康方案",
|
"iconPath": "static/tabbar/tab-plan.png",
|
"selectedIconPath": "static/tabbar/tab-plan-active.png"
|
},
|
{
|
"pagePath": "pages/order/index",
|
"text": "我的订单",
|
"iconPath": "static/tabbar/tab-order.png",
|
"selectedIconPath": "static/tabbar/tab-order-active.png"
|
},
|
{
|
"pagePath": "pages/profile/index",
|
"text": "个人中心",
|
"iconPath": "static/tabbar/tab-profile.png",
|
"selectedIconPath": "static/tabbar/tab-profile-active.png"
|
}
|
]
|
},
|
"uniIdRouter": {}
|
}
|