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
This commit is contained in:
duanshuwen
2026-07-05 21:16:30 +08:00
parent d95e90127e
commit 4b77df11a8
8 changed files with 430 additions and 11 deletions

View File

@@ -8,6 +8,12 @@
box-shadow: 0 16px 30px rgba(15, 29, 37, 0.1);
}
.template-version-hero.is-confirm {
height: 248px;
border-radius: 18px;
box-shadow: 0 12px 24px rgba(15, 29, 37, 0.08);
}
.template-version-image {
position: absolute;
top: 0;
@@ -82,3 +88,28 @@
line-height: 18px;
font-weight: 800;
}
.template-version-hero.is-confirm .template-version-copy {
right: 16px;
bottom: 18px;
left: 16px;
}
.template-version-hero.is-confirm .template-version-badge {
height: 22px;
max-width: 88px;
line-height: 22px;
}
.template-version-hero.is-confirm .template-version-title {
margin-top: 9px;
font-size: 24px;
line-height: 30px;
}
.template-version-hero.is-confirm .template-version-desc {
max-width: 294px;
margin-top: 4px;
font-size: 12px;
line-height: 18px;
}