<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
<title></title>
<script src="js/mui.min.js"></script>
<link href="css/mui.css" rel="stylesheet"/>
</head>
<body>
<div class="mui-scroll-wrapper">
<div class="mui-scroll">
<p>滚动</p>
<p>滚动</p>
<p>滚动</p>
<p>滚动</p>
<p>滚动</p>
<p>滚动</p>
<p>滚动</p>
<p>滚动</p>
<p>滚动</p>
<p>滚动</p>
<p>滚动</p>
<p>滚动</p>
<p>滚动</p>
<p>滚动</p>
<p>滚动</p>
<p>滚动</p>
<p>滚动</p>
</div>
</div>
<script type="text/javascript" charset="utf-8">
mui(".mui-scroll-wrapper").scroll = ({
scrollY:true,
scrollX:false,
startX:0,
startY:0,
indicators:true,
deceleration:0.0006,
bounce:true
})
</script>
</body>
</html>

m***@163.com
- 发布:2017-06-03 10:29
- 更新:2017-06-03 15:46
- 阅读:1130
哪位帮我看看 怎么不能滚动?
分类:MUI
2 个回复
LLgg
把后面的script替换成下面的
这是我的网站,O(∩_∩)O谢谢支持----->>中旋网ZxlmWeb
LLgg
完整代码