feat: 添加 ip 追踪
This commit is contained in:
@@ -851,6 +851,26 @@ export default function ScreenshotsTab({
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="w-full mt-6">
|
||||
<h3 className="text-lg font-medium text-gray-900 dark:text-white mb-3">来源 IP</h3>
|
||||
<div className="bg-gray-50 dark:bg-gray-700 rounded-md p-4">
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 gap-4">
|
||||
<div className="p-4 bg-white dark:bg-gray-800 rounded-md shadow-sm">
|
||||
<div className="text-sm text-gray-500 dark:text-gray-400 mb-1">IP 地址</div>
|
||||
<div className="font-medium text-gray-900 dark:text-white break-all">
|
||||
{selectedRecord.ip || '未记录'}
|
||||
</div>
|
||||
</div>
|
||||
<div className="p-4 bg-white dark:bg-gray-800 rounded-md shadow-sm">
|
||||
<div className="text-sm text-gray-500 dark:text-gray-400 mb-1">归属地</div>
|
||||
<div className="font-medium text-gray-900 dark:text-white break-all">
|
||||
{selectedRecord.ipLocation || (selectedRecord.ip ? '未知归属地' : '未记录')}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user