加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pages.json 2.54 KB
一键复制 编辑 原始数据 按行查看 历史
郑钦桉 提交于 2020-09-01 13:23 . 完成
{
"easycom": {
"^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
},
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "首页"
}
},
{
"path": "pages/center/index",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/login/login",
"style": {
"navigationBarTitleText": "登录"
}
}, {
"path": "pages/register/register",
"style": {
"navigationBarTitleText": "注册"
}
}, {
"path": "pages/collection/collection",
"style": {
"navigationBarTitleText": "收藏"
}
}, {
"path": "pages/comment/comment",
"style": {
"navigationBarTitleText": "评论"
}
}, {
"path": "pages/article/article",
"style": {
"navigationBarTitleText": "文章"
}
}, {
"path": "pages/setting/setting",
"style": {
"navigationBarTitleText": "个人信息"
}
}, {
"path": "uview-ui/components/u-avatar-cropper/u-avatar-cropper",
"style": {
"navigationBarTitleText": "头像裁剪",
"navigationBarBackgroundColor": "#000000"
}
}
,{
"path" : "pages/modular/modular",
"style" : {
"navigationBarTitleText": "版块"
}
}
,{
"path" : "pages/search/search",
"style" : {
"navigationBarTitleText": "搜索结果"
}
}
,{
"path" : "pages/apply/apply",
"style" : {
"navigationBarTitleText": "博主申请"
}
}
,{
"path" : "pages/myarticle/myarticle",
"style" : {
"navigationBarTitleText": "我的文章"
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uView",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
},
"tabBar": {
"color": "#909399",
"selectedColor": "#303133",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "pages/index/index",
"iconPath": "static/index.png",
"selectedIconPath": "static/index-selected.png",
"text": "首页"
},{
"pagePath": "pages/modular/modular",
"iconPath": "static/modular.png",
"selectedIconPath": "static/modular1.png",
"text": "版块"
},{
"pagePath": "pages/center/index",
"iconPath": "static/center.png",
"selectedIconPath": "static/center-selected.png",
"text": "我"
}]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化