收藏
回答

skyline中scroll-view里的min-height高度问题?

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug scroll-view 工具 最新 最新
<scroll-view :scroll-y="true" class="h-full" type="custom">
  <view class="min-h-100vh flex flex-col">
    <view class="h-10rpx">10</view>
    <view class="flex-1">1</view>
    <view class="h-10rpx">10</view>
  </view>
</scroll-view>
<scroll-view :scroll-y="true" class="h-full" type="custom">
  <view class="min-h-full flex flex-col">
    <view class="h-10rpx">10</view>
    <view class="flex-1">1</view>
    <view class="h-10rpx">10</view>
  </view>
</scroll-view>
//scroll-view下min-height设置100%没有高度 ,直接设置一个高度有高度后,里面的fkex:1也不生效
回答关注问题邀请回答
收藏
登录 后发表内容