做下拉刷新的时候发现header也被拖动了,按理来说header是不应该被拖动的,怎么改,把内容列表单独放一个webview吗?可是我的选项卡已经是一个subpage了如果在放subpage就三层嵌套了,感觉不爽
<html ng-app="weixin">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<link rel="stylesheet" type="text/css" href="../css/mui.min.css" />
<link rel="stylesheet" type="text/css" href="../css/main.css" />
<script src="../js/mui.min.js"></script>
</head>
<body ng-controller="mainCtrl">
<header class="mui-bar mui-bar-nav">
<a href="# " id='btn-home' class="mui-pull-left mui-btn ">微信(1)</a>
<a href="# " id='btn-user' class="mui-pull-right mui-btn ">切换用户</a>
</header>
<!--所有的内容要放在 mui-content中,否则会被top-bar遮住-->
<div id="userList" class="mui-content mui-scroll-wrapper">
<div class="mui-scroll">
<user-list ng-controller="userListCtrl"></user-list>
</div>
</div>
</body>
<script src="../js/angular.js"></script>
<script src="../js/main.js"></script>
</html>
DSY (作者)
额,这样的话我有好多页面都要重构了,能不能不嵌套子页面解决这个问题
2015-04-15 18:07