feat: 邀请运营

This commit is contained in:
chashaobao
2025-12-24 00:41:36 +08:00
parent ec96058d5d
commit e38114d32b
8 changed files with 311 additions and 20 deletions

View File

@ -9,7 +9,7 @@ import SafeBottomPadding from '@/components/safe-bottom-padding';
import { PageUrl } from '@/constants/app';
import { CacheKey } from '@/constants/cache-key';
import { GET_CONTACT_TYPE } from '@/constants/job';
import { switchTab, navigateTo } from '@/utils/route';
import { navigateTo, switchTab } from '@/utils/route';
import './index.less';
interface IProps {
@ -42,6 +42,13 @@ const GET_CONTACT_TYPE_OPTIONS = [
// desc: '群内定期发放会员,免费报单',
// btnText: '进群',
// },
{
type: GET_CONTACT_TYPE.INVITE,
icon: '',
title: '邀请运营进群(进会员)',
desc: '每邀请进一个主播群送一个日会员',
btnText: '邀请',
},
];
export function PrejobPopup({ onCancel, isCreateResume, onConfirm }: IProps) {
@ -53,6 +60,10 @@ export function PrejobPopup({ onCancel, isCreateResume, onConfirm }: IProps) {
navigateTo(PageUrl.MaterialUploadVideo);
onConfirm(type);
}
if (type === GET_CONTACT_TYPE.INVITE) {
navigateTo(PageUrl.InviteOperations);
onConfirm(type);
}
if (type === GET_CONTACT_TYPE.VIP) {
setOpenPopup(false);
setOpenDialog(true);