feat: 首页更新

This commit is contained in:
2025-11-12 00:13:26 +08:00
parent b48cce06f4
commit 9ef9233797
46 changed files with 660 additions and 369 deletions

View File

@@ -224,7 +224,7 @@ export const getMockHomePageData = () => {
/**
* 获取 Mock 游戏列表(支持分类过滤)
*/
export const getMockGamesByCategory = (categoryId: number) => {
export const getMockGamesByCategory = (categoryId: string | number) => {
if (categoryId === 0) {
return mockGames; // 推荐分类返回所有游戏
}