diff --git a/frontend/src/pages/Home.jsx b/frontend/src/pages/Home.jsx index 64135e8..9a14c33 100644 --- a/frontend/src/pages/Home.jsx +++ b/frontend/src/pages/Home.jsx @@ -112,11 +112,14 @@ export default function Home() { setDragonStats(data || {}) }).catch(() => {}) - fetch('/api/yichens/posts?limit=20&offset=0&keyword=标十').then(res => res.json()).then(data => { - // 过滤出带4/通货相关的分类 + fetch('/api/yichens/posts?limit=50&offset=0').then(res => res.json()).then(data => { + // 过滤出带4/通货相关的分类 AND 包含标十关键字 const filtered = (data.posts || data || []).filter(item => { + const title = item.title || '' const cat = item.category || '' - return cat.includes('带4') || cat.includes('通货') + const hasBiaoshi = title.includes('标十') + const hasDai4 = cat.includes('带4') || cat.includes('通货') + return hasBiaoshi && hasDai4 }) setRecentPosts(filtered) }).catch(() => {})