diff --git a/nkebao/src/pages/wechat-accounts/WechatAccountDetail.tsx b/nkebao/src/pages/wechat-accounts/WechatAccountDetail.tsx index 7c617075..7b449083 100644 --- a/nkebao/src/pages/wechat-accounts/WechatAccountDetail.tsx +++ b/nkebao/src/pages/wechat-accounts/WechatAccountDetail.tsx @@ -495,92 +495,117 @@ export default function WechatAccountDetail() { {activeTab === "overview" ? (
{/* 账号基础信息 */} -
-
-
- - 账号年龄 +
+
+
+
+
+ +
+
+
账号年龄
+ {accountSummary && ( +
+ 注册于 {new Date(accountSummary.accountAge).toLocaleDateString()} +
+ )} +
+
+ {accountSummary && ( +
+
+ {formatAccountAge(calculateAccountAge(accountSummary.accountAge))} +
+
+ )}
- {accountSummary && ( - <> -
- {formatAccountAge(calculateAccountAge(accountSummary.accountAge))} -
-
- 注册时间:{new Date(accountSummary.accountAge).toLocaleDateString()} -
- - )}
-
-
- - 活跃程度 +
+
+
+
+ +
+
+
活跃程度
+ {accountSummary && ( +
+ 总聊天 {accountSummary.activityLevel.allTimes.toLocaleString()} 次 +
+ )} +
+
+ {accountSummary && ( +
+
+ {accountSummary.activityLevel.dayTimes.toLocaleString()} + 次/天 +
+
+ )}
- {accountSummary && ( - <> -
{accountSummary.activityLevel.dayTimes.toLocaleString()}次/天
-
总聊天数:{accountSummary.activityLevel.allTimes.toLocaleString()}
- - )}
{/* 账号权重评估 */} {accountSummary && ( -
+
- - 账号权重评估 +
+ +
+ 账号权重评估
-
- {accountSummary.accountWeight.scope} - +
+ {accountSummary.accountWeight.scope} +
-

{getWeightDescription(accountSummary.accountWeight.scope)}

+

+ {getWeightDescription(accountSummary.accountWeight.scope)} +

- 账号年龄 -
+ 账号年龄 +
- {accountSummary.accountWeight.ageWeight}% + {accountSummary.accountWeight.ageWeight}%
- 活跃度 -
+ 活跃度 +
- {accountSummary.accountWeight.activityWeigth}% + {accountSummary.accountWeight.activityWeigth}%
- 限制影响 -
+ 限制影响 +
- {accountSummary.accountWeight.restrictWeight}% + {accountSummary.accountWeight.restrictWeight}%
- 实名认证 -
+ 实名认证 +
- {accountSummary.accountWeight.realNameWeight}% + {accountSummary.accountWeight.realNameWeight}%
@@ -588,41 +613,46 @@ export default function WechatAccountDetail() { {/* 添加好友统计 */} {accountSummary && ( -
+
- - 添加好友统计 +
+ +
+ 添加好友统计
- -
+
+ +
+
根据账号权重计算每日可添加好友数量 +
-
- 今日已添加 - {accountSummary.statistics.todayAdded} +
+ 今日已添加 + {accountSummary.statistics.todayAdded}
-
-
- 添加进度 - +
+
+ 添加进度 + {accountSummary.statistics.todayAdded}/{accountSummary.statistics.addLimit}
-
+
-
- 根据当前账号权重({accountSummary.accountWeight.scope}分),每日最多可添加{" "} - {accountSummary.statistics.addLimit.toLocaleString()}{" "} +
+ 根据当前账号权重 ({accountSummary.accountWeight.scope}分),每日最多可添加{" "} + {accountSummary.statistics.addLimit.toLocaleString()}{" "} 个好友
@@ -630,32 +660,53 @@ export default function WechatAccountDetail() { )} {/* 限制记录 */} - {accountSummary && accountSummary.restrictions.length > 0 && ( -
+ {accountSummary && ( +
- - 限制记录 -
- -
-
- {accountSummary.restrictions.slice(0, 2).map((record) => ( -
-
- - {record.reason} - - {formatDateTime(record.date)} -
+
+
- ))} + 限制记录 +
+ {accountSummary.restrictions.length > 0 && ( + + )}
+ {accountSummary.restrictions.length > 0 ? ( +
+ {accountSummary.restrictions.slice(0, 2).map((record) => ( +
+
+ + {record.reason} + + + {formatDateTime(record.date)} + +
+
+ 限制时间:{formatDateTime(record.date)} +
+
+ ))} +
+ ) : ( +
+
+
+ +
+
暂无风险记录
+
请继续保持良好的使用习惯
+
+
+ )}
)}