diff --git a/apps/frontend/src/pages/douyu-fulfillment/DouyuFulfillmentPage.tsx b/apps/frontend/src/pages/douyu-fulfillment/DouyuFulfillmentPage.tsx index 2341e036..f6d0a11b 100644 --- a/apps/frontend/src/pages/douyu-fulfillment/DouyuFulfillmentPage.tsx +++ b/apps/frontend/src/pages/douyu-fulfillment/DouyuFulfillmentPage.tsx @@ -32,7 +32,7 @@ const STATUS_LABELS: Record = { qr_pending: '等待扫码绑定', role_ready: '请确认游戏角色', bound: '角色已绑定', - waiting_operator: '等待运营处理', + waiting_operator: '等待客服处理', processing: '正在兑换', completed: '领取完成', failed: '处理失败', @@ -181,13 +181,14 @@ export default function DouyuFulfillmentPage() { live?.qrUrl && (live.bindReadyForConfirm || live.bindConfirmed), ) const showBindingQr = Boolean(live?.qrUrl && (!canRevealBindingQr || bindingQrExpanded)) - const bindingDescription = - live?.message || - (live?.bindReadyForConfirm + const waitingForSupport = Boolean( + task && (live?.bindConfirmed || task.status === 'waiting_operator' || task.status === 'bound'), + ) + const bindingDescription = live?.bindConfirmed + ? '角色绑定已完成,等待客服处理。' + : live?.bindReadyForConfirm ? '已识别游戏角色,请核对并确认绑定。' - : live?.bindConfirmed - ? '角色绑定已完成,等待运营处理。' - : '请使用微信扫描下方二维码,按提示选择和平精英角色。二维码仅用于本次订单。') + : live?.message || '请使用微信扫描下方二维码,按提示选择和平精英角色。二维码仅用于本次订单。' async function submitProfile() { if (!roleName.trim()) { @@ -228,7 +229,7 @@ export default function DouyuFulfillmentPage() { try { const response = await confirmDouyuBinding(orderNo) applyData(response.data) - message.success('角色绑定已确认,等待运营处理') + message.success('角色绑定已确认,等待客服处理') } catch (error) { message.error(error instanceof Error ? error.message : '确认角色绑定失败') } finally { @@ -344,6 +345,10 @@ export default function DouyuFulfillmentPage() { + ) : waitingForSupport ? ( +
+ +
) : (