<header class="mui-bar mui-bar-nav ">
<a id="goback" class="mui-icon mui-icon-left-nav mui-pull-left r" href="javascript:;"></a>
<h1 class="mui-title font-color ">发文</h1>
<a id="indexButtom" class="mui-icon mui-pull-right mui-icon-home" ></a>
</header>
document.getElementById('indexButtom').addEventListener('tap', function(event) {
event.preventDefault();
window.location.href='main.html';
});
document.getElementById('goback').addEventListener('tap', function(event) {
event.preventDefault();
window.location.href='main.html';
});
点击跳转的时候header部分变成白色,手机是i5 ios9...还有不能用mui.openWindow跳转,跳转后再进如此页面时再点跳转就会一直是这个页面........求解答...
0 个回复