From 52b6722842ac7500150d62891b940d1619114049 Mon Sep 17 00:00:00 2001 From: duanshuwen Date: Thu, 16 Jul 2026 21:49:00 +0800 Subject: [PATCH] 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 --- .../detail/components/ResultActions/index.vue | 11 +- src/pages-aigc/detail/detail.vue | 146 +++++++++++++++--- .../components}/AigcConsentDialog/index.vue | 49 +++--- .../AigcConsentDialog/styles/index.scss | 0 src/pages-aigc/home/home.vue | 32 +++- src/pages/ChatMain/ChatQuickAccess/index.vue | 16 +- 6 files changed, 188 insertions(+), 66 deletions(-) rename src/{pages/ChatMain => pages-aigc/home/components}/AigcConsentDialog/index.vue (74%) rename src/{pages/ChatMain => pages-aigc/home/components}/AigcConsentDialog/styles/index.scss (100%) diff --git a/src/pages-aigc/detail/components/ResultActions/index.vue b/src/pages-aigc/detail/components/ResultActions/index.vue index 2f17258..9a22d97 100644 --- a/src/pages-aigc/detail/components/ResultActions/index.vue +++ b/src/pages-aigc/detail/components/ResultActions/index.vue @@ -1,7 +1,7 @@