1 Star 0 Fork 0

陈瑞业/小兔鲜微信小程序

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pages.json 4.42 KB
一键复制 编辑 原始数据 按行查看 历史
陈瑞业 提交于 2024-02-03 20:32 . 初始化项目
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/home/home",
"style": {
"navigationStyle": "custom", // 隐藏导航栏 自定义
"navigationBarTextStyle": "white", // 导航栏信号电量等改为白色
"navigationBarTitleText": "首页",
"enablePullDownRefresh": false
}
},
{
"path": "pages/cate/cate",
"style": {
"navigationBarTitleText": "分类",
"enablePullDownRefresh": false
}
},
{
"path": "pages/cart/cart",
"style": {
"navigationBarTitleText": "购物车",
"enablePullDownRefresh": false
}
},
{
"path" : "pages/cart/cartTwo",
"style" :
{
"navigationBarTitleText" : "购物车",
"enablePullDownRefresh" : false
}
},
{
"path": "pages/my/my",
"style": {
"navigationStyle": "custom", // 隐藏导航栏 自定义
"navigationBarTextStyle": "white", // 导航栏信号电量等改为白色
"navigationBarTitleText": "我的",
"enablePullDownRefresh": false
}
},
{
"path" : "pages/hot/hot",
"style" :
{
"navigationBarTitleText" : "热门推荐",
"enablePullDownRefresh" : false
}
},
{
"path" : "pages/goods/goods",
"style" :
{
"navigationBarTitleText" : "商品详情",
"enablePullDownRefresh" : false
}
},
{
"path" : "pages/login/login",
"style" :
{
"navigationBarTitleText" : "登录",
"enablePullDownRefresh" : false
}
}
],
// 分包
"subPackages": [{
"root": "subpkg",
"pages": [
{
"path" : "settings/settings",
"style": {
"navigationBarTitleText": "设置",
"enablePullDownRefresh": false
}
},
{
"path" : "profile/profile",
"style" :
{
"navigationStyle": "custom", // 隐藏导航栏 自定义
"navigationBarTextStyle": "white",
"navigationBarTitleText" : "个人信息",
"enablePullDownRefresh" : false
}
},
{
"path" : "address/address",
"style" :
{
"navigationBarTitleText" : "地址管理",
"enablePullDownRefresh" : false
}
},
{
"path" : "addressForm/addressForm",
"style" :
{
"navigationBarTitleText" : "",
"enablePullDownRefresh" : false
}
},
{
"path" : "create/create",
"style" :
{
"navigationBarTitleText" : "创建订单",
"enablePullDownRefresh" : false
}
},
{
"path" : "detail/detail",
"style" :
{
"navigationStyle": "custom",
"navigationBarTitleText" : "订单详情",
"enablePullDownRefresh" : false
}
},
{
"path" : "payment/payment",
"style" :
{
"navigationBarTitleText" : "支付结果",
"enablePullDownRefresh" : false
}
},
{
"path" : "list/list",
"style" :
{
"navigationBarTitleText" : "订单列表",
"enablePullDownRefresh" : false
}
}
]
}],
// 分包预下载规则 (打开my页面的时候,所有网络情况,都预下载subpkg分包里面的页面)
"preloadRule": {
"pages/my/my": {
"network": "all",
"packages": ["subpkg"]
}
},
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "商城",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
},
"tabBar": {
"selectedColor": "#00c3a0",
"list": [{
"pagePath": "pages/home/home",
"text": "首页",
"iconPath": "static/icons/home.png",
"selectedIconPath": "static/icons/home-active.png"
},
{
"pagePath": "pages/cate/cate",
"text": "分类",
"iconPath": "static/icons/cate.png",
"selectedIconPath": "static/icons/cate-active.png"
},
{
"pagePath": "pages/cart/cart",
"text": "购物车",
"iconPath": "static/icons/cart.png",
"selectedIconPath": "static/icons/cart-active.png"
},
{
"pagePath": "pages/my/my",
"text": "我的",
"iconPath": "static/icons/my.png",
"selectedIconPath": "static/icons/my-active.png"
}
]
},
// 只要组件安装在项目的 components 目录下,并符合 components/组件名称/组件名称.vue 目录结构。就可以不用引用、注册,直接在页面中使用。
// 组件自动引入规则
// "easycom": {
// // 是否开启自动引入
// "autoscan": true,
// // 以正则的方式完成引入
// "custom": {
// // Xtx 开头的组件,在 components 目录中查找
// "^Xtx(.*)": "@/components/Xtx$1.vue"
// }
// },
"uniIdRouter": {}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chenruiye/little-rabbit-fresh.git
git@gitee.com:chenruiye/little-rabbit-fresh.git
chenruiye
little-rabbit-fresh
小兔鲜微信小程序
master

搜索帮助