257 lines
6.7 KiB
JSON
257 lines
6.7 KiB
JSON
{
|
|
"pages": [
|
|
{
|
|
"path": "pages/index/index",
|
|
"style": {
|
|
"navigationBarTitleText": "首页"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/menu/menu",
|
|
"style": {
|
|
"navigationBarTitleText": "点餐",
|
|
"enablePullDownRefresh": true
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/order/order",
|
|
"style": {
|
|
"navigationBarTitleText": "订单",
|
|
"enablePullDownRefresh": true
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/mine/mine",
|
|
"style": {
|
|
"navigationBarTitleText": "我的",
|
|
"enablePullDownRefresh": true
|
|
}
|
|
}
|
|
],
|
|
"subPackages": [
|
|
{
|
|
"root": "pages-checkout",
|
|
"pages": [
|
|
{
|
|
"path": "pay/pay",
|
|
"style": {
|
|
"navigationBarTitleText": "支付",
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarBackgroundColor": "#ffffff"
|
|
}
|
|
},
|
|
{
|
|
"path": "remark/remark",
|
|
"style": {
|
|
"navigationBarTitleText": "备注",
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarBackgroundColor": "#ffffff"
|
|
}
|
|
},
|
|
{
|
|
"path": "packages/index",
|
|
"style": {
|
|
"navigationBarTitleText": "可用优惠券",
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarBackgroundColor": "#ffffff",
|
|
"enablePullDownRefresh": true
|
|
}
|
|
},
|
|
{
|
|
"path": "shop/shop",
|
|
"style": {
|
|
"navigationBarTitleText": "店铺",
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarBackgroundColor": "#ffffff"
|
|
}
|
|
},
|
|
{
|
|
"path": "cart/cart",
|
|
"style": {
|
|
"navigationBarTitleText": "购物车",
|
|
"enablePullDownRefresh": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"root": "pages-order",
|
|
"pages": [
|
|
{
|
|
"path": "orders/orders",
|
|
"style": {
|
|
"navigationBarTitleText": "历史订单",
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarBackgroundColor": "#ffffff",
|
|
"enablePullDownRefresh": true,
|
|
"onReachBottomDistance": 50
|
|
}
|
|
},
|
|
{
|
|
"path": "orders/detail",
|
|
"style": {
|
|
"navigationBarTitleText": "订单详情",
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarBackgroundColor": "#ffffff"
|
|
}
|
|
},
|
|
{
|
|
"path": "orders/refund",
|
|
"style": {
|
|
"navigationBarTitleText": "退款",
|
|
"enablePullDownRefresh": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"root": "pages-user",
|
|
"pages": [
|
|
{
|
|
"path": "login/login",
|
|
"style": {
|
|
"navigationBarTitleText": "登录",
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarBackgroundColor": "#ffffff"
|
|
}
|
|
},
|
|
{
|
|
"path": "login/logout",
|
|
"style": {
|
|
"navigationBarTitleText": "退出登录"
|
|
}
|
|
},
|
|
{
|
|
"path": "address/address",
|
|
"style": {
|
|
"navigationBarTitleText": "我的地址",
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarBackgroundColor": "#ffffff"
|
|
}
|
|
},
|
|
{
|
|
"path": "address/add",
|
|
"style": {
|
|
"navigationBarTitleText": "添加地址",
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarBackgroundColor": "#ffffff"
|
|
}
|
|
},
|
|
{
|
|
"path": "coupons/coupons",
|
|
"style": {
|
|
"enablePullDownRefresh": true,
|
|
"navigationBarTitleText": "我的卡券",
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarBackgroundColor": "#ffffff"
|
|
}
|
|
},
|
|
{
|
|
"path": "mine/userinfo",
|
|
"style": {
|
|
"navigationBarTitleText": "用户信息",
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarBackgroundColor": "#ffffff"
|
|
}
|
|
},
|
|
{
|
|
"path": "mine/content",
|
|
"style": {
|
|
"navigationBarTitleText": "内容",
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarBackgroundColor": "#ffffff"
|
|
}
|
|
},
|
|
{
|
|
"path": "balance/bill",
|
|
"style": {
|
|
"navigationBarTitleText": "账单",
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarBackgroundColor": "#ffffff"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"root": "pages-score",
|
|
"pages": [
|
|
{
|
|
"path": "scoreproduct/list",
|
|
"style": {
|
|
"navigationBarTitleText": "积分商城",
|
|
"enablePullDownRefresh": true
|
|
}
|
|
},
|
|
{
|
|
"path": "scoreproduct/detail",
|
|
"style": {
|
|
"navigationBarTitleText": "产品详情",
|
|
"enablePullDownRefresh": true
|
|
}
|
|
},
|
|
{
|
|
"path": "scoreproduct/order",
|
|
"style": {
|
|
"navigationBarTitleText": "订单列表",
|
|
"enablePullDownRefresh": true
|
|
}
|
|
},
|
|
{
|
|
"path": "scoreproduct/orderDetail",
|
|
"style": {
|
|
"navigationBarTitleText": "订单详情",
|
|
"enablePullDownRefresh": true
|
|
}
|
|
},
|
|
{
|
|
"path": "scoreproduct/confirm",
|
|
"style": {
|
|
"navigationBarTitleText": "确认",
|
|
"enablePullDownRefresh": false
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"globalStyle": {
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarTitleText": " ",
|
|
"navigationBarBackgroundColor": "#F8F8F8",
|
|
"backgroundColor": "#F8F8F8",
|
|
"navigationStyle": "custom"
|
|
},
|
|
"tabBar": {
|
|
"color": "#919293",
|
|
"selectedColor": "#09b4f1",
|
|
"backgroundColor": "#fff",
|
|
"borderStyle": "black",
|
|
"list": [
|
|
{
|
|
"pagePath": "pages/index/index",
|
|
"text": "首页",
|
|
"iconPath": "static/images/tabBar/index.png",
|
|
"selectedIconPath": "static/images/tabBar/index_selected.png"
|
|
},
|
|
{
|
|
"pagePath": "pages/menu/menu",
|
|
"text": "点餐",
|
|
"iconPath": "static/images/tabBar/drink.png",
|
|
"selectedIconPath": "static/images/tabBar/drink-selected.png"
|
|
},
|
|
{
|
|
"pagePath": "pages/order/order",
|
|
"text": "订单",
|
|
"iconPath": "static/images/tabBar/order.png",
|
|
"selectedIconPath": "static/images/tabBar/order-selected.png"
|
|
},
|
|
{
|
|
"pagePath": "pages/mine/mine",
|
|
"text": "我的",
|
|
"iconPath": "static/images/tabBar/mine.png",
|
|
"selectedIconPath": "static/images/tabBar/mine_selected.png"
|
|
}
|
|
]
|
|
},
|
|
"uniIdRouter": {}
|
|
}
|