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:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user