chore: 调整文案位置

This commit is contained in:
Junhui Chen 2025-09-11 22:10:36 +08:00
parent ccdc46236d
commit 89e72ae987
2 changed files with 3 additions and 3 deletions

View File

@ -10,6 +10,6 @@ struct BlindBoxTitleView: View {
.fontWeight(.bold)
.foregroundColor(Color.themeTextMessageMain)
.frame(maxWidth: .infinity, alignment: .leading)
.padding(.horizontal)
.padding(.horizontal, Theme.Spacing.xl)
}
}

View File

@ -156,12 +156,12 @@ struct BlindBoxView: View {
.compositingGroup()
.padding()
// opening
if animationPhase != .opening {
if animationPhase == .ready {
BlindBoxDescriptionView(
name: viewModel.blindGenerate?.name ?? "Some box",
description: viewModel.blindGenerate?.description ?? ""
)
.offset(x: -10, y: UIScreen.main.bounds.height * 0.2)
.offset(x: 0, y: UIScreen.main.bounds.height * 0.2)
}
}
.padding()