fix: 优化滚动视图

This commit is contained in:
Jafeng 2026-02-10 09:41:31 +08:00
parent 7d445f7b8b
commit fe358efb40

View File

@ -7,7 +7,7 @@
<FormTemplate v-if="temp" ref="formRef" :items="showItems" :form="forms" @change="onChange" />
</view>
<view style="height: 240rpx;"></view>
<view class="scroll-gap" />
</scroll-view>
<view class="footer">
@ -301,7 +301,6 @@ async function remove() {
.page {
min-height: 100vh;
background: #f5f6f8;
padding-bottom: calc(152rpx + env(safe-area-inset-bottom));
}
.body {
height: 100vh;
@ -310,6 +309,10 @@ async function remove() {
}
.scroll {
flex: 1;
min-height: 0;
}
.scroll-gap {
height: calc(240rpx + env(safe-area-inset-bottom));
}
.header {
background: #fff;