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 @@