From bf70e674ed94870db78a0a5c049cb682776d182f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=88=AA?= Date: Tue, 25 Nov 2025 16:47:40 +0800 Subject: [PATCH] fix: bug --- src/pages/sparring/detail.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/pages/sparring/detail.vue b/src/pages/sparring/detail.vue index 926daec2..41ed9093 100644 --- a/src/pages/sparring/detail.vue +++ b/src/pages/sparring/detail.vue @@ -158,11 +158,12 @@ background-image: url(@/static/images/sparring/top-bg.png); background-repeat: no-repeat; background-size: cover; - height: 436rpx; - clip-path: ellipse(650rpx 327rpx at 375rpx 109rpx); + height: calc(var(--status-bar-height) + 436rpx); + clip-path: ellipse(650rpx 327rpx at 375rpx calc(var(--status-bar-height) + 109rpx)); width: 100%; position: fixed; - top: var(--status-bar-height); + padding-top: var(--status-bar-height); + top: 0; left: 0; z-index: 2;