From 087e05a9a0811608387de7e08e21711d16cf292d Mon Sep 17 00:00:00 2001 From: chashaobao Date: Mon, 1 Sep 2025 18:43:49 +0800 Subject: [PATCH] feat: update --- src/components/partner-intro/index.tsx | 4 ++- src/pages/job-select-my-publish/index.less | 22 +++++++++++++++- src/pages/job-select-my-publish/index.tsx | 29 ++++++++++++++++------ 3 files changed, 45 insertions(+), 10 deletions(-) diff --git a/src/components/partner-intro/index.tsx b/src/components/partner-intro/index.tsx index 7c8a616..e35b148 100644 --- a/src/components/partner-intro/index.tsx +++ b/src/components/partner-intro/index.tsx @@ -139,7 +139,9 @@ export default function PartnerIntro() {
分享方法
-
分享小程序任意页面到群、朋友圈、好友即可
+
+ 点击底部按钮向好友群友赠送会员,或者分享通告列表、通告详情等页面给朋友即可 +
diff --git a/src/pages/job-select-my-publish/index.less b/src/pages/job-select-my-publish/index.less index 605de3d..13529a4 100644 --- a/src/pages/job-select-my-publish/index.less +++ b/src/pages/job-select-my-publish/index.less @@ -56,7 +56,27 @@ &__icon { width: 48px; height: 48px; + } + + &__block { margin-top: 24px; + .flex-row(); + gap: 16px; + } + + &__status { + font-size: 28px; + line-height: 32px; + font-weight: 400; + color: @blColorG1; + + &.open { + color: @blHighlightColor; + } + + &.error { + color: #FF5051; + } } } -} \ No newline at end of file +} diff --git a/src/pages/job-select-my-publish/index.tsx b/src/pages/job-select-my-publish/index.tsx index f0b60e8..5561a26 100644 --- a/src/pages/job-select-my-publish/index.tsx +++ b/src/pages/job-select-my-publish/index.tsx @@ -6,6 +6,7 @@ import classNames from 'classnames'; import { useCallback, useState } from 'react'; import { EventName, OpenSource } from '@/constants/app'; +import { JOB_MANAGE_STATUS_TITLE_MAP, JobManageStatus } from '@/constants/job'; import { JobManageInfo } from '@/types/job'; import { getJobLocation, requestJobManageList } from '@/utils/job'; import { getPageQuery, navigateBack } from '@/utils/route'; @@ -15,7 +16,14 @@ import Toast from '@/utils/toast'; import './index.less'; const PREFIX = 'page-job-select-my-publish'; - +const STATUS_CLASS_MAP = { + [JobManageStatus.WaitVerify]: 'pending', + [JobManageStatus.Open]: 'open', + [JobManageStatus.Pending]: 'pending', + [JobManageStatus.Error]: 'error', + [JobManageStatus.Close]: 'close', + [JobManageStatus.Expire]: 'close', +}; export default function JobSelectMyPublish() { const [list, setList] = useState([]); const [jobId, setJobId] = useState('1'); @@ -57,13 +65,18 @@ export default function JobSelectMyPublish() {
{formatTime(item.updated)}
- {item.id === jobId && ( - - )} +
+
+ {JOB_MANAGE_STATUS_TITLE_MAP[item.status]} +
+ {item.id === jobId && ( + + )} +
))}