页面存在局部滚动 在不动态获取节点计算高度 让他根据父级自适应
<view class="box">
<view class="flex-box">
<scroll-view></scroll-view>
</view>
<view class="flex-end"></view>
</view>
.box{
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
}
scroll-view{
width: 100%;
height: 100%;
}
.flex-box{
width: 100%;
overflow-y: scroll;
}
.flex-end{
width: 100%;
flex-shrink: 0;
}