Commit Graph

767 Commits

Author SHA1 Message Date
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
0b25023f60 feat:去掉快捷提问 旅行记录改为我的订单 2026-07-10 11:20:15 +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
161919b3c4 docs(AGENTS.md): remove h5-related setup steps 2026-07-07 11:55:34 +08:00
duanshuwen
a44f0ee052 style: adjust ai tab switch gap and clean up code
- reduce gap in AiTabSwitch styles from 40px to 20px
- format component tags in Discovery page for better readability
- update tab label check in isPanoramaGuideTab from "全景攻略" to "测试-2.0"
2026-07-07 11:23:30 +08:00
duanshuwen
409559e885 feat(aigc): add animated progress and completion redirect
enhance GeneratingProgressPanel with smooth width transition and animated progress increments
add active/complete step styling for progress panel items
emit complete event when generation finishes, add navigation to AIGC detail page on completion
clean up MineSetting component: format menu-item v-for and comment out unused phone row
2026-07-07 11:06:34 +08:00
duanshuwen
a6e369e1d5 style(aigc-topbar): add znicons custom font face 2026-07-07 09:42:49 +08:00
duanshuwen
4fb43876f5 feat(discovery): switch card component based on active tab
add computed property to check panorama guide tab, import required dependencies and CardSwiper component, update template conditional rendering
2026-07-07 09:36:31 +08:00
duanshuwen
808ca48668 feat: add persistent gift toast and responsive aigc layouts
update aigc page layouts to use viewport units and dynamic sizing instead of hardcoded 812px height for better device compatibility. replace fixed scss values with css custom properties for easier theming and responsive adjustments. refactor templatecarousel component to calculate dynamic card scale and layout based on screen dimensions. add local storage persistence for gift points toast so it stays closed after dismissal. update home page to respect the persisted toast state.
2026-07-07 09:25:50 +08:00
duanshuwen
90352e2981 style(aigc-topbar): adjust styles and remove unused font
remove unused znicons font face declaration
resize back button to 36px
adjust search bar styling: remove padding and border, update height
update wallet button padding and remove excess box shadow
adjust inner button border radius to 50px
2026-07-07 07:30:24 +08:00
duanshuwen
8f2cbbc84f chore(ai-tab-switch): replace local images with remote oss urls
delete local image assets and update component imports to use remote hosted images
2026-07-06 23:01:00 +08:00
duanshuwen
191ba48b9d feat(aigc): implement travel AIGC feature and clean up legacy assets
- Replace all local static AIGC assets with OSS hosted URLs to reduce bundle size
- Add travelAIGC command to ChatModel and update quick access menu to link to AIGC home
- Implement AIGC user consent flow with local storage persistence for compliance
- Refactor Discovery page layout, remove unused HeritageDiscoverySection component
- Update ChatTopNavBar to support dynamic navigation bar height based on system info
- Restructure ChatMainList layout for better discovery panel interaction
- Remove deprecated local asset files and clean up unused imports across codebase
2026-07-06 22:40:36 +08:00
duanshuwen
bfda50e14a feat: add collapsible welcome and sticky tabs
Wrap the home welcome component in a collapsible container with smooth transitions. Implement scroll-based collapse and expand logic for the banner in the chat main list. Add sticky tab header styling and updated page layout for the discovery page.
2026-07-06 20:57:10 +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
190793b156 feat(useTemplate): add point insufficient dialog and progress panel
Create PointInsufficientDialog component to notify users of insufficient points before generation. Add GeneratingProgressPanel to display generation progress, steps and cost freeze info. Integrate point balance validation into the generate workflow and update the main page to handle generating state.
2026-07-05 21:50:49 +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
d95e90127e feat: add gift points toast and refactor useTemplate layout
Add a new gift points notification toast to the AIGC home page for new user signup rewards.
Restructure the useTemplate page's layout and SCSS, split the content container and add dedicated popup host for modal steps.
Remove the unused UploadTemplatePreview component and all related references from the codebase.
2026-07-05 20:06:18 +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
duanshuwen
f47f68e19b feat(aigc): add travel postcard AIGC feature
Add complete travel postcard AIGC creation workflow including:
- New AIGC pages: template selection home, result detail, and history records
- Reusable UI components: template card, flow steps, result preview, action buttons, record lists
- Static assets including template images, fonts and styles
- Updated TopNavBar component to support menu button alignment
- Register new AIGC page routes in pages.json
- Add mock data for templates, user records and result details
2026-07-05 17:47:37 +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: 新版本的提交改了环境的配置 V1.1.3 2026-06-17 18:24:18 +08:00
bae06f876e feat: aigc 点击事件 2026-06-14 16:41:05 +08:00
771bc6391c feat: aigc组件的数据结构调整 2026-06-13 13:15:58 +08:00
74cdf80b76 feat: ip 位置调整 2026-06-12 16:01:47 +08:00
395ed154b2 feat: 增加对比组件 2026-06-12 15:35:02 +08:00
4b4554e901 feat: 调整了一下组件的顺序 2026-06-12 14:47:57 +08:00
e87865ae09 feat: 完整路线和设备设施组件 2026-06-12 14:34:20 +08:00
d723c690fc feat: markdown 样式调整 2026-06-12 14:32:50 +08:00
333d3b5dbc feat: 预览组件 2026-06-09 11:18:02 +08:00
defab85b9c Merge branch 'home3.0' of https://git.nianxx.cn/zoujing/YGChatCS into home3.0 2026-06-08 17:45:25 +08:00
b4871d9cff feat: 增加区分预览版的模块 2026-06-08 17:45:20 +08:00
564d4de51f feat: 商品单个的展示 2026-06-08 12:50:56 +08:00
fc1fd6a6d5 feat: 组件渲染 2026-06-05 16:50:28 +08:00
0df94a8a63 feat: 颜色样式调整 2026-06-05 16:48:05 +08:00
c5d3bf5dbb feat: 实现骨架屏的渲染 2026-06-05 16:31:03 +08:00
c59342c22c feat: 卡片调整 2026-06-05 15:19:32 +08:00
9d7a75a307 feat: 兼容老的长文本 2026-06-05 15:01:15 +08:00
be175591cc feat: 组件 2026-06-05 14:34:25 +08:00
9e98f91dc8 feat: 标签颜色的调整 2026-06-05 14:24:39 +08:00
79abfd9d8c feat: 样式调整 2026-06-05 13:49:50 +08:00
97eff4d501 feat: 样式调整 2026-06-05 12:14:48 +08:00
da8fd5fbff feat: 商品按钮颜色调整 2026-06-05 11:52:55 +08:00
fa04507134 feat: 调整样式 2026-06-05 11:46:15 +08:00
3e06ae544b feat: 组件的数据结构调整 2026-06-05 11:35:06 +08:00
1be97986df feat: 组件条件调整 2026-06-04 17:09:49 +08:00
941da784ea feat: 样式调整 2026-06-04 17:05:24 +08:00
c9b55917ce feat: markdown 渲染 2026-06-04 16:45:21 +08:00
7b514d7dcc feat: aigc 组件 2026-06-04 16:05:07 +08:00