| | |
| | | export default defineAppConfig({ |
| | | entryPagePath: 'pages/home/index', |
| | | pages: ['pages/home/index', 'pages/mine/index'], |
| | | pages: ['pages/home/index', 'pages/mine/index', 'pages/workbenches/workbenches'], |
| | | requiredPrivateInfos: ['getLocation'], |
| | | permission: { |
| | | 'scope.userLocation': { |
| | |
| | | text: '首页', |
| | | }, |
| | | { |
| | | pagePath: 'pages/workbenches/workbenches', |
| | | iconPath: 'assets/tabbar/icon-task.png', |
| | | selectedIconPath: 'assets/tabbar/icon-task-active.png', |
| | | text: '工作台', |
| | | }, |
| | | { |
| | | pagePath: 'pages/mine/index', |
| | | iconPath: 'assets/tabbar/icon-mine.png', |
| | | selectedIconPath: 'assets/tabbar/icon-mine-active.png', |
| | |
| | | 'userPolicy/userPolicy', |
| | | 'loginByForm/loginByForm', |
| | | 'registerForm/registerForm', |
| | | 'mineUserPolicy/mineUserPolicy', |
| | | 'privacyPolicy/privacyPolicy', |
| | | ], |
| | | }, |
| | | { |
| | |
| | | ], |
| | | }, |
| | | { |
| | | root: 'subpackages/mine', |
| | | pages: ['setting/setting', 'mineFavorites/mineFavorites'], |
| | | }, |
| | | { |
| | | root: 'subpackages/city', |
| | | pages: ['citySelect/citySelect'], |
| | | }, |
| | | { |
| | | root: 'subpackages/flexJob', |
| | | pages: ['flexJobDetail/flexJobDetail'], |
| | | }, |
| | | ], |
| | | // preloadRule: { |
| | | // 'pages/mine/index': { |