diff --git a/config/VERSION.json b/config/VERSION.json index e9f1fd4..6b8738e 100644 --- a/config/VERSION.json +++ b/config/VERSION.json @@ -1,55 +1,22 @@ { - "version": "0.0.12", - "updated": "2026-04-24", + "version": "0.1.1", + "updated": "2026-04-29", "modules": { "frontend": { - "version": "0.0.12", + "version": "0.1.1", "pages": { - "Add": "0.0.1", - "Admin": "0.0.1", - "Detail": "0.0.1", - "Edit": "0.0.1", - "Home": "0.0.7", - "List": "0.0.1", - "Login": "0.0.1", - "News": "0.0.8", - "News_YichensBoard": "0.0.1", - "Settings": "0.0.1", - "Stats": "0.0.1", - "YichensBoard": "0.0.3" - }, - "config": { - "version": "0.0.7" + "Home": "0.1.0", + "Purchase": "0.1.1" } }, "backend": { - "version": "0.0.12", + "version": "0.1.1", "routers": { - "auth": "0.0.1", - "collections": "0.0.1", - "deal": "0.0.1", - "information": "0.0.2", - "news": "0.0.1", - "ocr": "0.0.1", - "operations": "0.0.1", - "seek": "0.0.9", - "users": "0.0.1", - "yichens": "0.0.1" + "purchase": "0.1.0" }, - "app": { - "core": "0.0.1", - "models": "0.0.1", - "schemas": "0.0.1", - "services": "0.0.1", - "utils": "0.0.1" + "models": { + "purchase": "0.1.0" } } - }, - "changelog": { - "0.0.9": [ - "Home.jsx: 修复寻配号数据统计API", - "News.jsx: 寻配号功能稳定版(自有匹配+网络匹配缓存)", - "seek.py: 路由优化,留言功能迁移,缓存机制" - ] } } \ No newline at end of file diff --git a/frontend/src/pages/Purchase.jsx b/frontend/src/pages/Purchase.jsx index 3f28207..f0ec259 100644 --- a/frontend/src/pages/Purchase.jsx +++ b/frontend/src/pages/Purchase.jsx @@ -199,27 +199,35 @@ function Purchase() { } // 渲染认购群卡片 - const renderGroupCard = (group, showJoin = false) => ( + const renderGroupCard = (group, showJoin = false) => { + const isMyGroup = myGroups.some(g => g.id === group.id) + const isClosed = group.status === 'closed' + return (