import { CheckCircleOutlined, ExclamationCircleOutlined, LinkOutlined, } from '@ant-design/icons' import { Alert, Button, Card, Typography } from 'antd' import type { ClaimKuaishouFeifeiFlowInfo, ClaimOrderInfo, ClaimProductInfo, } from '@/types/claim' import type { ClaimSnapshot } from './claim-snapshot' import { InfoTile, UidEditRow } from './claim-shared' export function FeifeiClaimPanel({ feifei, expectedUid, order, product, taskLastError, onOpen, uidInput, submittingUid, onUidChange, onResubmitUid, }: { feifei: ClaimKuaishouFeifeiFlowInfo expectedUid: string order: ClaimOrderInfo | null product: ClaimProductInfo | null taskLastError?: string onOpen: () => void uidInput: string submittingUid: boolean onUidChange: (value: string) => void onResubmitUid: () => void }) { const openReady = Boolean(feifei.h5UrlWithUid || feifei.h5.rechargeUrl || feifei.h5.entryUrl) return (
kuaishou-feifei 第 2 步:打开领取链接

{feifei.rechargeStatusLabel || '待领取'}

{taskLastError ? ( ) : null}
) } export function FeifeiResultStep({ snapshot }: { snapshot: ClaimSnapshot }) { return (
{snapshot.resultVariant === 'warning' ? ( ) : ( )}
{snapshot.resultTitle}

{snapshot.resultDescription}

) }