From b2ad28b71cee47fc27af8a56681a27786eaf3ef1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A1=E8=8B=A5?= Date: Sun, 8 Mar 2026 08:58:06 +0800 Subject: [PATCH] =?UTF-8?q?sync:=20soul-admin=20=E7=BB=84=E4=BB=B6=20|=20?= =?UTF-8?q?=E5=8E=9F=E5=9B=A0:=20=E5=89=8D=E7=AB=AF=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/user/UserDetailModal.tsx | 83 ------------------- 1 file changed, 83 deletions(-) diff --git a/soul-admin/src/components/modules/user/UserDetailModal.tsx b/soul-admin/src/components/modules/user/UserDetailModal.tsx index e7e57cab..06fa5991 100644 --- a/soul-admin/src/components/modules/user/UserDetailModal.tsx +++ b/soul-admin/src/components/modules/user/UserDetailModal.tsx @@ -543,89 +543,6 @@ export function UserDetailModal({ - {/* ===== RFM 估值 ===== */} - - {rfmData ? ( - <> -
-
-
- - 用户 RFM 估值 -
-
-
{rfmData.rfmScore}
- - {rfmData.rfmLevel} 级用户 - -
-
-
-
-
R
-
{rfmData.recency}
-
最近购买天数
-
越低越好
-
-
-
F
-
{rfmData.frequency}
-
购买频次
-
越高越好
-
-
-
M
-
¥{rfmData.monetary.toFixed(0)}
-
消费金额
-
越高越好
-
-
- {rfmData.lastOrderAt && ( -
- 最近订单:{new Date(rfmData.lastOrderAt).toLocaleString()} -
- )} -
-
-

等级说明

-
- {[ - { level: 'S', label: '超级VIP', desc: '高频高额近期活跃,顶级价值用户', color: 'text-amber-400' }, - { level: 'A', label: '高价值', desc: '消费能力强,复购率高', color: 'text-green-400' }, - { level: 'B', label: '潜力用户', desc: '有一定消费,需重点维护', color: 'text-blue-400' }, - { level: 'C', label: '普通用户', desc: '偶发购买,待激活', color: 'text-gray-400' }, - { level: 'D', label: '低活跃', desc: '长期未购买或无消费记录', color: 'text-red-400' }, - ].map((item) => ( -
- - {item.level} - - {item.label} - {item.desc} - {rfmData.rfmLevel === item.level && ( - - )} -
- ))} -
-
- - ) : ( -
- -

暂无 RFM 数据

-

用户需有至少一次购买记录才会生成 RFM 估值

- -
- )} -
- {/* ===== 标签体系 ===== */}