- 新增 pages/home/edit-quick-actions 页面与路由配置 - 全部功能页支持搜索、首字母导航、父子菜单展示、编辑常用(最多24个) - 首页常用功能改为读取 fixed_home_menus 并与最新权限菜单对齐 - user 模块统一菜单归一化逻辑并打印接口菜单列表 - 引入 pinyin-pro 处理中文首字母分组
166 lines
2.9 KiB
JSON
166 lines
2.9 KiB
JSON
{
|
||
// "condition": { //模式配置,仅开发期间生效
|
||
// "current": 0, //当前激活的模式(list 的索引项)
|
||
// "list": [{
|
||
// "name": "test", //模式名称
|
||
// "path": "pages/componentsA/test/test", //启动页面,必选
|
||
// "query": "" //启动参数,在页面的onLoad函数里面得到
|
||
// }]
|
||
// },
|
||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
||
|
||
{
|
||
"path": "pages/login/index",
|
||
|
||
"style": {
|
||
"titleNView": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/oa/index",
|
||
"style" :
|
||
{
|
||
"titleNView": false
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/index/index",
|
||
"style": {
|
||
"titleNView": false
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/work/index",
|
||
"style": {
|
||
"titleNView": false
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/user/index",
|
||
"style": {
|
||
"titleNView": false
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/message/index",
|
||
"style": {
|
||
"titleNView": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/404",
|
||
"style" :
|
||
{
|
||
"titleNView": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/settings/broadcastSettings",
|
||
"style" :
|
||
{
|
||
"titleNView": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/settings/index",
|
||
"style" :
|
||
{
|
||
"titleNView": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/settings/networkTest",
|
||
"style" :
|
||
{
|
||
"titleNView": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/work/storage/receiving/receiving",
|
||
"meta": {
|
||
"auth": true
|
||
},
|
||
"style" :
|
||
{
|
||
"titleNView": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/work/storage/relocation",
|
||
"meta": {
|
||
"auth": true
|
||
},
|
||
"style" :
|
||
{
|
||
"titleNView": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/403",
|
||
"style" :
|
||
{
|
||
"titleNView": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/work/storage/receiving/receivingCreate",
|
||
"style" :
|
||
{
|
||
"titleNView": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/work/storage/receiving/receivingDetail",
|
||
"style" :
|
||
{
|
||
"titleNView": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/work/storage/receiving/receivingList",
|
||
"style" :
|
||
{
|
||
"titleNView": false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/home/edit-quick-actions",
|
||
"style" :
|
||
{
|
||
"titleNView": false
|
||
}
|
||
}
|
||
|
||
],
|
||
"globalStyle": {
|
||
"navigationBarTextStyle": "black",
|
||
"navigationBarTitleText": "WMS_PDA",
|
||
"navigationBarBackgroundColor": "#FFFFFF",
|
||
"backgroundColor": "#f8f8f8"
|
||
},
|
||
"tabBar": {
|
||
"borderStyle": "white",
|
||
"backgroundColor": "#333",
|
||
"color": "#555",
|
||
"selectedColor": "#24afd6",
|
||
"list": [{
|
||
"text": "作业",
|
||
"pagePath": "pages/index/index",
|
||
"iconPath": "static/icon/index.png",
|
||
"selectedIconPath": "static/icon/index_a.png"
|
||
},
|
||
{
|
||
"text": "工单",
|
||
"pagePath": "pages/oa/index",
|
||
"iconPath": "static/icon/oa.png",
|
||
"selectedIconPath": "static/icon/oa_a.png"
|
||
},
|
||
{
|
||
"text": "我的",
|
||
"pagePath": "pages/user/index",
|
||
"iconPath": "static/icon/mime.png",
|
||
"selectedIconPath": "static/icon/mime_a.png"
|
||
}
|
||
]
|
||
}
|
||
} |