heli-mes/heli-app/src/pages.json

122 lines
2.8 KiB
JSON
Raw Normal View History

2025-01-09 18:29:48 +08:00
{
// 组件自动引入规则
"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/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/my/my",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "我的"
}
},
{
"path": "pages/login/login",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "登录"
}
},
{
"path": "pages/password/password",
"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": {
}
}