building-sign/pages.json

156 lines
3.8 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{
"pages": [
{ // 公共入口
"path": "pages/pagehome/pagehome",
"style": {
"navigationBarTitleText": "公共入口",
"enablePullDownRefresh": false
}
},
{ // 打卡
"path": "pages/worker/sign/sign",
"style": {
"navigationBarTitleText": "打卡",
"enablePullDownRefresh": false
}
},
{ // 加班
"path": "pages/worker/overtime/overtime",
"style": {
"navigationBarTitleText": "加班",
"enablePullDownRefresh": false
}
},
{ // 我的
"path": "pages/worker/my/my",
"style": {
"navigationBarTitleText": "我的",
"enablePullDownRefresh": false
}
},
{ // 打卡
"path": "pages/director/sign/sign",
"style": {
"navigationBarTitleText": "打卡",
"enablePullDownRefresh": false
}
},
{ // 支出
"path": "pages/director/expenditure/expenditure",
"style": {
"navigationBarTitleText": "支出",
"enablePullDownRefresh": false
}
},
{ // 录入
"path": "pages/director/enter/enter",
"style": {
"navigationBarTitleText": "录入",
"enablePullDownRefresh": false
}
},
{ // 加班
"path": "pages/director/overtime/overtime",
"style": {
"navigationBarTitleText": "加班",
"enablePullDownRefresh": false
}
},
{ // 登录
"path": "pages/login/login",
"style": {
"navigationBarTitleText": "登录",
"enablePullDownRefresh": false
}
}
],
"subPackages": [{ //A包
"root": "pagesA",
"pages": [
{ //基本信息
"path" : "information/information",
"style" : {
"navigationBarTitleText": "基本信息",
"enablePullDownRefresh": false
}
},
{ //打卡记录
"path" : "signRecord/signRecord",
"style" : {
"navigationBarTitleText": "打卡记录",
"enablePullDownRefresh": false
}
},
{ //工资记录
"path" : "wagesRecord/wagesRecord",
"style" : {
"navigationBarTitleText": "工资记录",
"enablePullDownRefresh": false
}
},
{ //加班记录
"path" : "overtimeRecord/overtimeRecord",
"style" : {
"navigationBarTitleText": "加班记录",
"enablePullDownRefresh": false
}
},
{ //编辑加班
"path" : "overtimeEdit/overtimeEdit",
"style" : {
"navigationBarTitleText": "编辑加班",
"enablePullDownRefresh": false
}
},
{ //单页
"path" : "singlePage/singlePage",
"style" : {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
]
},
{ //B包
"root": "pagesB",
"pages": [
// { //个人资料
// "path" : "ucenter/ucenter",
// "style" : {
// "navigationBarTitleText": "",
// "enablePullDownRefresh": false
// }
// },
]
}
],
"preloadRule": {
"pages/worker/my/my": {
"network": "all",
"packages": ["pagesA"]
}
},
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarBackgroundColor": "#ffffff", //导航栏背景色
"navigationStyle": "custom", //禁用原生导航栏,微信小程序可用
"backgroundColor":"#ffffff", //下拉显示出来的窗口的背景色
"backgroundTextStyle":"light", //下拉 loading 的样式,仅支持 dark / light
"app-plus": {
"titleNView": false, //禁用原生导航栏APP和H5可用
"bounce": "none",
"scrollIndicator": "none"
}
},
"condition" : { //模式配置,仅开发期间生效
"current": 0, //当前激活的模式(list 的索引项)
"list": [
{
"name": "", //模式名称
"path": "", //启动页面,必选
"query": "" //启动参数在页面的onLoad函数里面得到
}
]
}
}