2022-04-06 16:08:26 +08:00
|
|
|
|
{
|
|
|
|
|
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/index/index",
|
|
|
|
|
"style": {
|
|
|
|
|
"navigationBarTitleText": "首页"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/category/category",
|
|
|
|
|
"style": {
|
|
|
|
|
"navigationBarTitleText": "分类"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/cart/cart",
|
|
|
|
|
"style": {
|
|
|
|
|
"navigationBarTitleText": "购物车"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/user/user",
|
|
|
|
|
"style": {
|
|
|
|
|
"navigationBarTitleText": "我的"
|
|
|
|
|
}
|
2022-04-10 01:21:21 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/login/login",
|
|
|
|
|
"style": {
|
|
|
|
|
"navigationBarTitleText": "账号登录"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/register/register",
|
|
|
|
|
"style": {
|
|
|
|
|
"navigationBarTitleText": "注册账号"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/forgot/forgot",
|
|
|
|
|
"style": {
|
|
|
|
|
"navigationBarTitleText": "忘记密码"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/profile/profile",
|
|
|
|
|
"style": {
|
|
|
|
|
"navigationBarTitleText": "个人资料"
|
|
|
|
|
}
|
2022-04-11 23:02:08 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/product/product",
|
|
|
|
|
"style": {
|
|
|
|
|
"navigationBarTitleText": "商品详情"
|
|
|
|
|
}
|
2022-04-19 17:58:39 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/address/list",
|
|
|
|
|
"style": {
|
2022-04-21 01:46:45 +08:00
|
|
|
|
"navigationBarTitleText": "收货地址"
|
2022-04-19 17:58:39 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/search/search",
|
|
|
|
|
"style": {
|
2022-04-21 01:46:45 +08:00
|
|
|
|
"navigationBarTitleText": "搜索"
|
2022-04-19 17:58:39 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/address/add",
|
|
|
|
|
"style": {
|
|
|
|
|
"navigationBarTitleText": "新增地址"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/address/edit",
|
|
|
|
|
"style": {
|
|
|
|
|
"navigationBarTitleText": "修改地址"
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-04-06 16:08:26 +08:00
|
|
|
|
],
|
|
|
|
|
"tabBar": {
|
|
|
|
|
"selectedColor": "#333333",
|
|
|
|
|
"color": "#bfbfbf",
|
|
|
|
|
"list": [
|
|
|
|
|
{
|
|
|
|
|
"pagePath": "pages/index/index",
|
|
|
|
|
"text": "首页",
|
|
|
|
|
"iconPath": "/static/images/tabbar/index.png",
|
|
|
|
|
"selectedIconPath": "/static/images/tabbar/index-active.png"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"pagePath": "pages/category/category",
|
|
|
|
|
"text": "分类",
|
|
|
|
|
"iconPath": "/static/images/tabbar/category.png",
|
|
|
|
|
"selectedIconPath": "/static/images/tabbar/category-active.png"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"pagePath": "pages/cart/cart",
|
|
|
|
|
"text": "购物车",
|
|
|
|
|
"iconPath": "/static/images/tabbar/cart.png",
|
|
|
|
|
"selectedIconPath": "/static/images/tabbar/cart-active.png"
|
|
|
|
|
},
|
|
|
|
|
{
|
2022-04-10 01:21:21 +08:00
|
|
|
|
"pagePath": "pages/user/user",
|
2022-04-06 16:08:26 +08:00
|
|
|
|
"text": "我的",
|
|
|
|
|
"iconPath": "/static/images/tabbar/user.png",
|
|
|
|
|
"selectedIconPath": "/static/images/tabbar/user-active.png"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"globalStyle": {
|
2022-04-19 17:58:39 +08:00
|
|
|
|
"navigationBarTextStyle": "black",
|
2022-04-06 16:08:26 +08:00
|
|
|
|
"navigationBarTitleText": "yudao-ui-app",
|
|
|
|
|
"navigationBarBackgroundColor": "#F8F8F8",
|
|
|
|
|
"backgroundColor": "#FFFFFF"
|
|
|
|
|
}
|
|
|
|
|
}
|