加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pages.json 7.01 KB
一键复制 编辑 原始数据 按行查看 历史
颜宏周 提交于 2022-08-17 20:20 . no message
{
// 如果您是通过uni_modules形式引入uView,可以忽略此配置
"easycom": {
"^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue"
},
"pages": [{
"path": "pages/index/index",
"style": {
// #ifndef APP-PLUS
"enablePullDownRefresh": true,
// #endif
// "navigationStyle": "custom"
"navigationBarTitleText": "喵友壁纸"
}
},
{
"path": "pages/ucenter/login-page/index/index",
"style": {
"navigationBarTitleText": "",
"app-plus": {
"animationType": "none",
"popGesture": "none"
}
}
},
{
"path": "pages/ucenter/ucenter",
"style": {
"navigationStyle": "custom"
}
}, {
"path": "pages/ucenter/settings/settings",
"style": {
"navigationBarTitleText": "设置"
}
}, {
"path": "pages/ucenter/userinfo/userinfo",
"style": {
"navigationBarTitleText": "个人资料"
}
}, {
"path": "pages/ucenter/userinfo/cropImage",
"style": {
"navigationStyle": "custom"
}
}, {
}, {
"path": "uni_modules/uni-feedback/pages/opendb-feedback/opendb-feedback",
"style": {
"navigationBarTitleText": "意见反馈",
"enablePullDownRefresh": false
}
},
{
"path": "pages/category/category",
"style": {
"navigationBarTitleText": "分类"
}
},
{
"path": "pages/detail/detail",
"style": {
"navigationBarTitleText": "详情"
}
},{
"path": "pages/search/search",
"style": {
"navigationBarTitleText": "搜索"
}
}, {
"path": "pages/collect/collect",
"style": {
"navigationBarTitleText": "我的收藏",
"enablePullDownRefresh": false
}
},
{
"path": "uni_modules/uni-upgrade-center-app/pages/upgrade-popup",
"style": {
"disableScroll": true,
"app-plus": {
"backgroundColorTop": "transparent",
"background": "transparent",
"titleNView": false,
"scrollIndicator": false,
"popGesture": "none",
"animationType": "fade-in",
"animationDuration": 200
}
}
}
,{
"path" : "pages/search/list/list",
"style" :
{
"navigationBarTitleText": "搜索",
"enablePullDownRefresh": false
// "navigationStyle": "custom"
}
}
,{
"path" : "pages/write/write",
"style" :
{
"navigationBarTitleText": "投稿",
"enablePullDownRefresh": false
}
}
,{
"path" : "pages/write/cate",
"style" :
{
"navigationBarTitleText": "分类",
"enablePullDownRefresh": false
}
},{
"path" : "pages/write/edit",
"style" :
{
"navigationBarTitleText": "上传",
"enablePullDownRefresh": false
}
},{
"path" : "pages/write/tags",
"style" :
{
"navigationBarTitleText": "标签",
"enablePullDownRefresh": false
}
}
],
"subPackages": [{
"root": "pages_a/list",
"pages": [{
"path": "search/search",
"style": {
"navigationBarTitleText": "搜索"
}
}, {
"path": "detail",
"style": {
"app-plus": {
"titleNView": {
"buttons": [{
"type": "share"
}],
"type": "transparent"
}
},
"h5": {
"titleNView": {
"type": "transparent"
}
},
"navigationBarTitleText": "文章详情"
}
}]
},
{
"root": "pages_a/common/",
"pages": [{
"path": "webview/webview",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}]
},
{
"root": "pages_a/cateoryList",
"pages": [{
"path": "cateoryList",
"style": {
"navigationBarTitleText": "分类"
}
}]
},
{
"root": "pages_a/uni-agree",
"pages": [{
"path": "uni-agree",
"style": {
"navigationStyle": "custom",
"app-plus": {
"popGesture": "none"
}
}
}]
},
{
"root": "pages_a/ucenter",
"pages": [{
"path": "settings/deactivate/deactivate",
"style": {
"navigationBarTitleText": "注销提醒",
"enablePullDownRefresh": false
}
},
{
"path": "userinfo/bind-mobile/bind-mobile",
"style": {
"navigationBarTitleText": "绑定手机号码"
}
}, {
"path": "login-page/pwd-retrieve/pwd-retrieve",
"style": {
"navigationBarTitleText": "重置密码"
}
},
{
"path": "read-news-log/read-news-log",
"style": {
"navigationBarTitleText": "阅读记录",
"enablePullDownRefresh": true
}
}, {
"path": "about/about",
"style": {
"navigationBarTitleText": "关于"
// #ifdef APP-PLUS
,
"app-plus": {
"titleNView": {
"buttons": [{
"type": "share"
}]
}
}
// #endif
}
}, {
"path": "login-page/pwd-login/pwd-login",
"style": {
"navigationBarTitleText": ""
}
}, {
"path": "login-page/register/register",
"style": {
"navigationBarTitleText": "注册",
"enablePullDownRefresh": false
}
}, {
"path": "login-page/phone-code/phone-code",
"style": {
"navigationBarTitleText": ""
}
}
]
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-starter",
"navigationBarBackgroundColor": "#FFFFFF",
"backgroundColor": "#F8F8F8",
"enablePullDownRefresh": false,
// "maxWidth":375,
"rpxCalcMaxDeviceWidth": 375,
"rpxCalcBaseDeviceWidth": 375
// "rpxCalcIncludeWidth":0
},
"condition": {
"list": [{
"path": "pages_a/list/detail"
}, {
"path": "pages_a/list/list"
},
{
"path": "pages/ucenter/login-page/index/index"
}, {
"path": "pages/ucenter/userinfo/userinfo"
},
{
"path": "pages/ucenter/settings/settings"
}
],
"current": 1
},
"tabBar": {
"color": "#7A7E83",
"selectedColor": "#007AFF",
"borderStyle": "black",
"backgroundColor": "#FFFFFF",
"list": [{
"pagePath": "pages/index/index",
"iconPath": "static/tabbar/home.png",
"selectedIconPath": "static/tabbar/home_art.png",
"text": "列表"
}, {
"pagePath": "pages/category/category",
"iconPath": "static/tabbar/center.png",
"selectedIconPath": "static/tabbar/center_art.png",
"text": "分类"
}, {
"pagePath": "pages/ucenter/ucenter",
"iconPath": "static/tabbar/user.png",
"selectedIconPath": "static/tabbar/user_art.png",
"text": "我的"
}]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化