feat: add gift points toast and refactor useTemplate layout

Add a new gift points notification toast to the AIGC home page for new user signup rewards.
Restructure the useTemplate page's layout and SCSS, split the content container and add dedicated popup host for modal steps.
Remove the unused UploadTemplatePreview component and all related references from the codebase.
This commit is contained in:
duanshuwen
2026-07-05 20:06:18 +08:00
parent b381c712df
commit d95e90127e
7 changed files with 148 additions and 161 deletions

View File

@@ -17,16 +17,31 @@
box-sizing: border-box;
}
.aigc-use-template-content {
.aigc-use-template-body {
position: relative;
flex: 1 1 auto;
min-height: 0;
overflow: hidden;
}
.aigc-use-template-content {
height: 100%;
min-height: 0;
overflow: hidden;
padding: 24px 18px;
box-sizing: border-box;
}
.aigc-use-template-content.is-upload-guide {
padding: 0 12px;
.aigc-use-template-popup-host {
position: fixed;
z-index: 30;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 100vw;
height: 100vh;
overflow: hidden;
}
.aigc-use-template-note {