2022-11-15 10:03:13 +00:00
|
|
|
|
{
|
|
|
|
|
"pages": [
|
|
|
|
|
{ // 公共入口
|
|
|
|
|
"path": "pages/pagehome/pagehome",
|
|
|
|
|
"style": {
|
|
|
|
|
"navigationBarTitleText": "公共入口",
|
|
|
|
|
"enablePullDownRefresh": false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ // 打卡
|
|
|
|
|
"path": "pages/worker/sign/sign",
|
|
|
|
|
"style": {
|
|
|
|
|
"navigationBarTitleText": "打卡",
|
2022-11-28 06:26:17 +00:00
|
|
|
|
"enablePullDownRefresh": true
|
2022-11-15 10:03:13 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ // 加班
|
|
|
|
|
"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": "打卡",
|
2022-11-28 06:26:17 +00:00
|
|
|
|
"enablePullDownRefresh": true
|
2022-11-15 10:03:13 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ // 支出
|
|
|
|
|
"path": "pages/director/expenditure/expenditure",
|
|
|
|
|
"style": {
|
|
|
|
|
"navigationBarTitleText": "支出",
|
2022-11-28 06:26:17 +00:00
|
|
|
|
"enablePullDownRefresh": true
|
2022-11-15 10:03:13 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ // 录入
|
|
|
|
|
"path": "pages/director/enter/enter",
|
|
|
|
|
"style": {
|
|
|
|
|
"navigationBarTitleText": "录入",
|
2022-11-28 06:26:17 +00:00
|
|
|
|
"enablePullDownRefresh": true
|
2022-11-15 10:03:13 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ // 加班
|
|
|
|
|
"path": "pages/director/overtime/overtime",
|
|
|
|
|
"style": {
|
|
|
|
|
"navigationBarTitleText": "加班",
|
2022-11-28 06:26:17 +00:00
|
|
|
|
"enablePullDownRefresh": true
|
2022-11-15 10:03:13 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ // 登录
|
|
|
|
|
"path": "pages/login/login",
|
|
|
|
|
"style": {
|
|
|
|
|
"navigationBarTitleText": "登录",
|
|
|
|
|
"enablePullDownRefresh": false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
2022-11-16 10:20:26 +00:00
|
|
|
|
"subPackages": [{ //A包
|
|
|
|
|
"root": "pagesA",
|
|
|
|
|
"pages": [
|
|
|
|
|
{ //基本信息
|
|
|
|
|
"path" : "information/information",
|
|
|
|
|
"style" : {
|
|
|
|
|
"navigationBarTitleText": "基本信息",
|
|
|
|
|
"enablePullDownRefresh": false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ //打卡记录
|
|
|
|
|
"path" : "signRecord/signRecord",
|
|
|
|
|
"style" : {
|
|
|
|
|
"navigationBarTitleText": "打卡记录",
|
2022-11-28 06:26:17 +00:00
|
|
|
|
"enablePullDownRefresh": true
|
2022-11-16 10:20:26 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ //工资记录
|
|
|
|
|
"path" : "wagesRecord/wagesRecord",
|
|
|
|
|
"style" : {
|
|
|
|
|
"navigationBarTitleText": "工资记录",
|
2022-11-28 06:26:17 +00:00
|
|
|
|
"enablePullDownRefresh": true
|
2022-11-16 10:20:26 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ //加班记录
|
|
|
|
|
"path" : "overtimeRecord/overtimeRecord",
|
|
|
|
|
"style" : {
|
|
|
|
|
"navigationBarTitleText": "加班记录",
|
2022-11-28 06:26:17 +00:00
|
|
|
|
"enablePullDownRefresh": true
|
2022-11-16 10:20:26 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ //编辑加班
|
|
|
|
|
"path" : "overtimeEdit/overtimeEdit",
|
|
|
|
|
"style" : {
|
|
|
|
|
"navigationBarTitleText": "编辑加班",
|
|
|
|
|
"enablePullDownRefresh": false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ //单页
|
|
|
|
|
"path" : "singlePage/singlePage",
|
|
|
|
|
"style" : {
|
2022-11-28 06:26:17 +00:00
|
|
|
|
"navigationBarTitleText": "单页",
|
2022-11-16 10:20:26 +00:00
|
|
|
|
"enablePullDownRefresh": false
|
|
|
|
|
}
|
2022-11-18 10:33:37 +00:00
|
|
|
|
},
|
|
|
|
|
{ //录入详情
|
|
|
|
|
"path" : "enterDetail/enterDetail",
|
|
|
|
|
"style" : {
|
|
|
|
|
"navigationBarTitleText": "录入详情",
|
|
|
|
|
"enablePullDownRefresh": false
|
|
|
|
|
}
|
2022-11-16 10:20:26 +00:00
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"preloadRule": {
|
|
|
|
|
"pages/worker/my/my": {
|
|
|
|
|
"network": "all",
|
|
|
|
|
"packages": ["pagesA"]
|
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-15 10:03:13 +00:00
|
|
|
|
"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函数里面得到
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|