mall-uniapp/pages.json

552 lines
12 KiB
JSON
Raw Permalink Normal View History

2020-08-13 08:12:57 +00:00
{
"pages": [ //pages数组中第一项表示应用启动页参考https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "首页",
"navigationStyle": "custom"
// "app-plus": {
// "scrollIndicator": false //禁用原生导航栏
// }
2020-08-13 08:12:57 +00:00
}
},
{
"path": "pages/order_addcart/order_addcart",
"style": {
"navigationBarTitleText": "购物车"
}
},
{
"path": "pages/user/index",
"style": {
"navigationBarTitleText": "个人中心",
"navigationBarBackgroundColor": "#e93323"
// #ifdef MP
,
"navigationBarTextStyle": "#fff"
2020-08-13 08:12:57 +00:00
// #endif
}
},
{
"path": "pages/goods_details/index",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/goods_cate/goods_cate",
"style": {
"navigationBarTitleText": "商品分类"
}
},
{
"path": "pages/retrieve_password/index",
"style": {
"navigationBarTitleText": "找回密码"
}
},
// #ifdef H5
{
"path": "pages/customer_list/index",
"style": {
"navigationBarTitleText": "客服列表"
}
},
{
"path": "pages/customer_list/chat",
"style": {
"navigationBarTitleText": "客服聊天"
}
},
// #endif
{
"path": "pages/goods_list/index",
"style": {
"navigationBarTitleText": "商品列表"
}
},
{
"path": "pages/news_list/index",
"style": {
"navigationBarTitleText": "资讯"
}
},
{
"path": "pages/news_details/index",
"style": {
"navigationBarTitleText": "资讯详情"
}
},
//#ifdef H5
{
"path": "pages/auth/index",
"style": {
2023-08-31 11:21:22 +00:00
"navigationBarTitleText": "芋道商城"
2020-08-13 08:12:57 +00:00
}
},
//#endif
{
"path": "pages/goods_search/index",
"style": {
"navigationBarTitleText": "搜索商品"
}
},
{
"path": "pages/order_pay_status/index",
"style": {
"navigationBarTitleText": "支付成功"
}
},
{
"path": "pages/order_details/index",
"style": {
"navigationBarTitleText": "订单详情",
"navigationBarBackgroundColor": "#e93323"
// #ifdef MP
,
"navigationBarTextStyle": "#fff"
// #endif
2020-08-13 08:12:57 +00:00
}
}, {
"path": "pages/index/components/a_seckill",
"style": {}
}, {
"path": "pages/index/components/b_combination",
"style": {}
2020-08-13 08:12:57 +00:00
}
],
"subPackages": [{
"root": "pages/users",
"name": "users",
"pages": [
{
"path": "privacy/index",
"style": {
"navigationBarTitleText": "隐私协议"
}
},
{
"path": "web_page/index",
"style": {
}
},
{
"path": "user_info/index",
"style": {
"navigationBarTitleText": "个人资料"
}
},
{
"path": "user_get_coupon/index",
"style": {
"navigationBarTitleText": "领取优惠券"
}
},
{
"path": "user_goods_collection/index",
"style": {
"navigationBarTitleText": "收藏商品"
}
},
{
"path": "user_sgin/index",
"style": {
"navigationBarTitleText": "签到"
}
},
{
"path": "user_sgin_list/index",
"style": {
"navigationBarTitleText": "签到记录"
}
},
{
"path": "user_money/index",
"style": {
"navigationBarTitleText": "我的账户"
}
},
{
"path": "user_bill/index",
"style": {
"navigationBarTitleText": "账单明细"
}
},
{
"path": "user_integral/index",
"style": {
"navigationBarTitleText": "积分详情"
}
},
{
"path": "user_coupon/index",
"style": {
"navigationBarTitleText": "我的优惠券"
}
},
{
"path": "user_spread_user/index",
"style": {
"navigationBarTitleText": "我的推广",
"navigationBarBackgroundColor": "#e93323"
// #ifdef MP
,
"navigationBarTextStyle": "#fff"
// #endif
}
},
{
"path": "user_spread_code/index",
"style": {
"navigationBarTitleText": "分销海报"
}
},
{
"path": "user_spread_money/index",
"style": {
"navigationBarTitleText": "佣金记录",
"navigationBarBackgroundColor": "#e93323"
// #ifdef MP
,
"navigationBarTextStyle": "#fff"
// #endif
}
},
{
"path": "user_cash/index",
"style": {
"navigationBarTitleText": "提现",
"navigationBarBackgroundColor": "#e93323"
// #ifdef MP
,
"navigationBarTextStyle": "#fff"
// #endif
}
},
{
"path": "user_vip/index",
"style": {
"navigationBarTitleText": "会员中心"
}
},
{
"path": "user_address_list/index",
"style": {
"navigationBarTitleText": "地址管理"
}
},
{
"path": "user_address/index",
"style": {
"navigationBarTitleText": "添加地址"
}
},
{
"path": "user_phone/index",
"style": {
"navigationBarTitleText": "修改手机号",
"navigationBarBackgroundColor": "#e93323"
// #ifdef MP
,
"navigationBarTextStyle": "#fff"
// #endif
}
},
{
"path": "user_payment/index",
"style": {
"navigationBarTitleText": "余额充值"
}
},
{
"path": "user_pwd_edit/index",
"style": {
"navigationBarTitleText": "修改密码",
"navigationBarBackgroundColor": "#e93323"
// #ifdef MP
,
"navigationBarTextStyle": "#fff"
// #endif
}
},
2020-08-13 08:12:57 +00:00
{
"path": "order_confirm/index",
"style": {
"navigationBarTitleText": "提交订单"
}
},
{
"path": "goods_details_store/index",
"style": {
"navigationBarTitleText": "门店列表"
}
},
{
"path": "promoter-list/index",
"style": {
"navigationBarTitleText": "推广人列表",
"navigationBarBackgroundColor": "#e93323"
// #ifdef MP
,
"navigationBarTextStyle": "#fff"
// #endif
2020-08-13 08:12:57 +00:00
}
},
{
"path": "promoter-order/index",
"style": {
"navigationBarTitleText": "推广人订单",
"navigationBarBackgroundColor": "#e93323"
// #ifdef MP
,
"navigationBarTextStyle": "#fff"
// #endif
2020-08-13 08:12:57 +00:00
}
},
{
"path": "promoter_rank/index",
"style": {
"navigationBarTitleText": "推广人排行",
"navigationBarBackgroundColor": "#e93323"
// #ifdef MP
,
"navigationBarTextStyle": "#fff"
// #endif
2020-08-13 08:12:57 +00:00
}
},
{
"path": "commission_rank/index",
"style": {
"navigationBarTitleText": "佣金排行",
"navigationBarBackgroundColor": "#e93323"
// #ifdef MP
,
"navigationBarTextStyle": "#fff"
// #endif
2020-08-13 08:12:57 +00:00
}
},
{
"path": "order_list/index",
"style": {
"navigationBarTitleText": "我的订单"
}
},
{
"path": "goods_logistics/index",
"style": {
"navigationBarTitleText": "物流信息"
}
},
{
"path": "user_return_list/index",
"style": {
"navigationBarTitleText": "退货列表"
}
},
{
"path": "user_return_detail/index",
"style": {
"navigationBarTitleText": "退货详情"
}
},
2020-08-13 08:12:57 +00:00
{
"path": "goods_return/index",
"style": {
"navigationBarTitleText": "申请退货"
}
},
{
"path": "goods_return_delivery/index",
"style": {
"navigationBarTitleText": "填写退货物流"
}
},
2020-08-13 08:12:57 +00:00
{
"path": "login/index",
"style": {
"navigationBarTitleText": "登录"
}
},
{
"path": "goods_comment_list/index",
"style": {
"navigationBarTitleText": "商品评分"
}
},
{
"path": "goods_comment_con/index",
"style": {
"navigationBarTitleText": "商品评价"
}
},
{
"path": "wechat_login/index",
"style": {
"navigationBarTitleText": "账户登录",
"navigationStyle": "custom"
}
},
{
"path": "app_login/index",
"style": {
"navigationBarTitleText": "绑定手机号",
"navigationStyle": "custom"
}
2020-08-13 08:12:57 +00:00
}
]
},
{
"root": "pages/activity",
"name": "activity",
"pages": [{
"path": "goods_bargain/index",
"style": {
"navigationBarTitleText": "砍价列表"
// #ifdef MP
,
"navigationBarTextStyle": "black",
"navigationBarBackgroundColor": "#fff"
2020-08-13 08:12:57 +00:00
// #endif
}
},
{
"path": "goods_bargain_details/index",
"style": {
"navigationBarTitleText": "砍价详情"
// #ifdef MP
,
"navigationBarTextStyle": "black",
"navigationBarBackgroundColor": "#fff"
2020-08-13 08:12:57 +00:00
// #endif
}
},
{
"path": "goods_combination/index",
"style": {
"navigationBarTitleText": "拼团列表"
// #ifdef MP || APP-PLUS
,
"navigationBarTextStyle": "#fff",
"navigationBarBackgroundColor": "#e93323"
2020-08-13 08:12:57 +00:00
// #endif
}
},
{
"path": "goods_combination_details/index",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "goods_combination_status/index",
"style": {
"navigationBarTitleText": "拼团"
}
},
{
"path": "goods_seckill/index",
"style": {
"navigationBarTitleText": "限时秒杀"
2020-08-13 08:12:57 +00:00
// #ifdef MP
,
"navigationBarTextStyle": "#fff",
"navigationBarBackgroundColor": "#e93323"
2020-08-13 08:12:57 +00:00
// #endif
}
},
{
"path": "goods_seckill_details/index",
"style": {
"navigationBarTitleText": "秒杀详情"
2020-08-13 08:12:57 +00:00
// #ifdef MP
,
"navigationStyle": "custom"
2020-08-13 08:12:57 +00:00
// #endif
}
},
2020-08-13 08:12:57 +00:00
{
"path": "bargain/index",
2020-08-13 08:12:57 +00:00
"style": {
"navigationBarTitleText": "砍价记录"
2020-08-13 08:12:57 +00:00
}
}
]
},
{
"root": "pages/columnGoods",
"name": "columnGoods",
"pages": [{
"path": "HotNewGoods/index",
"style": {
"navigationBarTitleText": "精品推荐"
}
}]
}, {
"root": "pages/goods",
"name": "goods",
"pages": [{
"path": "cashier/index",
"style": {
"navigationBarTitleText": "收银台",
"app-plus": {
// #ifdef APP-PLUS
"titleNView": {
"type": "default"
}
// #endif
}
}
}]
}
],
2020-08-13 08:12:57 +00:00
"globalStyle": {
"navigationBarTextStyle": "black",
2023-08-31 11:21:22 +00:00
"navigationBarTitleText": "芋道商城",
2020-08-13 08:12:57 +00:00
"navigationBarBackgroundColor": "#fff",
"backgroundColor": "#F8F8F8",
"titleNView": false,
"rpxCalcMaxDeviceWidth": 960,
"rpxCalcBaseDeviceWidth": 375,
"rpxCalcIncludeWidth": 750
2020-08-13 08:12:57 +00:00
},
"tabBar": {
"color": "#282828",
"selectedColor": "#fc4141",
"borderStyle": "white",
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "pages/index/index",
"iconPath": "static/images/1-001.png",
"selectedIconPath": "static/images/1-002.png",
"text": "首页"
},
2020-08-13 08:12:57 +00:00
{
"pagePath": "pages/goods_cate/goods_cate",
"iconPath": "static/images/2-001.png",
"selectedIconPath": "static/images/2-002.png",
"text": "分类"
},
{
"pagePath": "pages/order_addcart/order_addcart",
"iconPath": "static/images/3-001.png",
"selectedIconPath": "static/images/3-002.png",
"text": "购物车"
},
{
"pagePath": "pages/user/index",
"iconPath": "static/images/4-001.png",
"selectedIconPath": "static/images/4-002.png",
"text": "我的"
2020-08-13 08:12:57 +00:00
}
]
},
"condition": { //模式配置,仅开发期间生效
"current": 0, //当前激活的模式(list 的索引项)
"list": [{
"name": "", //模式名称
"path": "", //启动页面,必选
"query": "" //启动参数在页面的onLoad函数里面得到
}]
2020-08-13 08:12:57 +00:00
}
}