主包体积太大,相关代码迁移

This commit is contained in:
francis-fh
2026-06-06 19:14:01 +08:00
parent 087c686d81
commit b4ff618477
104 changed files with 7336 additions and 8973 deletions

View File

@@ -111,7 +111,7 @@ const generateTabbarList = () => {
// baseItems.splice(1, 0, {
// id: 1,
// text: '招聘会',
// path: '/pages/careerfair/careerfair',
// path: '/packageA/pages/careerfair/careerfair',
// iconPath: '/static/tabbar/post.png',
// selectedIconPath: '/static/tabbar/posted.png',
// centerItem: false,
@@ -124,7 +124,7 @@ const generateTabbarList = () => {
baseItems.splice(1, 0, {
id: 5,
text: '招聘会',
path: '/pages/careerfair/careerfair',
path: '/packageA/pages/careerfair/careerfair',
iconPath: '/static/tabbar/careerfair.png',
selectedIconPath: '/static/tabbar/careerfaired.png',
centerItem: false,
@@ -178,7 +178,7 @@ const switchTab = (item, index) => {
const loginRequiredPages = [
'/packageA/pages/job/publishJob',
'/pages/mine/mine',
'/pages/mine/company-mine',
'/packageA/pages/company-mine/company-mine',
'/pages/msglog/msglog'
];
@@ -245,7 +245,7 @@ const switchTab = (item, index) => {
if (userType === 0) {
// 企业用户,跳转到企业我的页面
targetPath = '/pages/mine/company-mine';
targetPath = '/packageA/pages/company-mine/company-mine';
} else {
// 求职者或其他用户类型,跳转到普通我的页面
targetPath = '/pages/mine/mine';