145 lines
3.1 KiB
JSON
145 lines
3.1 KiB
JSON
{
|
||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
||
{
|
||
"path": "pages/index/index",
|
||
"style": {
|
||
"navigationBarTitleText": "首页"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/category/category",
|
||
"style": {
|
||
"navigationBarTitleText": "分类"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/category/product-list",
|
||
"style": {
|
||
"navigationBarTitleText": "",
|
||
"navigationStyle": "custom",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/cart/cart",
|
||
"style": {
|
||
"navigationBarTitleText": "购物车"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/user/user",
|
||
"style": {
|
||
"navigationBarTitleText": "我的"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/login/social",
|
||
"style": {
|
||
"navigationBarTitleText": "授权登录"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/login/mobile",
|
||
"style": {
|
||
"navigationBarTitleText": "手机登录"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/forgot/forgot",
|
||
"style": {
|
||
"navigationBarTitleText": "忘记密码"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/profile/profile",
|
||
"style": {
|
||
"navigationBarTitleText": "个人资料"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/setting/setting",
|
||
"style": {
|
||
"navigationBarTitleText": "账户设置"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/product/product",
|
||
"style": {
|
||
"navigationBarTitleText": "商品详情"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/checkout/checkout",
|
||
"style": {
|
||
"navigationBarTitleText": "填写订单"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/order/order",
|
||
"style": {
|
||
"navigationBarTitleText": "我的订单"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/address/list",
|
||
"style": {
|
||
"navigationBarTitleText": "收货地址"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/search/search",
|
||
"style": {
|
||
"navigationBarTitleText": "搜索"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/address/create",
|
||
"style": {
|
||
"navigationBarTitleText": "新增地址"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/address/update",
|
||
"style": {
|
||
"navigationBarTitleText": "修改地址"
|
||
}
|
||
}
|
||
],
|
||
"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"
|
||
},
|
||
{
|
||
"pagePath": "pages/user/user",
|
||
"text": "我的",
|
||
"iconPath": "/static/images/tabbar/user.png",
|
||
"selectedIconPath": "/static/images/tabbar/user-active.png"
|
||
}
|
||
]
|
||
},
|
||
"globalStyle": {
|
||
"navigationBarTextStyle": "black",
|
||
"navigationBarTitleText": "yudao-ui-app",
|
||
"navigationBarBackgroundColor": "#ffffff",
|
||
"backgroundColor": "#ffffff"
|
||
}
|
||
}
|