diff --git a/src/components/PostCard.tsx b/src/components/PostCard.tsx
index d1d5c5e..81fac5f 100644
--- a/src/components/PostCard.tsx
+++ b/src/components/PostCard.tsx
@@ -5,15 +5,18 @@ import {
} from '@ant-design/icons';
import { Card, Tag } from 'antd';
import dayjs from 'dayjs';
+import { useLocation } from 'react-router-dom';
import type { Post } from '../api/types';
import { PRIMARY_COLOR } from '../constant';
-// TODO: 关键字高亮
const PostCard = ({ post }: { post: Post }) => {
+ const location = useLocation();
+ const params = new URLSearchParams(location.search);
+ const fullTextFlag = params.get('f') === 'true';
return (