添加分包功能

This commit is contained in:
张成
2025-09-07 23:56:05 +08:00
parent e059069a1a
commit b5405c58a4
14 changed files with 21 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
export default defineAppConfig({
pages: [
'pages/home/index', //中转页
'pages/login/index/index',
@@ -14,15 +14,25 @@ export default defineAppConfig({
'pages/detail/index',
'pages/message/index',
'pages/orderCheck/index',
'pages/userInfo/myself/index', // 个人中心
'pages/userInfo/edit/index', // 个人中心
'pages/userInfo/favorites/index', // 个人中心
'pages/userInfo/orders/index', // 个人中心
// 'pages/mapDisplay/index',
],
subPackages: [
{
root: "mod_user",
pages: [
'pages/myself/index', // 个人中心
'pages/edit/index', // 个人中心
'pages/favorites/index', // 个人中心
'pages/orders/index', // 个人中心
]
}
],
window: {
backgroundTextStyle: 'light',
navigationBarBackgroundColor: '#fff',