From 61336b52820467f5255c4a66d2762beea67d400c Mon Sep 17 00:00:00 2001 From: chashaobao Date: Thu, 7 Aug 2025 00:24:49 +0800 Subject: [PATCH] feat: update tonggao --- src/components/employ-type-select/index.tsx | 13 ++++ src/components/job-list/index.tsx | 5 +- .../steps-ui/company-publish-job-buy.tsx | 69 +++++++++---------- src/constants/job.ts | 39 +++++++++-- src/fragments/job/base/index.less | 1 + src/fragments/job/base/index.tsx | 68 ++++++++++++++++-- src/fragments/profile/intention/index.tsx | 2 +- src/fragments/profile/view/index.tsx | 2 +- src/hooks/use-cached-job.tsx | 4 +- src/http/api.ts | 2 +- src/pages/anchor/index.less | 21 ++++++ src/pages/anchor/index.tsx | 34 +++++++-- src/pages/certification/index.tsx | 69 ++++++++++--------- src/pages/job-detail/index.tsx | 40 ++++++++--- src/pages/job-publish/index.tsx | 43 +++++++----- src/pages/job-search/index.tsx | 2 +- src/pages/job-select-my-publish/index.tsx | 3 +- src/pages/job/index.tsx | 13 +++- src/pages/material-upload-video/index.tsx | 2 +- src/pages/material-view/index.tsx | 46 ++++++++----- src/store/actions/job.ts | 8 +-- src/store/constants.ts | 2 +- src/store/reducers/index.ts | 4 +- src/store/reducers/job.ts | 12 ++-- src/store/selector/job.ts | 2 +- src/types/job.ts | 4 +- src/types/store.ts | 3 +- src/utils/job.ts | 8 ++- src/utils/material.ts | 9 +-- src/utils/product.ts | 4 +- 30 files changed, 363 insertions(+), 171 deletions(-) create mode 100644 src/components/employ-type-select/index.tsx diff --git a/src/components/employ-type-select/index.tsx b/src/components/employ-type-select/index.tsx new file mode 100644 index 0000000..fb3441f --- /dev/null +++ b/src/components/employ-type-select/index.tsx @@ -0,0 +1,13 @@ +import Select, { ISelectProps } from '@/components/select'; +import { EmployType, JOB_EMPLOY_TYPE_OPTIONS } from '@/constants/job'; + +interface IProps extends Omit, 'options'> { + value: EmployType; +} + +function EmployTypeSelect(props: IProps) { + const { value: selectValue, onSelect } = props; + return