fix: 优化滚动视图
This commit is contained in:
parent
7d445f7b8b
commit
fe358efb40
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user