better scroll
作者:互联网
<script>
import BScroll from 'better-scroll'
method(){
new BScroll('container',{
scrollY: true
})
}
</script>
#container
display flex
overflow hidden
.left-container
position absolute
bottom 0
top 224px
voerflow hidden
#container
display flex
overflow hidden
.left-container
position absolute
height cale(100vh - 224px)
/* vh 视口高度 1vh = 1%*/
标签:container,scroll,better,224px,hidden,BScroll,absolute 来源: https://blog.csdn.net/sc0002/article/details/119879042