为什么我的slide滑动区下面没法滑动
来源:4-1 tab 组件基础实现

weixin_慕尼黑5135974
2020-08-19
写回答
2回答
-
花晨月夕1
2021-02-22
<style lang="stylus" scoped>
.tab
>>> .cube-tab
padding 10px 0
position relative
display flex
flex-direction column
height 100%
.slide-wrapper
flex 1
overflow hidden
.cube-slide-item
height calc(100vh - 174px)
</style>
你可以检查一下元素,因为他高都不对,所以你需要设置 height calc(100vh - 174px)
00 -
ustbhuangyi
2020-08-20
检查一下 DOM 结构,是否满足内容区宽(高)度大于外层容器的宽(高)度
022020-08-20
相似问题