Commit Graph

49 Commits

Author SHA1 Message Date
duanshuwen
ada88d7b20 feat(aigc): replace mock credit data with backend api fetch
add getCreditLedgerPage API function to fetch credit ledger records
remove local mock ledger data file
update LedgerCard component to adapt to new API response structure
rewrite points details page to use z-paging with empty and error handling
2026-07-16 09:04:04 +08:00
duanshuwen
efe97452e0 feat(aigc): add task detail and image save flow
- Replace global AigcRecord store with task ID URL parameters instead of store state
- Integrate real task detail API to replace static mock result data
- Update ResultActions component with loading state, disabled styles, and native uni-app share support
- Add full image save flow with album permission checking and error handling
- Clean up unused files including the aigcRecord store and static result data
- Adjust RecordList padding and paging component text for better UX
2026-07-13 22:14:50 +08:00
duanshuwen
b5952961fe feat: add mini-program privacy auth, update oss urls and refine photo guide
update oss static resource urls to oss.nianxx.cn
refactor privacy component to be reusable, add wechat mini-program privacy authorization check before image picking
add image urls to photo guide examples, refine photo guide ui styles and remove unused avatarSrc prop
2026-07-13 20:14:49 +08:00
duanshuwen
29bf6afe55 feat(recharge): add recharge package selection flow
- add new getRechargeOptions API endpoint in AigcApi
- replace CustomAmountCard with RechargePackageList component
- implement fetching and selection logic for recharge packages
- update UI to use correct recharge data fields
- add validation for selected recharge option
2026-07-13 10:27:03 +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
aa07286010 feat: add discovery tool cards, refactor AiTabSwitch and update client configs
- Update xiaoqi client configuration: adjust clientId, sync appid across config files and switch to production build by setting developVersion to false
- Refactor AiTabSwitch component to use background images instead of inline image tags, clean up redundant SCSS styles and replace tab icon assets
- Add three new Discovery page tool components: audio guide, map guide and photo generator cards
- Clean up unused code in Discovery page and ChatMainList component, remove unused scroll view and computed property
- Fix regex pattern and formatting issues in update-appid.js script
- Comment out unused SpriteAnimator component in ChatMainList
2026-07-06 20:51:45 +08:00
duanshuwen
ca680ab41b feat: add heritage discovery tab and AIGC consent dialog
- Add new HeritageDiscoverySection and HeritageQuickPrompts components for dedicated heritage discovery view
- Implement reusable AigcConsentDialog component for AI service user agreement prompts
- Update Discovery page to toggle between explore and heritage tab layouts
- Refactor legacy CardSwiper component into generic ExploreCards
- Adjust ChatMainList layout to include home hero sprite animation and restructure welcome section
- Refine NoticeMessage component styling and layout for better consistency
- Add build best practices guidance to AGENTS.md documentation
- Clean up minor config whitespace and formatting issues across files
2026-07-05 14:56:55 +08:00
251f92bc1a feat: 增加小七的版本 2026-06-26 11:16:34 +08:00
c9ed0d280b feat: 新版本的提交改了环境的配置 2026-06-17 18:24:18 +08:00
9cc7c21529 feat: 动态替换图片 2026-05-26 12:03:03 +08:00
d087ee6b35 feat: 长文本组件的对接调试 2026-05-20 15:26:52 +08:00
48517a36c6 feat: 请求日志优化 2026-05-14 15:53:51 +08:00
b48426fc84 feat: 一些调整 2026-05-14 11:23:03 +08:00
0f6d8f7ff1 feat: 调整了登录的逻辑 2026-05-12 21:17:11 +08:00
25c8a3570d feat: 增加获取位置的方法 2026-05-08 14:58:13 +08:00
42e0e4920f feat; 消息与天气接口对接 2026-05-07 17:16:45 +08:00
3fe099c3b0 feat: 版本管理接口改动 2026-04-30 11:09:09 +08:00
2cbfae6833 feat: 更换了版本管理的接口 2026-04-30 10:50:40 +08:00
3b0fb23a5c feat: 对接了首页的接口 2026-04-28 22:47:10 +08:00
8161e7512b feat: 提交为zhinian 2026-04-23 15:05:33 +08:00
d6c7ca7aec feat: 调整智念助手端的配置 2026-04-20 10:27:36 +08:00
8ea6546f04 feat: 版本号提交 2026-04-19 00:13:41 +08:00
350ce56767 feat: 登录失效之后再次跳转到登录的页面 2026-04-07 18:16:48 +08:00
17c5296e56 feat: 获取商品类型列表 2026-03-11 23:42:42 +08:00
e61f6fc596 feat: icon图标处理 2026-03-11 22:56:20 +08:00
ff9227c3b8 feat: 环境地址配置 2026-01-16 10:25:55 +08:00
0351bd8dc6 feat: 更新版本号 2026-01-16 09:36:21 +08:00
9c658e9f9f feat: 优化登录逻辑 2026-01-06 19:42:10 +08:00
972c777177 feat: 修复环境的问题 2026-01-06 11:46:15 +08:00
duanshuwen
56ad450731 feat: 登录逻辑调整 2025-12-27 22:49:14 +08:00
296781c506 feat: 优化登录流程 2025-12-15 22:33:22 +08:00
9eb1dc6747 feat: 登录的逻辑调整 2025-12-15 21:04:03 +08:00
a3c363cbc9 feat: 区别不同的小程序的缓存问题 2025-12-15 16:26:45 +08:00
duanshuwen
de412aed9c feat: 授权后token刷新保持 2025-11-18 19:40:28 +08:00
duanshuwen
47d1c5ab6f feat: 服务地址动态获取 2025-11-13 21:22:37 +08:00
duanshuwen
1028e20d42 feat: 服务接口地址动态获取 2025-11-13 19:43:03 +08:00
a53df50140 feat: 工单接口拆分 2025-10-28 18:09:48 +08:00
655547c57a feat: 问题反馈接口改造 2025-10-28 18:07:54 +08:00
055423fc32 feat: 拆分工单的api 2025-10-28 18:07:26 +08:00
d7aea9cf55 feat: 工单列表的接口调试 2025-10-27 21:17:43 +08:00
d0711c7f12 feat: 工单图片上传与样式的调整 2025-10-27 20:05:35 +08:00
duanshuwen
697785f30c Merge branch 'main' of https://git.nianxx.cn/zoujing/YGChatCS into fix-109 2025-10-23 17:46:20 +08:00
duanshuwen
a9f103dffa feat: 快速预定接口调整 2025-10-22 21:37:31 +08:00
a3aabc2752 feat: 上传图片的逻辑处理 2025-10-21 18:59:53 +08:00
2abce21c49 feat: 登录逻辑的调整 2025-10-12 13:55:35 +08:00
duanshuwen
500c44ebea fix: 待支付|再次预定交互逻辑调整 2025-10-07 16:31:35 +08:00
8720c43570 feat: 登录与websocket 初始化相关的调整 2025-09-23 20:00:30 +08:00
96746df7c9 feat: 端切换的时候切换环境 2025-09-22 23:32:03 +08:00
duanshuwen
9f23854ad5 feat: 调整项目结构 2025-09-21 17:25:09 +08:00