|  |  |  | 
|---|
|  |  |  | export default defineAppConfig({ | 
|---|
|  |  |  | entryPagePath: 'pages/home/index', | 
|---|
|  |  |  | pages: ['pages/home/index', 'pages/mine/index'], | 
|---|
|  |  |  | requiredPrivateInfos: ['getLocation'], | 
|---|
|  |  |  | pages: ['pages/home/index', 'pages/task/task', 'pages/mine/index'], | 
|---|
|  |  |  | requiredPrivateInfos: ['getLocation', 'chooseLocation'], | 
|---|
|  |  |  | permission: { | 
|---|
|  |  |  | 'scope.userLocation': { | 
|---|
|  |  |  | desc: '你的位置信息将用于小程序数据的效果展示', | 
|---|
|  |  |  | 
|---|
|  |  |  | text: '首页', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | pagePath: 'pages/task/task', | 
|---|
|  |  |  | 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', | 
|---|
|  |  |  | 
|---|
|  |  |  | pages: [ | 
|---|
|  |  |  | 'authorization/authorization', | 
|---|
|  |  |  | 'userPolicy/userPolicy', | 
|---|
|  |  |  | 'mineUserPolicy/mineUserPolicy', | 
|---|
|  |  |  | 'privacyPolicy/privacyPolicy', | 
|---|
|  |  |  | 'loginByForm/loginByForm', | 
|---|
|  |  |  | 'registerForm/registerForm', | 
|---|
|  |  |  | ], | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | root: 'subpackages/setting', | 
|---|
|  |  |  | pages: [ | 
|---|
|  |  |  | 'userInfo/userInfo', | 
|---|
|  |  |  | 'setting/setting', | 
|---|
|  |  |  | 'privacyAgreement/privacyAgreement', | 
|---|
|  |  |  | 'cooperation/cooperation', | 
|---|
|  |  |  | 'faq/faq', | 
|---|
|  |  |  | 'toggleMatchMakingIdentity/toggleMatchMakingIdentity', | 
|---|
|  |  |  | 'orderManage/orderManage', | 
|---|
|  |  |  | 'resourceManage/resourceManage', | 
|---|
|  |  |  | 'tradeChatRecord/tradeChatRecord', | 
|---|
|  |  |  | ], | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | root: 'subpackages/user', | 
|---|
|  |  |  | pages: ['userHomePage/userHomePage', 'complaint/complaint'], | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | root: 'subpackages/message', | 
|---|
|  |  |  | pages: [ | 
|---|
|  |  |  | 'systemMessage/systemMessage', | 
|---|
|  |  |  | 'chatRoom/chatRoom', | 
|---|
|  |  |  | 'unfamiliarUserList/unfamiliarUserList', | 
|---|
|  |  |  | 'messageList/messageList', | 
|---|
|  |  |  | ], | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | root: 'subpackages/order', | 
|---|
|  |  |  | pages: ['orderDetail/orderDetail', 'publishOrder/publishOrder'], | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | root: 'subpackages/resource', | 
|---|
|  |  |  | pages: ['resourceDetail/resourceDetail', 'publishResource/publishResource'], | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | root: 'subpackages/authentication', | 
|---|
|  |  |  | 
|---|
|  |  |  | 'authenticationFaRen/authenticationFaRen', | 
|---|
|  |  |  | 'authenticationJBR/authenticationJBR', | 
|---|
|  |  |  | 'authenticationResult/authenticationResult', | 
|---|
|  |  |  | 'authenticationRealName/authenticationRealName', | 
|---|
|  |  |  | 'authenticationFace/authenticationFace', | 
|---|
|  |  |  | ], | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | root: 'subpackages/city', | 
|---|
|  |  |  | pages: ['citySelect/citySelect'], | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | ], | 
|---|
|  |  |  | preloadRule: { | 
|---|
|  |  |  | 'pages/mine/index': { | 
|---|
|  |  |  | network: 'all', | 
|---|
|  |  |  | packages: ['subpackages/setting', 'subpackages/message'], | 
|---|
|  |  |  | { | 
|---|
|  |  |  | root: 'subpackages/mine', | 
|---|
|  |  |  | pages: [ | 
|---|
|  |  |  | 'mineSign/mineSign', | 
|---|
|  |  |  | 'mineHire/mineHire', | 
|---|
|  |  |  | 'mineCancel/mineCancel', | 
|---|
|  |  |  | 'mineCollectTask/mineCollectTask', | 
|---|
|  |  |  | 'mineAgreementSign/mineAgreementSign', | 
|---|
|  |  |  | 'mineAgreementSignDetail/mineAgreementSignDetail', | 
|---|
|  |  |  | 'setting/setting', | 
|---|
|  |  |  | ], | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | root: 'subpackages/wallet', | 
|---|
|  |  |  | pages: [ | 
|---|
|  |  |  | 'mineWallet/mineWallet', | 
|---|
|  |  |  | 'bindBankCard/bindBankCard', | 
|---|
|  |  |  | 'unboundBankCard/unboundBankCard', | 
|---|
|  |  |  | 'incomeDetail/incomeDetail', | 
|---|
|  |  |  | 'incomeDetailInfo/incomeDetailInfo', | 
|---|
|  |  |  | 'withdraw/withdraw', | 
|---|
|  |  |  | 'withdrawResult/withdrawResult', | 
|---|
|  |  |  | 'withdrawDetailInfo/withdrawDetailInfo', | 
|---|
|  |  |  | ], | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | root: 'subpackages/curriculum', | 
|---|
|  |  |  | pages: [ | 
|---|
|  |  |  | 'editMineInfo/editMineInfo', | 
|---|
|  |  |  | 'mineCertificate/mineCertificate', | 
|---|
|  |  |  | 'mineCertificateAddOrEdit/mineCertificateAddOrEdit', | 
|---|
|  |  |  | 'mineCurriculumVitae/mineCurriculumVitae', | 
|---|
|  |  |  | 'mineDetailedInfo/mineDetailedInfo', | 
|---|
|  |  |  | 'mineJobIntention/mineJobIntention', | 
|---|
|  |  |  | 'mineWorkExperience/mineWorkExperience', | 
|---|
|  |  |  | 'expectPosition/expectPosition', | 
|---|
|  |  |  | ], | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | root: 'subpackages/task', | 
|---|
|  |  |  | pages: [ | 
|---|
|  |  |  | 'taskDetail/taskDetail', | 
|---|
|  |  |  | 'companyDetail/companyDetail', | 
|---|
|  |  |  | 'taskSubmitCheck/taskSubmitCheck', | 
|---|
|  |  |  | 'taskCheckDetail/taskCheckDetail', | 
|---|
|  |  |  | ], | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | root: 'subpackages/user', | 
|---|
|  |  |  | pages: ['complaint/complaint'], | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | root: 'subpackages/extraPage', | 
|---|
|  |  |  | pages: ['extraPage/extraPage'], | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | ], | 
|---|
|  |  |  | // preloadRule: { | 
|---|
|  |  |  | //   'pages/mine/index': { | 
|---|
|  |  |  | //     network: 'all', | 
|---|
|  |  |  | //     packages: ['subpackages/setting', 'subpackages/message'], | 
|---|
|  |  |  | //   }, | 
|---|
|  |  |  | // }, | 
|---|
|  |  |  | }); | 
|---|