feat(admin): 渠道徽章显示渠道词——付费广告/AI引用等一目了然
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -69,7 +69,7 @@ export function channelBadge(row: ChannelBadgeRow): string {
|
||||
if (!row.channel) return '—'
|
||||
const meta = CHANNEL_LABELS[row.channel] ?? CHANNEL_LABELS.unknown
|
||||
const platform = [row.platform, row.variant].filter(Boolean).join('·')
|
||||
let text = `${meta.icon} ${platform || meta.label}`
|
||||
let text = `${meta.icon} ${meta.label}${platform ? `·${platform}` : ''}`
|
||||
if (row.search_term) text += `「${row.search_term}」`
|
||||
if (row.resolution === 'label_only') text += '(标签)'
|
||||
else if (row.resolution === 'conflict') text += '(冲突)'
|
||||
|
||||
Reference in New Issue
Block a user