PixelAI-mobile/pages.json
2024-12-29 16:09:08 +08:00

126 lines
2.7 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"easycom": {
"^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
},
"pages": [ //pages数组中第一项表示应用启动页参考https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
//公共导航
"style": {
//导航栏标题文字内容
"navigationBarTitleText": "",
//是否开启下拉刷新
"enablePullDownRefresh": true,
"navigationStyle": "custom",
"onReachBottomDistance": 50,
"app-plus": {
"titleNView": true
}
}
},
{
"path": "uview-ui/components/u-avatar-cropper/u-avatar-cropper",
"style": {
"navigationBarTitleText": "头像裁剪",
"navigationBarTextStyle": "black",
"navigationBarBackgroundColor": "#fff"
}
}
],
"subPackages": [
{
"root": "pages/index",
"pages": [
{
"path": "rich-detail",
"style": {
"navigationBarTitleText": "协议内容"
}
},
{
"path": "webview"
// "style": {
// "navigationBarTitleText": ""
// }
}
]
},
{
"root": "pages/pc_web",
"pages": [
{
"path": "index/index",
"style": {
"navigationBarTitleText": "pixel.ai制图"
}
}
]
},
{
"root": "pages/mobile_web",
"pages": [
{
"path": "index/index",
"style": {
"navigationBarTitleText": "pixel.ai制图",
"enablePullDownRefresh": true
}
},
{
"path": "workshops/index",
"style": {
"navigationBarTitleText": "工作室"
}
},
{
"path": "my/child_pages/login",
"style": {
"navigationBarTitleText": "登录"
}
},
{
"path": "my/child_pages/contact",
"style": {
"navigationBarTitleText": "联系客服"
}
},
{
"path": "my/child_pages/setting",
"style": {
"navigationBarTitleText": "个人资料"
}
},
{
"path": "my/child_pages/share",
"style": {
"navigationBarTitleText": "分享记录",
"enablePullDownRefresh": true
}
},
{
"path": "my/child_pages/create",
"style": {
"navigationBarTitleText": "生成记录",
"enablePullDownRefresh": true
}
}
]
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "",
"navigationBarBackgroundColor": "#FFFFFF",
"backgroundColor": "#F8F8F8",
"navigationStyle": "custom"
},
"condition": { //模式配置,仅开发期间生效
"current": 0, //当前激活的模式(list 的索引项)
"list": [{
"name": "", //模式名称
"path": "", //启动页面,必选
"query": "" //启动参数在页面的onLoad函数里面得到
}]
}
}