Commit Graph

6 Commits

Author SHA1 Message Date
duanshuwen
9f0881a284 feat(aigc): 新增图片生成动效视频的升级功能
- 新增图片转视频相关的API接口
- 调整AIGC详情页英雄区块高度至380px
- 添加结果详情页升级动效视频入口
- 完善升级流程的逻辑与费用计算
- 适配多类型生成任务的判断规则
2026-08-05 19:41:42 +08:00
6a96e3634e Merge branch 'aigc' of https://git.nianxx.cn/zoujing/YGChatCS into home3.0
# Conflicts:
#	src/pages-aigc/agreement/agreement.vue
#	src/pages-booking/index.vue
#	src/pages.json
#	src/request/api/AigcApi.js
#	src/utils/index.js

合并了代码
2026-07-28 12:57:04 +08:00
duanshuwen
cadddb5c3f feat(aigc): fully integrate backend API and replace mock data
- Replace all static mock data with real backend API calls for templates, generation tasks, credit balance and recharge
- Remove deprecated mock data files including templates.js, versionOptions.js, records.js and packages.js
- Add useCurrentCredit composable for fetching and managing user credit balance
- Update all components to align with new backend data shapes (e.g. templateItemId instead of id)
- Add loading and disabled states for interactive UI elements
- Implement full WeChat mini-program payment flow for credit recharge
- Fix template and record card UI styling and media handling
- Set developVersion flag to true for testing environment
2026-07-12 21:14:22 +08:00
duanshuwen
7db07273af feat(aigc): add video template display support
add video media detection and rendering in TemplateCard and TemplateVersionHero components
update scss styles to support both image and video media elements
update sample template data to use video covers and adjust template information
comment out unused deprecated culture postcard template entry
2026-07-07 20:00:36 +08:00
duanshuwen
4b77df11a8 feat(aigc/useTemplate): add multi-step template generation confirmation workflow
- add PhotoConfirmDrawer component for post-photo-pick quality verification
- add GenerateConfirmPanel to display generation point cost and available balance
- extend TemplateVersionHero to support custom variant styles
- refactor useTemplate page to use step-based workflow flow
2026-07-05 21:16:30 +08:00
duanshuwen
b381c712df feat(aigc): add template, recharge & points pages
This commit adds the full AIGC feature set including template usage flow, points recharge and transaction ledger pages, along with all supporting components, styles and data files. It also updates the home page navigation and registers all new pages in the project's pages configuration.
2026-07-05 19:34:55 +08:00