Commit b22cd0ff authored by hbcui1984's avatar hbcui1984

修复hello mui分页界面返回键无效的bug;

parent a2664c4b
......@@ -22,15 +22,13 @@
padding-top: 0;
}
</style>
<script type="text/javascript">
mui.init();
</script>
</head>
<body>
<header class="mui-bar mui-bar-nav">
<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
<h1 class="mui-title">Pagination</h1>
</header>
<div class="mui-content">
<div class="mui-content">
<h5 class="mui-content-padded">分页(默认尺寸)</h5>
<div class="mui-content-padded">
<ul class="mui-pagination">
......@@ -194,10 +192,9 @@
</li>
</ul>
</div>
</div>
<script>
</div>
<script>
(function($) {
$('.mui-pagination').on('tap', 'a', function() {
var li = this.parentNode;
var classList = li.classList;
......@@ -239,13 +236,6 @@
}
});
})(mui);
</script>
<style type="text/css">
.mui-content{
padding: 10px;
}
</style>
</body>
</script>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment