chore: 调整文案位置
This commit is contained in:
parent
ccdc46236d
commit
89e72ae987
@ -10,6 +10,6 @@ struct BlindBoxTitleView: View {
|
|||||||
.fontWeight(.bold)
|
.fontWeight(.bold)
|
||||||
.foregroundColor(Color.themeTextMessageMain)
|
.foregroundColor(Color.themeTextMessageMain)
|
||||||
.frame(maxWidth: .infinity, alignment: .leading)
|
.frame(maxWidth: .infinity, alignment: .leading)
|
||||||
.padding(.horizontal)
|
.padding(.horizontal, Theme.Spacing.xl)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -156,12 +156,12 @@ struct BlindBoxView: View {
|
|||||||
.compositingGroup()
|
.compositingGroup()
|
||||||
.padding()
|
.padding()
|
||||||
// 非 opening 阶段显示文字
|
// 非 opening 阶段显示文字
|
||||||
if animationPhase != .opening {
|
if animationPhase == .ready {
|
||||||
BlindBoxDescriptionView(
|
BlindBoxDescriptionView(
|
||||||
name: viewModel.blindGenerate?.name ?? "Some box",
|
name: viewModel.blindGenerate?.name ?? "Some box",
|
||||||
description: viewModel.blindGenerate?.description ?? ""
|
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()
|
.padding()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user