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
This commit is contained in:
duanshuwen
2026-07-07 11:06:34 +08:00
parent a6e369e1d5
commit 409559e885
4 changed files with 123 additions and 11 deletions

View File

@@ -23,6 +23,7 @@
v-else-if="currentStep === 'generating'"
:cost="currentVersion.cost || 100"
:progress="8"
@complete="handleGenerateComplete"
/>
<template v-else>
@@ -176,6 +177,12 @@ const handleGenerate = () => {
currentStep.value = "generating";
};
const handleGenerateComplete = () => {
uni.navigateTo({
url: "/pages-aigc/detail/detail",
});
};
const handleClosePointDialog = () => {
pointDialogVisible.value = false;
};