diff --git a/soul-admin/src/pages/find-partner/tabs/MatchPoolTab.tsx b/soul-admin/src/pages/find-partner/tabs/MatchPoolTab.tsx index ed84b567..d7c29fa0 100644 --- a/soul-admin/src/pages/find-partner/tabs/MatchPoolTab.tsx +++ b/soul-admin/src/pages/find-partner/tabs/MatchPoolTab.tsx @@ -121,6 +121,63 @@ export function MatchPoolTab() { + {/* 匹配池选择 */} + + + 匹配池选择 + 选择匹配的用户池和完善程度要求,只有满足条件的用户才可被匹配到 + + +
+ +
+ {([ + { value: 'vip' as const, label: '超级个体(VIP会员)', desc: '仅匹配付费 ¥1980 的VIP会员', icon: '👑' }, + { value: 'complete' as const, label: '完善资料用户', desc: '已完善联系方式+业务信息的用户', icon: '✅' }, + { value: 'all' as const, label: '全部流量池', desc: '所有已注册用户(含未完善资料)', icon: '👥' }, + ]).map(opt => { + const ps = config.poolSettings ?? DEFAULT_POOL + const selected = ps.poolSource === opt.value + return ( + + ) + })} +
+
+
+ +
+ {([ + { key: 'requirePhone' as const, label: '有手机号', icon: '📱' }, + { key: 'requireNickname' as const, label: '有昵称', icon: '👤' }, + { key: 'requireAvatar' as const, label: '有头像', icon: '🖼️' }, + { key: 'requireBusiness' as const, label: '有业务需求', icon: '💼' }, + ]).map(item => { + const ps = config.poolSettings ?? DEFAULT_POOL + const checked = ps[item.key] + return ( +
+ setConfig({ ...config, poolSettings: { ...(config.poolSettings ?? DEFAULT_POOL), [item.key]: v } })} /> +
+ {item.icon} + +
+
+ ) + })} +
+
+
+
+ 基础设置