mui区域滚动失效的问题

在开发 mui加vue 做开发的时候发行这两个框架一起使用问题真的太多了无力吐槽

渲染内容区域要用一个元素包起来(推荐用div) 高度必须auto 或者不设置 否则无法滚动

mui-scroll-wrapper 的overflow 改成 scroll 因为overflow默认是hidden,

<div style="top: 230px;overflow: scroll;height: 65%;" class="mui-scroll-wrapper">
	<div id="pullrefresh" class="mui-scroll" style="height: 100%;">
		<div style="height: auto;">
             //渲染内容区域
		</div>
	</div>		    
</div>

  

猜你喜欢

转载自blog.csdn.net/weixin_42307129/article/details/86136184