policeSecurity/collect_information/src/app.config.ts

49 lines
1.1 KiB
TypeScript
Raw Normal View History

2024-11-08 16:18:15 +08:00
import { MINI_PROGRAM_USER_CONFIG } from "@/config";
2024-09-25 10:21:43 +08:00
const tabBarItems = Object.values(MINI_PROGRAM_USER_CONFIG).map(item => item.tabBarList).flat()
export default defineAppConfig({
pages: [
'pages/login/login',
'pages/register/register',
...tabBarItems.map(i => i.pagePath)
],
subPackages: [
{
root: "subPages/projectManager",
pages: [
'myProject/myProject',
'myProject/projectDetails/projectDetails',
'securityUserForm/securityUserForm',
]
2024-11-08 16:18:15 +08:00
},
{
2024-09-25 10:21:43 +08:00
root: "subPages/police",
pages: [
2024-11-08 16:18:15 +08:00
'dailyInspection/dailyInspection',
2024-09-25 10:21:43 +08:00
'myEnterprisesUnit/myEnterprisesUnit',
'myEnterprisesUnit/projectDetails/projectDetails'
]
2024-11-08 16:18:15 +08:00
},
{
root: "subPages/select",
pages: [
'dailyLife/dailyLife',
'signature/signature'
]
},
2024-09-25 10:21:43 +08:00
],
2024-11-08 16:18:15 +08:00
2024-09-25 10:21:43 +08:00
window: {
backgroundTextStyle: 'light',
navigationBarBackgroundColor: '#4e87ff',
navigationBarTitleText: '',
navigationBarTextStyle: 'white',
},
tabBar: {
custom: true,
list: tabBarItems
}
})