Commit Graph

786 Commits

Author SHA1 Message Date
duanshuwen
dcf67dedfc feat(aigc/detail): add share preview popup
create reusable SharePreviewPopup component for share preview
update ResultActions to emit share event instead of direct native share
add share preview flow in aigc detail page
update native share config with correct image and fallback title
2026-07-16 11:25:39 +08:00
23f8453868 Merge branch 'aigc' of https://git.nianxx.cn/zoujing/YGChatCS into home3.0 2026-07-16 09:11:01 +08:00
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
cd61685b0b feat: 商品详情的展示问题处理 2026-07-15 17:14:34 +08:00
duanshuwen
c7785e55d7 feat(aigc): add standalone AIGC task progress page
- Add dedicated progress page for viewing AIGC generation task status
- Extract reusable GeneratingProgressPanel component
- Update task record cards to link to progress page for pending tasks
- Rework useTemplate flow to redirect to progress page post task creation
- Remove unused inline generating code and styles from useTemplate
- Adjust quick access menu item order
2026-07-15 11:24:28 +08:00
duanshuwen
d6c82204d4 Merge branch 'home3.0' of https://git.nianxx.cn/zoujing/YGChatCS into aigc 2026-07-14 22:09:53 +08:00
duanshuwen
9bdef279b7 feat(aigc): refine generation UI and add task status tracking
Add real-time task status polling for active generation jobs.
Overhaul GeneratingProgressPanel with dynamic step indicators, action buttons and updated styling.
Update PointInsufficientDialog to show detailed credit balance and usage summary.
Fix RecordCard media display and status logic for generating and completed tasks.
Restyle PhotoPickDrawer and update its instructional copy.
Add overflow styling for generating template content container.
2026-07-14 22:09:37 +08:00
2e56e20f06 feat: 消息轮播上下滚动 2026-07-14 11:28:57 +08:00
71e0d0003e feat; 先屏蔽三个组件 2026-07-14 11:18:40 +08:00
284becd6a8 feat: 调整了组件的样式 2026-07-14 11:15:49 +08:00
515e02f3af feat: 首页交互的 2026-07-14 10:09:26 +08:00
b3a15eee9b feat: 卡片数据调整对应 2026-07-14 09:17:49 +08:00
68ffab28bd feat: 头部调高4px 2026-07-14 09:17:18 +08:00
3c270525f7 Merge branch 'aigc' of https://git.nianxx.cn/zoujing/YGChatCS into home3.0 2026-07-14 08:55:06 +08:00
duanshuwen
1ebdf92159 refactor: remove unused CustomEmpty and related code
clean up dead code by removing all CustomEmpty component imports, template usages and the associated detailEmptyText state variable
2026-07-13 22:48:27 +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
7d0c784564 Merge branch 'aigc' of https://git.nianxx.cn/zoujing/YGChatCS into home3.0 2026-07-13 21:28:52 +08:00
duanshuwen
10638e0806 feat: add aigc record, video preview & custom recharge
- create useAigcRecordStore to centralize current AIGC generation record state
- add video media type support to ResultPreview component
- update RecordCard to only display view button for completed tasks
- implement custom recharge amount with input validation and 9999 max limit
- refactor detail page to load record from Pinia store instead of mock data
- clean up TemplateCarousel markup and remove unused badge styles
- fix minor formatting and code style issues
2026-07-13 21:25:17 +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
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