解决方法:
一、在内容容器加上id,然后通过JS控制
<p class="mui-content mui-scroll-wrapper" id="scr1">
JS部分
<script>
mui('#scr1').scroll();
</script>二、利用创建子页面的方式:
mui.init({
subpages:[{
url:'index.html', //要引入的页面
id:'index.html' , //要引入页面的标志
style:{
top:'50px', //页面顶部的位置
bottom:'0px'
}
extrax{} //额外扩展参数
}]
});在index.html页面中就可以写内容了,而且会出现滚动条。
Copyright © 2019- guanggaoshi.cn 版权所有
违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务