1 Star 0 Fork 83

9527259 / yidongyiapp

forked from sectong / yidongyiapp 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
subpage-news_main.html 1.01 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
jiekechoo 提交于 2016-10-12 20:24 . init
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="css/mui.min.css">
</head>
<body>
<div class="mui-content"></div>
</body>
<script src="js/mui.min.js"></script>
<script type="text/javascript">
//启用双击监听
mui.init({
gestureConfig:{
doubletap:true
},
subpages:[{
url:'subpage-news_sub.html',
id:'subpage-news_sub.html',
styles:{
top: '5px',
bottom: '0px',
}
}]
});
var contentWebview = null;
document.querySelector('header').addEventListener('doubletap',function () {
if(contentWebview==null){
contentWebview = plus.webview.currentWebview().children()[0];
}
contentWebview.evalJS("mui('#pullrefresh').pullRefresh().scrollTo(0,0,100)");
});
</script>
</html>
HTML
1
https://gitee.com/yy5271/yidongyiapp.git
git@gitee.com:yy5271/yidongyiapp.git
yy5271
yidongyiapp
yidongyiapp
master

搜索帮助

14c37bed 8189591 565d56ea 8189591