From 098d5b7e6acd6354ccf64e2b6675434b32ce08b0 Mon Sep 17 00:00:00 2001 From: Junhui Chen Date: Thu, 11 Sep 2025 17:57:29 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E8=B0=83=E6=95=B4=E7=9B=B2=E7=9B=92?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wake/Features/BlindBox/Components/BackgroundCard.swift | 4 ++-- wake/Features/BlindBox/View/BlindBoxView.swift | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/wake/Features/BlindBox/Components/BackgroundCard.swift b/wake/Features/BlindBox/Components/BackgroundCard.swift index f43cefc..b4a3988 100644 --- a/wake/Features/BlindBox/Components/BackgroundCard.swift +++ b/wake/Features/BlindBox/Components/BackgroundCard.swift @@ -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() diff --git a/wake/Features/BlindBox/View/BlindBoxView.swift b/wake/Features/BlindBox/View/BlindBoxView.swift index 32d90b0..dcd3dd1 100644 --- a/wake/Features/BlindBox/View/BlindBoxView.swift +++ b/wake/Features/BlindBox/View/BlindBoxView.swift @@ -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 阶段显示文字