diff --git a/components/CustomTabBar/CustomTabBar.vue b/components/CustomTabBar/CustomTabBar.vue index 105766b..70661ca 100644 --- a/components/CustomTabBar/CustomTabBar.vue +++ b/components/CustomTabBar/CustomTabBar.vue @@ -125,7 +125,17 @@ const generateTabbarList = () => { // }); // #endif } - + if (userType === 0) { + baseItems.splice(2, 0, { + id: 5, + text: '招聘会', + path: '/pages/careerfair/careerfair', + iconPath: '/static/tabbar/careerfair.png', + selectedIconPath: '/static/tabbar/careerfaired.png', + centerItem: false, + badge: 0, + }); + } return baseItems; }; diff --git a/pages/careerfair/careerfair.vue b/pages/careerfair/careerfair.vue index 7230dc7..330db53 100644 --- a/pages/careerfair/careerfair.vue +++ b/pages/careerfair/careerfair.vue @@ -74,7 +74,7 @@ - + @@ -571,7 +571,7 @@ } .app-container .container-header { - background: url("@/static/icon/background2.png") 0 0 no-repeat; + // background: url("@/static/icon/background2.png") 0 0 no-repeat; background-size: 100% 400rpx; } diff --git a/static/tabbar/careerfair.png b/static/tabbar/careerfair.png new file mode 100644 index 0000000..b8d2312 Binary files /dev/null and b/static/tabbar/careerfair.png differ diff --git a/static/tabbar/careerfaired.png b/static/tabbar/careerfaired.png new file mode 100644 index 0000000..c8365bd Binary files /dev/null and b/static/tabbar/careerfaired.png differ