diff --git a/src/pages/anchor/index.tsx b/src/pages/anchor/index.tsx index 066b968..3d6c51d 100644 --- a/src/pages/anchor/index.tsx +++ b/src/pages/anchor/index.tsx @@ -19,8 +19,14 @@ import PartnerBanner from '@/components/partner-banner'; import SafeBottomPadding from '@/components/safe-bottom-padding'; import SwitchBar from '@/components/switch-bar'; import { APP_TAB_BAR_ID, EventName, OpenSource, PageType, PageUrl, RoleType } from '@/constants/app'; -import { EmployType, JobType } from '@/constants/job'; -import { ALL_ANCHOR_SORT_TYPES, ANCHOR_SORT_TYPE_TITLE_MAP, AnchorSortType, GenderType } from '@/constants/material'; +import { EMPLOY_TYPE_TITLE_MAP, EmployType, JOB_TYPE_TITLE_MAP, JobType } from '@/constants/job'; +import { + ALL_ANCHOR_SORT_TYPES, + ANCHOR_SORT_TYPE_TITLE_MAP, + AnchorSortType, + GENDER_TYPE_TITLE_MAP, + GenderType, +} from '@/constants/material'; import useInviteCode from '@/hooks/use-invite-code'; import useListHeight, { IUseListHeightProps } from '@/hooks/use-list-height'; import useLocation from '@/hooks/use-location'; @@ -263,15 +269,15 @@ export default function AnchorPage() {
-
性别
+
{gender === GenderType.All ? '性别' : GENDER_TYPE_TITLE_MAP[gender]}
{showFilter === FilterType.gender ? : }
-
类型
+
{employType === EmployType.All ? '类型' : EMPLOY_TYPE_TITLE_MAP[employType]}
{showFilter === FilterType.employType ? : }
-
品类
+
{topCategory === JobType.All ? '品类' : JOB_TYPE_TITLE_MAP[topCategory]}
{showFilter === FilterType.topCategory ? : }