加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pages.json 7.21 KB
一键复制 编辑 原始数据 按行查看 历史
Mr-Jies 提交于 2023-12-14 18:37 . 1
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "首页",
"navigationStyle": "custom"
// "app-plus": {
// "scrollIndicator": false //禁用原生导航栏
// }
}
},
{
"path": "pages/order_addcart/order_addcart",
"style": {
"navigationBarTitleText": "购物车"
}
},
{
"path": "pages/user/index",
"style": {
"navigationBarTitleText": "个人中心",
"navigationBarBackgroundColor": "#e93323"
// #ifdef MP
,
"navigationBarTextStyle": "#fff"
// #endif
}
},
{
"path": "pages/goods_details/index",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/goods_cate/goods_cate",
"style": {
"navigationBarTitleText": "商品分类"
}
},
{
"path": "pages/retrieve_password/index",
"style": {
"navigationBarTitleText": "找回密码"
}
},
{
"path": "pages/goods_list/index",
"style": {
"navigationBarTitleText": "商品列表"
}
},
//#ifdef H5
{
"path": "pages/auth/index",
"style": {
"navigationBarTitleText": "商城"
}
},
//#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
}
}, {
"path": "pages/index/components/a_seckill",
"style": {}
}
// {
// "path": "pages/index/components/b_combination",
// "style": {}
// }
],
"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_integral/index",
"style": {
"navigationBarTitleText": "积分详情"
}
},
{
"path": "user_coupon/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_pwd_edit/index",
"style": {
"navigationBarTitleText": "修改密码",
"navigationBarBackgroundColor": "#e93323"
// #ifdef MP
,
"navigationBarTextStyle": "#fff"
// #endif
}
},
{
"path": "order_confirm/index",
"style": {
"navigationBarTitleText": "提交订单"
}
},
{
"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": "退货详情"
}
},
{
"path": "goods_return/index",
"style": {
"navigationBarTitleText": "申请退货"
}
},
{
"path": "goods_return_delivery/index",
"style": {
"navigationBarTitleText": "填写退货物流"
}
},
{
"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"
}
}
]
},
{
"root": "pages/activity",
"name": "activity",
"pages": [
{
"path": "goods_seckill/index",
"style": {
"navigationBarTitleText": "限时秒杀"
// #ifdef MP
,
"navigationBarTextStyle": "#fff",
"navigationBarBackgroundColor": "#e93323"
// #endif
}
},
{
"path": "goods_seckill_details/index",
"style": {
"navigationBarTitleText": "秒杀详情"
// #ifdef MP
,
"navigationStyle": "custom"
// #endif
}
}
]
},
{
"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
}
}
}]
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "商城",
"navigationBarBackgroundColor": "#fff",
"backgroundColor": "#F8F8F8",
"titleNView": false,
"rpxCalcMaxDeviceWidth": 960,
"rpxCalcBaseDeviceWidth": 375,
"rpxCalcIncludeWidth": 750
},
"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": "首页"
},
{
"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": "我的"
}
]
},
"condition": { //模式配置,仅开发期间生效
"current": 0, //当前激活的模式(list 的索引项)
"list": [{
"name": "", //模式名称
"path": "", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到
}]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化