building-sign/pages.json

185 lines
4.5 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": true
}
},
{ // 支出
"path": "pages/director/expenditure/expenditure",
"style": {
"navigationBarTitleText": "支出",
"enablePullDownRefresh": true
}
},
{ // 录入
"path": "pages/director/enter/enter",
"style": {
"navigationBarTitleText": "录入",
"enablePullDownRefresh": true
}
},
{ // 加班
"path": "pages/director/overtime/overtime",
"style": {
"navigationBarTitleText": "加班",
"enablePullDownRefresh": true
}
},
{ // 登录
"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": true
}
},
{ //工资记录
"path" : "wagesRecord/wagesRecord",
"style" : {
"navigationBarTitleText": "工资记录",
"enablePullDownRefresh": true
}
},
{ //加班记录
"path" : "overtimeRecord/overtimeRecord",
"style" : {
"navigationBarTitleText": "加班记录",
"enablePullDownRefresh": true
}
},
{ //编辑加班
"path" : "overtimeEdit/overtimeEdit",
"style" : {
"navigationBarTitleText": "编辑加班",
"enablePullDownRefresh": false
}
},
{ //单页
"path" : "singlePage/singlePage",
"style" : {
"navigationBarTitleText": "单页",
"enablePullDownRefresh": false
}
}
]
},
{ //B包
"root": "pagesB",
"pages": [
{ //录入详情
"path" : "enterDetail/enterDetail",
"style" : {
"navigationBarTitleText": "录入详情",
"enablePullDownRefresh": false
}
},
{ //工人列表
"path" : "worker/worker",
"style" : {
"navigationBarTitleText": "工人列表",
"enablePullDownRefresh": true
}
},
{ //补卡确认
"path" : "repair/repair",
"style" : {
"navigationBarTitleText": "补卡确认",
"enablePullDownRefresh": true
}
},
{ //离职审核
"path" : "quitApply/quitApply",
"style" : {
"navigationBarTitleText": "离职审核",
"enablePullDownRefresh": true
}
},
{ //公告管理
"path" : "notick/notick",
"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函数里面得到
}
]
}
}