chore: 调整盲盒位置
This commit is contained in:
parent
411bf440d4
commit
098d5b7e6a
@ -12,7 +12,7 @@ struct CardBlindBackground: View {
|
||||
ScoopRoundedRect(cornerRadius: 20, scoopDepth: 20, scoopHalfWidth: 90, scoopCenterX: 0.5, convexDown: true, flatHalfWidth: 60)
|
||||
.fill(Theme.Colors.primary)
|
||||
.shadow(color: .black.opacity(0.08), radius: 12, y: 6)
|
||||
.padding()
|
||||
// .padding()
|
||||
|
||||
Rectangle()
|
||||
.fill(
|
||||
@ -22,7 +22,7 @@ struct CardBlindBackground: View {
|
||||
endPoint: .bottomLeading
|
||||
)
|
||||
)
|
||||
.frame(width: w - 100 , height: h - 130)
|
||||
.frame(width: w - 60 , height: h - 90)
|
||||
.cornerRadius(20)
|
||||
.padding(.top, Theme.Spacing.lg)
|
||||
// var view = UIView()
|
||||
|
||||
@ -124,7 +124,7 @@ struct BlindBoxView: View {
|
||||
if mediaType == .all {
|
||||
BlindCountBadge(text: "\(viewModel.blindCount?.availableQuantity ?? 0) Boxes")
|
||||
.position(x: UIScreen.main.bounds.width * 0.7,
|
||||
y: UIScreen.main.bounds.height * 0.18)
|
||||
y: UIScreen.main.bounds.height * 0.1)
|
||||
}
|
||||
VStack(spacing: 20) {
|
||||
BlindBoxAnimationView(
|
||||
@ -153,7 +153,6 @@ struct BlindBoxView: View {
|
||||
}
|
||||
)
|
||||
}
|
||||
.offset(y: -50)
|
||||
.compositingGroup()
|
||||
.padding()
|
||||
// 非 opening 阶段显示文字
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user