1 Star 3 Fork 1

开源小程序 / 头像编辑助手

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pages.json 3.51 KB
一键复制 编辑 原始数据 按行查看 历史
修心 提交于 2022-12-20 11:37 . first commit
{
"condition": { //模式配置,仅开发期间生效
"current": 2, //当前激活的模式(list 的索引项)
"list": [{
"name": "Mask", //模式名称
"path": "pages/mask/add-mask", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到
},
{
"name": "Slogan", //模式名称
"path": "pages/slogan/add-slogan", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到
},
{
"name": "SaveDone", //模式名称
"path": "pages/mask/save-done", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到
},
{
"name": "bg", //模式名称
"path": "page-chat-bg/pages/index/index", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到
}
]
},
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
// "navigationBarBackgroundColor": "#C12928",
"disableScroll": false,
"navigationStyle": "custom"
}
},
{
"path": "pages/mask/add-mask",
"style": {
// "navigationBarBackgroundColor": "#C12928",
"disableScroll": true,
"navigationStyle": "custom"
}
},
{
"path": "pages/mask/save-done",
"style": {
"disableScroll": true,
"navigationBarTitleText": " 保存成功"
}
},
{
"path": "pages/slogan/add-slogan",
"style": {
// "navigationBarBackgroundColor": "#C12928",
"disableScroll": true,
"navigationStyle": "custom"
}
},
{
"path": "pages/about/about",
"style": {
"disableScroll": true,
"navigationStyle": "custom"
}
},
{
"path": "pages/crop/crop",
"style": {
"disableScroll": true,
"navigationStyle": "custom"
}
},
{
"path": "pages/text/add-text",
"style": {
"disableScroll": true,
"navigationBarTitleText": "头像加字"
// "navigationStyle": "custom"
}
}
],
"subPackages": [{
"root": "page-chat-bg",
"pages": [{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "微信聊天背景"
},
"name": "chat-bg"
},
{
"path": "pages/download/download",
"style": {
"navigationBarTitleText": "下载",
"disableScroll": true
}
}
]
}],
"preloadRule": {
"page-chat-bg/pages/index/index": {
"network": "all",
"packages": ["__APP__"]
},
"pages/index/index": {
"network": "all",
"packages": ["page-chat-bg"]
}
},
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "戴口罩,促防疫",
"navigationBarBackgroundColor": "#FFF",
"backgroundColor": "#C12928"
},
"tabBar": {
"selectedColor": "#C12928",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "pages/index/index",
"iconPath": "static/image/tabbar/home-off.png",
"selectedIconPath": "static/image/tabbar/home-on.png",
"text": "首页"
},
{
"pagePath": "pages/mask/add-mask",
"iconPath": "static/image/tabbar/mask-off.png",
"selectedIconPath": "static/image/tabbar/mask-on.png",
"text": "戴口罩"
},
{
"pagePath": "pages/slogan/add-slogan",
"iconPath": "static/image/tabbar/fight-off.png",
"selectedIconPath": "static/image/tabbar/fight-on.png",
"text": "加口号"
},
{
"pagePath": "pages/about/about",
"iconPath": "static/image/tabbar/发现-off.png",
"selectedIconPath": "static/image/tabbar/发现-on.png",
"text": "更多好玩"
}
]
}
}
JavaScript
1
https://gitee.com/open-source-applet/avatar_editing_assistant.git
git@gitee.com:open-source-applet/avatar_editing_assistant.git
open-source-applet
avatar_editing_assistant
头像编辑助手
master

搜索帮助