9 Star 75 Fork 32

惊悚的毛毛虫/uniapp-template

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pages.json 2.06 KB
一键复制 编辑 原始数据 按行查看 历史
惊悚的毛毛虫 提交于 2023-04-27 11:58 . 1. 优化注释
{
"easycom": {
// uview 组件
"^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue",
// 自定义组件
"^cl-(.*)": "@/components/cl-$1/cl-$1.vue"
},
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"name": "index",
"aliasPath": "/",
"meta": {
"title": "首页"
},
"style": {
"navigationStyle": "custom"
}
}, {
"path": "pages/newpage/newpage",
"name": "newpage",
"aliasPath": "/newpage/:id",
"meta": {
"title": "测试"
},
"style": {
"navigationBarTitleText": "测试",
"enablePullDownRefresh": false
}
}, {
"path": "pages/index/zPagingList",
"name": "zPagingList",
"aliasPath": "/zPagingList",
"meta": {
"title": "列表"
},
"style": {
"navigationBarTitleText": "列表",
"enablePullDownRefresh": false
}
}, {
// query 方式传参
"path": "pages/public/richPage/richPage",
// params 传参
"name": "richPage",
"meta": {
"title": "富文本页"
},
"style": {
"navigationBarTitleText": "富文本页",
"enablePullDownRefresh": false
}
}, {
"path": "pages/index/NormalHeader",
"name": "NormalHeader",
"style": {
"navigationBarTitleText": "NormalHeader",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}
],
"subPackages": [{
"root": "pagesA",
"pages": [{
"path": "list/list",
"name": "pagesAList",
"meta": {
"title": "pagesA 分包页面"
},
"style": {
"navigationBarTitleText": "pagesA 分包页面",
"enablePullDownRefresh": false
}
}]
}, {
"root": "pagesB",
"pages": [{
"path": "detail/detail",
"name": "pagesBDetail",
"meta": {
"title": "pagesB 分包页面"
},
"style": {
"navigationBarTitleText": "pagesB 分包页面",
"enablePullDownRefresh": false
}
}]
}],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ChenMuShan/uniapp-template.git
git@gitee.com:ChenMuShan/uniapp-template.git
ChenMuShan
uniapp-template
uniapp-template
master

搜索帮助