Commit Graph

372 Commits

Author SHA1 Message Date
a91d7a5e61 feat(dashboard): Header 完整视觉(毛绒怪占位+渐变标题+Tab胶囊) 2026-06-03 01:20:49 +08:00
b31cf01da4 refactor(dashboard): dashboard.vue 改用 <script setup> 语法
代码评审发现 Options API 与项目 30+ 个页面(square.vue、
discover.vue、exhibition.vue 等)惯例不一致。改写为
<script setup>,并把 pageBg 提到模块顶层(不再通过 setup
return 传递)。Header 组件无 script 逻辑,无需改动。
2026-06-03 01:20:49 +08:00
282eb72e46 feat(dashboard): 页面骨架 + Header 占位 2026-06-03 01:20:48 +08:00
3676fc977e refactor(dashboard): useDashboardData 提取 SECTION_FETCHERS 模块级单例
代码评审建议:loadAll 与 refresh 各有一份相同的 7 项 fetcher 映射,
且 refresh 每次调用都重建对象。提取为模块级单例后:
- 消除重复(单一信源)
- 节省每次 refresh 的对象分配
- loadAll 用 Object.entries 驱动而非手写 7 行
2026-06-03 01:20:48 +08:00
ea62b609af feat(dashboard): useDashboardData composable(7接口并发+section级refresh) 2026-06-03 01:20:48 +08:00
a48b6fd8fb fix(dashboard): 移除 dashboardApi 方法的 .then((r) => r.data) 解包
与项目 24+ 个 *Api 函数保持一致——其他 API(如 loginApi、
getRandomUsersApi、getEarningsSummaryApi)都返回完整 { code, data }
信封,由调用方在 boundary 处解包。dashboardApi 之前在 API 边界做
.data 解包是计划文本中的偏差,现在修正。

useDashboardData composable(Task 3)需要在内部用
`(res) => res?.data || res` 处理——这是 composable 边界该做的事。
2026-06-03 01:20:48 +08:00
9d29ac1e6e feat(dashboard): 追加 mock 数据工厂 + dashboardApi 命名空间 + 打开 USE_MOCK_API 2026-06-03 01:20:48 +08:00
57248f767e fix(dashboard): 修正 pages.json 中 dashboard 路由的逗号位置
代码质量评审发现逗号置于行首()与项目惯例()不一致,
修正为与项目其他 35+ 个路由条目完全一致的风格。
2026-06-03 01:20:48 +08:00
57be0e9276 feat(dashboard): 注册页面 + 追加 SCSS 设计 token 2026-06-03 01:20:48 +08:00
zerosaturation
29173ca55e feat(support-activity): mount VerticalProgressBar on activity page 2026-06-02 21:58:37 +08:00
zerosaturation
a8777cb1ad feat(support-activity): add VerticalProgressBar component 2026-06-02 21:47:17 +08:00
zerosaturation
edadb0e082 feat:修改头像bug 2026-06-02 21:10:35 +08:00
zerosaturation
a7854a4fe7 feat:修改菜单路由 2026-06-02 16:57:54 +08:00
3c7960e1c5 image:修改图片 2026-06-02 16:56:28 +08:00
7bc6c7e535 feat: 增加主页的动画 2026-06-02 16:00:58 +08:00
zerosaturation
e1829b2296 feat: 修改短信认证bug 2026-06-02 15:43:57 +08:00
zerosaturation
aca45f7822 image: 压缩图片 2026-06-01 15:10:47 +08:00
60db94e377 style:修改前端样式 2026-06-01 15:06:35 +08:00
zerosaturation
3a2575c78e style: 修改header的水晶样式 2026-05-31 20:52:21 +08:00
zerosaturation
85beec6395 style: 修改展示页面的样式 2026-05-31 20:48:26 +08:00
zerosaturation
5e33bbb031 feat: 修改用户经验bug和收益记录bug 2026-05-31 20:38:58 +08:00
b930ad59e1 image: 修改应援活动尺寸 2026-05-31 18:23:11 +08:00
zerosaturation
6acf423a26 feat: 修改docket配置 2026-05-29 22:15:47 +08:00
zerosaturation
64809ea308 feat: 修改docker配置添加AI的微服务 2026-05-29 21:37:08 +08:00
1aca524f99 feat: 修改ai页面的图片 2026-05-29 21:34:27 +08:00
zerosaturation
d5a645eaea feat: 给榜单增加字段 2026-05-29 19:47:09 +08:00
895f759a54 feat: 修改suqre里面组件的样式和修改bug 2026-05-29 17:04:07 +08:00
3a292e84a2 feat: 修改suqre里面组件的样式和修改bug 2026-05-29 16:17:08 +08:00
20dfbcac6b style:修改样式 2026-05-29 14:35:12 +08:00
4d2c2a3e30 修改热门为日榜排名 2026-05-29 13:50:53 +08:00
liulong
889c9232fb feat:镭射新链路,旧链路清理,迁移脚本 2026-05-29 12:35:37 +08:00
bfae6b9851 style: 修改样式 2026-05-29 12:17:21 +08:00
10bf5b9578 feat:修改铸造选择卡片滑动bug异常 2026-05-28 22:27:31 +08:00
c93dd13dc3 style: 修改样式 2026-05-28 19:33:46 +08:00
zerosaturation
670ef5e019 style:修改个人设置样式 2026-05-28 18:02:36 +08:00
59fdac5bc2 style:修改主页样式和个人页样式 2026-05-28 17:46:09 +08:00
c61482df10 feat: add hot-category-more page route
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 17:46:09 +08:00
bcc422109c feat(square): add 4 HotCategoryBlock components
- Import HotCategoryBlock and getHotInspirationFlowBatchApi
- Add hotCategories and hotCategoryRefs state
- Add loadHotCategories function to fetch categories
- Add handleHotCardClick handler for navigation
- Add template with v-for loop for hot category blocks
- Add CSS style for .hot-category-wrapper
- Call loadHotCategories in onMounted after loadBannerActivities

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 17:46:09 +08:00
d45a2fb479 fix: remove assetLiked event listener on unmount to prevent memory leak
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 17:46:09 +08:00
ab443e0a19 feat: create hot-category-more.vue page for viewing more hot category items
- Created new page at frontend/pages/square/hot-category-more.vue
- Supports route params: type and title
- Implements sub tabs for star card categories (all, raster, holographic, tear_off, polaroid)
- Uses getHotInspirationFlowMoreApi for paginated loading
- Follows existing CreationGrid card styling with like animations

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 17:46:08 +08:00
de4b376a87 fix: HotCategoryBlock grid layout to 4 columns
Change card width from 48% to calc(25% - 12rpx) to achieve
4 columns × 2 rows layout as specified in design docs.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 17:46:08 +08:00
948f19f180 feat: add HotCategoryBlock component for square page
Add a reusable hot category block component with:
- Props: categoryType, title
- Events: cardClick(item)
- Exposed methods: setItems, setLoading, handleRefresh
- 4x2 grid layout with skeleton loading
- Bottom gradient overlay with user info and like count

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 17:46:08 +08:00
25fc03497f feat: add hot inspiration flow API methods
Add 3 API methods following existing patterns:
- getHotInspirationFlowBatchApi() for batch fetching 4 categories
- getHotInspirationFlowApi(type) for single category refresh
- getHotInspirationFlowMoreApi(type, cursor, limit) for pagination

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 17:46:08 +08:00
zerosaturation
9a9f4d1b96 feat: 新增点赞列表标签增加 2026-05-28 17:45:07 +08:00
zerosaturation
17c68c9233 feat:增加的ai搭子对话功能 2026-05-28 12:00:19 +08:00
zerosaturation
9b0c3ee3a9 docs:ai搭子修改,热门模块新增,字段判断基础文档 2026-05-27 16:49:58 +08:00
liulong
b223ffd465 Merge branch 'feat/asset_material_relations' of
https://git.liantu.tech/xiaoyu/topfans into
feat/laser_card_material_relations# Please enter a commit message to explain why this merge is necessary,
2026-05-27 13:05:59 +08:00
zerosaturation
3e1c6c309b feat: 修改样式功能 2026-05-26 22:50:39 +08:00
zerosaturation
dd34def217 feat:修改点赞接口bug 2026-05-26 21:32:37 +08:00
zerosaturation
7dbcf50a39 feat:去除多余的代码 2026-05-26 20:12:40 +08:00
zerosaturation
b8e462f9b5 feat:修改广场页面,铸造页面 2026-05-26 19:26:27 +08:00
zerosaturation
a39bb7b60f feat:新增sms短信注册 2026-05-26 13:23:04 +08:00
zerosaturation
da6c0a5ef2 feat: 修改瀑布流布局 2026-05-25 23:35:47 +08:00
zerosaturation
e545f41c3b feat:修改类型为复合类型 2026-05-25 19:03:36 +08:00
zerosaturation
0852f96436 feat:去掉重复的点赞约束 2026-05-25 19:03:35 +08:00
liulong
c1cde0f708 Merge branch 'feat/asset_material_relations' of https://git.liantu.tech/xiaoyu/topfans into feat/laser_card_material_relations 2026-05-25 15:39:11 +08:00
0e1ee56351 image:a 添加模拟的图片 2026-05-25 12:40:51 +08:00
zerosaturation
2855cd512d feat: 修改自动领取收益关闭,修复下架时间的bug,修改的光栅卡陀螺仪 2026-05-25 11:08:35 +08:00
e29a718b2f feat: 修改为4/3比例的图 2026-05-22 18:43:45 +08:00
zerosaturation
4d42d9a6d0 feat: 新增历史点赞查询和修改点赞规则 2026-05-22 18:06:33 +08:00
zerosaturation
415d224798 feat: 新增图片无限滚动 2026-05-22 15:41:39 +08:00
zerosaturation
c2d58d4924 feat: 新增单次购买道具的聚合功能 2026-05-22 11:59:41 +08:00
zerosaturation
ee0433464f feat: 修改铸造消耗确认框和新增批量购买道具的功能,修改回退按钮的颜色 2026-05-22 00:14:28 +08:00
569321bb41 feat: 修改返回按钮 2026-05-21 21:35:17 +08:00
zerosaturation
fcebf5a107 feat:增加分享页面和举报按钮 2026-05-21 18:51:15 +08:00
222c2cc1cc image: 调整图片 2026-05-21 17:38:59 +08:00
47640bc54a image: 调整图片 2026-05-21 15:03:53 +08:00
zerosaturation
fa13e482d3 feat: 修改详情页里面的图片动画 2026-05-21 14:52:30 +08:00
764e44a3f3 image:新增图片/压缩 2026-05-21 14:52:30 +08:00
955c5f45c3 添加3d旋转的动画效果 2026-05-21 14:52:19 +08:00
a37c672a1d feat: 增加消息通知配置 2026-05-21 14:52:19 +08:00
c887d30738 feat:详细页给图片添加3D翻转效果 2026-05-21 14:52:19 +08:00
zerosaturation
c76d779f4e feat:选择作品的等级图标 2026-05-21 14:16:10 +08:00
zerosaturation
ff22b29ede feat:修改星册的过滤条件和等级图标 2026-05-21 13:25:06 +08:00
zerosaturation
bb797ebf87 feat: 修改双击点赞的逻辑和处理收益记录的bug 2026-05-21 10:45:47 +08:00
zerosaturation
afda66cdb9 feat: 新增实时应援道具使用显示 2026-05-20 18:42:12 +08:00
zerosaturation
0d591fdd94 feat: 修改展览页 2026-05-20 17:05:02 +08:00
zerosaturation
e4fb5ddeab feat: 重构展位选择 2026-05-20 14:18:44 +08:00
zerosaturation
1ee151630d feat: 修改收益bug 2026-05-19 20:00:22 +08:00
7dd947ca12 feat: 添加背景滚动功能 2026-05-19 19:53:00 +08:00
6d36f308a3 修改应援活动的钻石实时更新 2026-05-19 19:09:11 +08:00
zerosaturation
06c059ebd8 feat: 页面全部添加回弹关闭设置 2026-05-19 19:02:44 +08:00
zerosaturation
7b8fba5701 feat: 添加实时查询余额的接口 2026-05-19 18:50:57 +08:00
zerosaturation
eaad2642a8 修改展示时长bug 2026-05-19 15:48:41 +08:00
zerosaturation
94b9271184 feat: 点赞列表修改,增加光栅卡字段 2026-05-19 14:44:19 +08:00
zerosaturation
ca832abb2c feat: 新增每小时的收益字段 2026-05-19 12:17:57 +08:00
zerosaturation
ffa53f854c docker: 修改配置 2026-05-18 20:22:00 +08:00
zerosaturation
3e6ff3c898 feat:在个人展示页显示光栅卡 2026-05-18 19:45:34 +08:00
zerosaturation
5f4a443a93 feat: 新增余额不足不能铸造的功能提示,新增详细页面图片正常显示,docker修改配置 2026-05-18 18:32:58 +08:00
liulong
41e905dcbb 删除lenticular-studio中现已不被引用的代码 2026-05-18 17:31:26 +08:00
zerosaturation
02233db0ec 1 2026-05-18 13:25:14 +08:00
zerosaturation
0814242deb Revert "image: 去掉未使用的图片"
This reverts commit b698f08916.
2026-05-18 01:16:24 +08:00
zerosaturation
b698f08916 image: 去掉未使用的图片 2026-05-18 00:31:10 +08:00
zerosaturation
2450fc1368 feat: 修改各种小bug 2026-05-17 23:33:45 +08:00
zerosaturation
78c70e14df sql迁移表 2026-05-17 20:39:58 +08:00
zerosaturation
3f8a8ba470 image:图片压缩,sql迁移表 2026-05-17 19:55:22 +08:00
zerosaturation
45d3adc373 feat:添加光栅卡的选择 2026-05-17 19:03:34 +08:00
zerosaturation
cf8671b5bb 修改经验问题和光栅卡铸造bug修改 2026-05-16 04:32:43 +08:00
zerosaturation
afb235afd3 feat: 合并代码,解决冲突 2026-05-16 02:42:32 +08:00
be5da66007 feat: 修改mywork的实时奖励获取 2026-05-16 01:52:32 +08:00
zerosaturation
eb051f6562 Merge branch 'feature/economic-system-redesign' into dev 2026-05-15 23:22:38 +08:00
ebe57bc078 image:替换图片 2026-05-15 23:13:10 +08:00
zerosaturation
c5bf9df955 feat: 经济系统重构 - 任务服务与画廊服务解耦
- galleryService 独立启动,配置 task-service-url
- 新增 taskService 到 galleryService 的 RPC 调用
- 更新 proto 文件并重新生成代码
- 新增展览唯一约束迁移脚本
- 修复多个 service 的配置和依赖关系

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-15 23:12:02 +08:00
2c2e707971 修改展示页的样式 2026-05-15 23:12:02 +08:00
ff24cd55cd 修改展示页的样式 2026-05-15 23:12:02 +08:00
4d10fc4fb3 feat: 替换个人设置为图片 2026-05-15 23:12:02 +08:00
f5de8927fb style: 藏品详细样式修改 2026-05-15 23:12:02 +08:00
liulong
a90f7155c6 feat新增光栅卡和镭射卡 2026-05-15 23:06:51 +08:00
liulong
d6b0397230 chore: 归档当前现有代码,准备新建分支开发插件验证 2026-05-15 23:06:51 +08:00
af74dd5aad style:修改个人设置页面和藏品详细页的样式 2026-05-15 23:06:50 +08:00
6252be4d75 image:替换图片 2026-05-15 21:39:21 +08:00
e4ce006de3 修改展示页的样式 2026-05-15 19:01:49 +08:00
80f3240b02 修改展示页的样式 2026-05-15 16:21:32 +08:00
be4574621d feat: 替换个人设置为图片 2026-05-15 15:32:20 +08:00
5edf153521 style: 藏品详细样式修改 2026-05-15 15:21:54 +08:00
281e5b5c59 style:修改样式 2026-05-15 11:49:00 +08:00
375816ea79 feat: 添加 ActivityRankingModal 活动榜单弹窗组件
- 新建 ActivityRankingModal.vue 组件,实现单活动排名展示
- TOP3 展示使用 TOP3Card 组件
- 排名列表使用 RankingListItem 组件
- 支持下拉刷新和滚动加载更多
- 当前用户栏固定底部显示
- ThemeBanner 添加 @tap 事件触发弹窗
- index.vue 集成 ActivityRankingModal

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-15 11:49:00 +08:00
c30e0430ca style:修改个人设置页面和藏品详细页的样式 2026-05-14 22:23:11 +08:00
3f8f27166c style:修改样式 2026-05-14 22:23:10 +08:00
b269fbd075 feat: 添加 ActivityRankingModal 活动榜单弹窗组件
- 新建 ActivityRankingModal.vue 组件,实现单活动排名展示
- TOP3 展示使用 TOP3Card 组件
- 排名列表使用 RankingListItem 组件
- 支持下拉刷新和滚动加载更多
- 当前用户栏固定底部显示
- ThemeBanner 添加 @tap 事件触发弹窗
- index.vue 集成 ActivityRankingModal

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 22:23:09 +08:00
b6d1d00a31 feat: 新增图片,修改应援消耗道具 2026-05-14 22:23:09 +08:00
9d9acadda1 feat: update contribution polling per latest spec - timestamp+id polling, combo_count, fading animation 2026-05-14 22:23:09 +08:00
ad03f3c3a1 feat: update API to use since_timestamp and since_id for polling 2026-05-14 22:23:09 +08:00
0c8067187b feat: integrate ContributionList in support-activity page 2026-05-14 22:23:09 +08:00
28707768c3 fix: use reactive array instead of Set for newRecordIds 2026-05-14 22:23:08 +08:00
b22ad01c36 feat: add ContributionList component for realtime display
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 22:23:08 +08:00
c00ac905ff feat: add useContributionPolling composable for realtime contributions
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 22:23:08 +08:00
8e6d657e98 fix: use activities (plural) for consistency with other activity APIs 2026-05-14 22:23:08 +08:00
6b863ee26d feat: add getActivityContributionsLatestApi for realtime contributions 2026-05-14 22:23:08 +08:00
liulong
3a59aec48f feat新增光栅卡和镭射卡 2026-05-14 22:18:25 +08:00
liulong
fe7fbba1fc chore: 归档当前现有代码,准备新建分支开发插件验证 2026-05-14 16:42:27 +08:00
1af0a0527a feat: 新增图片,修改应援消耗道具 2026-05-14 12:17:50 +08:00
7e1da61397 feat: update contribution polling per latest spec - timestamp+id polling, combo_count, fading animation 2026-05-14 12:16:35 +08:00
ba075fffd3 feat: update API to use since_timestamp and since_id for polling 2026-05-14 12:09:34 +08:00
cb98cd6cb6 feat: integrate ContributionList in support-activity page 2026-05-14 11:31:41 +08:00
0ef2840f00 fix: use reactive array instead of Set for newRecordIds 2026-05-14 11:29:51 +08:00
a2052b673c feat: add ContributionList component for realtime display
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 11:26:46 +08:00
cb96326b3d feat: add useContributionPolling composable for realtime contributions
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 11:15:20 +08:00
f3b11c5ceb fix: use activities (plural) for consistency with other activity APIs 2026-05-14 11:13:24 +08:00
0f95fef939 feat: add getActivityContributionsLatestApi for realtime contributions 2026-05-14 11:09:09 +08:00
6e09afe843 feat: 替换字体 2026-05-13 16:34:50 +08:00
zerosaturation
8b03809c7a feat: 修改活动小按钮改为动态 2026-05-13 14:41:17 +08:00
zerosaturation
e81ef0a375 fix:修改瀑布流ios的抖动现象 2026-05-13 13:03:45 +08:00
zerosaturation
36e36b07c2 feat: 修改瀑布流ios抖动现象 2026-05-12 22:56:20 +08:00
6a6233f2de feat: 添加星卡选中的二级菜单 2026-05-12 22:32:24 +08:00
f3fe5a37d3 image: 设计图 2026-05-12 17:43:49 +08:00
292d7f076c fix: 会误触菜单样式 2026-05-12 17:18:01 +08:00
023d708bf9 feat: 新增未展览点赞提示 2026-05-12 16:50:25 +08:00
zerosaturation
11df4cd8e9 feat:修改主页面滚动效果 2026-05-12 16:25:03 +08:00
8231ef3a31 feat:隐藏明星选择 2026-05-12 13:41:14 +08:00