heli-mes/mes-ui/mini-app/src/pages.json
2025-06-17 20:47:31 +08:00

175 lines
4.0 KiB
JSON

{
// 组件自动引入规则
"easycom": {
// 是否开启自动扫描
"autoscan": true,
// 以正则方式自定义组件匹配规则
"custom": {
// uni-ui 规则如下配置
"^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue",
// 以 Xtx 开头的组件,在 components 文件夹中查找引入(需要重启服务器)
"^Xtx(.*)": "@/components/Xtx$1.vue"
}
},
"pages": [
{
"path": "pages/index/index",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/previewPdf/previewPdf",
"style": {
"navigationBarTitleText": "预览"
}
},
{
"path": "pages/approveOrder/approveOrder-detail",
"style": {
"navigationBarTitleText": "订单详情"
}
},
{
"path": "pages/approveOrder/approveOrder",
"style": {
"navigationBarTitleText": "订单批准"
}
},
{
"path": "pages/unqualifiedNotification/unqualifiedNotification",
"style": {
"navigationBarTitleText": "品质异常通知单"
}
},
{
"path": "pages/unqualifiedNotification/components/showpicture",
"style": {
"navigationBarTitleText": "品质异常通知单图片"
}
},
{
"path": "pages/approveOrder/components/showFileWx",
"style": {
"navigationBarTitleText": "合同文件预览"
}
},
{
"path": "pages/productionReport/productionReport-detail",
"style": {
"navigationBarTitleText": "报工详情"
}
},
{
"path": "pages/productionReport/productionReport",
"style": {
"navigationBarTitleText": "生产报工"
}
},
{
"path": "pages/assembleReport/assembleReport-detail",
"style": {
"navigationBarTitleText": "报工详情"
}
},
{
"path": "pages/assembleReport/assembleReport",
"style": {
"navigationBarTitleText": "装配报工"
}
},
{
"path": "pages/zjPgMaster/zjPgMaster",
"style": {
"navigationBarTitleText": "终检报工"
}
},
{
"path": "pages/zjPgMaster/zjPgMaster-detail",
"style": {
"navigationBarTitleText": "报工详情"
}
},
{
"path": "pages/pgMaster/pgMaster",
"style": {
"navigationBarTitleText": "过程检报工"
}
},
{
"path": "pages/pgMaster/pgMaster-detail",
"style": {
"navigationBarTitleText": "报工详情"
}
},{
"path": "pages/moJuSheJiReport/moJuSheJiReport",
"style": {
"navigationBarTitleText": "进度上报"
}
},
{
"path": "pages/moJuSheJiReport/moJuSheJiReport-detail",
"style": {
"navigationBarTitleText": "报工详情"
}
},
{
"path": "pages/my/my",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "我的"
}
},
{
"path": "pages/login/login",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "登录"
}
},
{
"path": "pages/password/password",
"style": {
"navigationBarTitleText": "修改密码"
}
},
{
"path" : "pages/messageNotification/messageNotification",
"style" :
{
"navigationBarTitleText" : "消息通知"
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "",
"navigationBarBackgroundColor": "#E8EEF5",
"backgroundColor": "#E8EEF5"
},
// 设置 TabBar
"tabBar": {
"color": "#333",
"selectedColor": "#356899",
"backgroundColor": "#fff",
"borderStyle": "white",
"list": [{
"text": "工作台",
"pagePath": "pages/index/index",
"iconPath": "static/tabs/home_default.png",
"selectedIconPath": "static/tabs/home_selected.png"
},
{
"text": "我的",
"pagePath": "pages/my/my",
"iconPath": "static/tabs/user_default.png",
"selectedIconPath": "static/tabs/user_selected.png"
}
]
},
// 分包预下载规则
"preloadRule": {
}
}