From d17589236f26076019775186b20bba212cd79d83 Mon Sep 17 00:00:00 2001 From: zerosaturation Date: Sun, 12 Apr 2026 21:24:23 +0800 Subject: [PATCH] =?UTF-8?q?feat=20:=E4=BF=AE=E6=94=B9ios=E7=9A=84=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/pages/castlove/create.vue | 13 ++++++-- frontend/pages/components/CastloveContent.vue | 23 +++++++++++-- frontend/pages/discover/generation-result.vue | 7 +++- frontend/pages/profile/profile.vue | 32 +++++++++++++------ 4 files changed, 59 insertions(+), 16 deletions(-) diff --git a/frontend/pages/castlove/create.vue b/frontend/pages/castlove/create.vue index 71ce42d..428f984 100644 --- a/frontend/pages/castlove/create.vue +++ b/frontend/pages/castlove/create.vue @@ -655,7 +655,6 @@ onMounted(() => { position: relative; width: 100vw; height: 100vh; - min-height: 100vh; overflow: hidden; } @@ -687,11 +686,18 @@ onMounted(() => { position: relative; z-index: 1; width: 100%; - min-height: 100%; + height: 100%; padding: 100rpx 32rpx 40rpx 32rpx; box-sizing: border-box; } +/* 隐藏滚动条 */ +.content-wrapper::-webkit-scrollbar { + display: none; + width: 0; + height: 0; +} + /* 页面标题 */ .page-title { width: 100%; @@ -1044,7 +1050,8 @@ onMounted(() => { display: flex; gap: 20rpx; margin-top: 40rpx; - padding-bottom: 40rpx; + padding-bottom: calc(40rpx + constant(safe-area-inset-bottom)); /* iOS 11.0 */ + padding-bottom: calc(40rpx + env(safe-area-inset-bottom)); /* iOS 11.2+ */ } .btn-secondary, diff --git a/frontend/pages/components/CastloveContent.vue b/frontend/pages/components/CastloveContent.vue index fcde3c8..cb8a6b2 100644 --- a/frontend/pages/components/CastloveContent.vue +++ b/frontend/pages/components/CastloveContent.vue @@ -7,7 +7,7 @@ - + @@ -104,7 +104,18 @@