Commit Graph

778 Commits

Author SHA1 Message Date
51e7277ab1 feat: 默认手机号的填写 2026-07-28 11:30:21 +08:00
010f238b65 feat: 调整输入组件 2026-07-28 11:10:09 +08:00
ffeb03a3fc feat: 取号请求处理 2026-07-28 10:09:43 +08:00
6d629181ce feat: 调整了字段的展示 2026-07-27 11:42:53 +08:00
59362e37e5 feat:接口调整 2026-07-27 11:22:53 +08:00
01f090064d feat: 增加接口前缀 2026-07-27 09:24:57 +08:00
3f8d4327df feat: 分包整理 2026-07-23 15:16:20 +08:00
be4520cdb8 Merge branch 'aigc' of https://git.nianxx.cn/zoujing/YGChatCS into home3.0 2026-07-23 15:07:48 +08:00
362c37e74b feat: 创建了取号的功能 2026-07-23 15:07:27 +08:00
duanshuwen
13d019b191 feat(aigc): pass wechat login code to generator task requests
Refactor the shared wechat login code utility by moving it from the recharge service to a standalone module.
Add the sensitive request flag to the createAigcGeneratorTask POST API call.
Update the aigc detail and template use pages to fetch and pass the wechat login code when creating generation tasks.
Remove the redundant login code implementation from the recharge payment service.
2026-07-23 11:57:09 +08:00
8aa4e7973c feat: 创建排队的页面 2026-07-23 10:22:45 +08:00
987e3cfefc Merge branch 'aigc' of https://git.nianxx.cn/zoujing/YGChatCS into home3.0
# Conflicts:
#	src/components/TopNavBar/index.vue
2026-07-23 09:59:37 +08:00
duanshuwen
64c73ad6a6 fix(TopNavBar): update root page back navigation behavior
replace WeChat mini-program specific exit logic with uni.reLaunch to index page for consistent cross-platform behavior when at the root navigation stack
2026-07-22 22:13:42 +08:00
f0843e0f12 Merge branch 'aigc' of https://git.nianxx.cn/zoujing/YGChatCS into home3.0
# Conflicts:
#	src/pages-aigc/recharge/components/CustomAmountCard/index.vue
#	src/pages-aigc/recharge/components/RechargeFooter/index.vue
#	src/pages-aigc/recharge/components/RechargePackageList/index.vue
#	src/pages-aigc/recharge/recharge.vue
#	src/pages-aigc/useTemplate/useTemplate.vue
2026-07-22 16:48:21 +08:00
duanshuwen
14defcc5b7 feat(recharge): add full virtual recharge flow for aigc credits
- Replace legacy recharge API endpoints with new dedicated VirtualRechargeApi with sensitive request logging
- Implement pending order tracking, automatic payment reconciliation, and recovery for interrupted payments
- Overhaul recharge component logic to support both pre-defined package and custom amount recharge
- Fix currency price formatting to consistently display 2 decimal places for all monetary values
- Remove unused xiaoqi-avatar asset and related component imports
- Simplify Vite build asset naming configuration
- Switch application to test development mode
2026-07-22 16:17:16 +08:00
duanshuwen
54a83bad5d refactor(top-nav-bar): add custom back prop
- add customBack prop to enable explicit custom back handling
- rewrite back navigation logic to use the new prop instead of inferring from emit listeners
- remove unused getCurrentInstance import
- update three AIGC page components to use the custom-back prop
2026-07-20 19:12:11 +08:00
duanshuwen
c7062e0b51 fix(sharedWork): replace back nav with uni.reLaunch
remove the page stack navigation check, directly relaunch to the index page, add a fail toast for reLaunch failures
2026-07-20 15:02:48 +08:00
c399bba109 Merge branch 'remove-aigc' of https://git.nianxx.cn/zoujing/YGChatCS into home3.0 2026-07-20 14:53:10 +08:00
duanshuwen
bfebed44b0 chore: remove recharge and switch to test mode
Remove all recharge-related pages, components, and API endpoints.
Update developVersion flag to enable test environment with 400 free credits for all users.
Revise PointInsufficientDialog to reflect closed recharge channel, update button text and actions.
Remove recharge actions from all top bars and generate confirmation panels.
Add new user agreement page for service terms, update related API calls.
Restyle AigcConsentDialog to use sectioned content layout.
Fix visibility timing logic in GiftPointsToast component.
2026-07-20 14:50:14 +08:00
54e6d423ae feat: 支付可能重复的问题修复 2026-07-20 12:45:52 +08:00
duanshuwen
2407a9d941 refactor(aigc): update carousel and video components
- rewrite template carousel from custom scroll to uni swiper
- add video loading, error, and replay states to result preview
- update template card styles and video/poster handling logic
- clean up unused CSS vars and remove unnecessary min-height on detail page
- fix video file regex and add video error recovery
2026-07-18 15:30:06 +08:00
duanshuwen
05edc5666c Merge branch 'home3.0' of https://git.nianxx.cn/zoujing/YGChatCS into aigc 2026-07-18 09:29:22 +08:00
duanshuwen
5fe3dd54b3 feat(aigc): add auto-redirect when generation completes
Add complete event to GeneratingProgressPanel that emits when task status is completed and progress reaches 100%. Add handler in the parent progress page to automatically navigate to task detail page when the complete event is triggered, and stop ongoing task detail polling. Also enhance media download handling in the detail page with proper WeChat mini-program file path handling, error wrapping, temporary file cleanup, and improved error reporting for download failures.
2026-07-17 23:33:12 +08:00
duanshuwen
9b19da2257 fix(GiftPointsToast): update default points to 200 2026-07-17 21:44:46 +08:00
duanshuwen
1a4b320dc5 feat: add aigc regenerate flow and improve task polling
Add reusable RegenerateConfirmPopup component. Implement full regeneration flow in AIGC detail page with balance checks, insufficient point prompt, task creation and progress page navigation. Refine progress page polling logic with lifecycle handling, duplicate request prevention and timer cleanup.
2026-07-17 21:36:08 +08:00
9506a9034a feat: 去掉探索服务 2026-07-17 21:24:14 +08:00
duanshuwen
b04e3a4613 feat(aigc): add shared work top bar and back fixes
- add leftAction prop to AigcTopBar to switch between back arrow and home icon
- pass source=sharedWork query param when reLaunching home from shared work page
- update home page to detect shared work source, adjust top bar and back behavior
- add CSS styling for home top bar icon
- update root page back handler to exit WeChat mini program
2026-07-17 09:29:38 +08:00
duanshuwen
767ecb197b refactor: simplify TopNavBar and update sharedWork back handling
remove leftAction prop and hardcode left icon type in TopNavBar
move home navigation logic out of TopNavBar to parent components
update sharedWork.vue to use new TopNavBar API and implement proper back handling
2026-07-17 08:48:07 +08:00
duanshuwen
dc12b8ba88 feat: update TopNavBar and shared work page navigation
Add leftAction prop to TopNavBar to support back or home left navigation actions, update left icon accordingly. Add optional chaining to shareDetail.templateName to prevent errors. Modify sharedWork page to use home left action and update back handler to use direct home reLaunch.
2026-07-16 22:45:15 +08:00
duanshuwen
cf723e5b93 fix(detail): implement proper recharge navigation
replace placeholder toast with actual recharge page navigation, and add a failure callback to show error toast on navigation fail
2026-07-16 22:32:41 +08:00
7ff5fa6933 Merge branch 'aigc' of https://git.nianxx.cn/zoujing/YGChatCS into home3.0 2026-07-16 22:21:17 +08:00
duanshuwen
f3b4fd04d0 feat(record-card): expand card clickable area
move view event emission from the action button to the root record card component, expanding the clickable area to let the entire card trigger the view event when actionText is present, improving user experience.
2026-07-16 22:16:58 +08:00
ccc927b89f Merge branch 'aigc' of https://git.nianxx.cn/zoujing/YGChatCS into home3.0 2026-07-16 22:14:28 +08:00
e75c83e592 feat: 添加呼叫热线 2026-07-16 22:14:10 +08:00
duanshuwen
0a136c3040 refactor(detail): extract date formatter and clean up complete time
add formatDateOnly utility to extract YYYY-MM-DD part from date strings, and refactor the complete time calculation to use this helper
2026-07-16 22:02:25 +08:00
duanshuwen
52b6722842 feat(aigc): add video save support and improve consent flow
- add support for saving both image and video AIGC generation results
- refactor ResultActions component to accept mediaType prop and use dynamic save button text
- remove AIGC consent dialog from ChatQuickAccess and implement it on AIGC home page
- add WeChat mini-program privacy authorization check before saving media
- create reusable AigcConsentDialog component with proper styling
2026-07-16 21:49:00 +08:00
duanshuwen
38dbf7afc8 fix(aigc): correct generated media preview handling
update ResultPreview component to use proper image and video result URLs
refine isVideo detection logic across detail and shared work pages
add pointer-events none to preview elements to avoid blocking user interactions
standardize media URL usage between AIGC detail and shared work components
2026-07-16 21:24:38 +08:00
bce3e5912f Merge branch 'aigc' of https://git.nianxx.cn/zoujing/YGChatCS into home3.0 2026-07-16 21:16:58 +08:00
39c4e75de5 feat: 路由跳转的优化 2026-07-16 21:16:48 +08:00
duanshuwen
487caf9dbe feat(shared-work): update page ui and navigation
add dynamic template name to top nav bar
set top nav background to white
adjust media container styles and image display mode
remove redundant is-video CSS class and gradient backgrounds
update action button to pill shape with white text
remove scroll-y prop from scroll container
fix scroll container layout and padding
2026-07-16 21:09:22 +08:00
duanshuwen
99151bca58 feat(recharge): add points recharge agreement flow
- add new API request for fetching points top up agreement content
- update recharge footer with agreement checkbox and protocol link
- add agreement popup modal to display full agreement text
- add payment pre-validation to enforce agreement acceptance before payment
- handle loading and error states for agreement retrieval
- adjust recharge footer layout to accommodate new UI elements
2026-07-16 20:34:01 +08:00
duanshuwen
67b1b78f1f feat(aigc): add shared work page and AIGC sharing
- add new shared work page to view shared AIGC generated images and videos
- add createAigcGeneratorTaskShare and getAigcGeneratorTaskShareDetail APIs
- update ResultActions component to add share preparation state and native share support
- remove deprecated SharePreviewPopup component and its associated styles
- update AIGC detail page to generate share keys and adjust native share metadata
- register the new shared work page in pages.json
2026-07-16 13:28:46 +08:00
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