<nav class="mui-bar mui-bar-tab">
<a class="mui-tab-item mui-active" id="page_index" target="../page/home.html">
<span class="mui-icon icon iconfont icon-index"></span>
<span class="mui-tab-label">首页</span>
</a>
<a class="mui-tab-item" id="page_fenlei" target="../wangzhan/fenlei.html">
<span class="mui-icon iconfont icon-fenlei"></span>
<span class="mui-tab-label">分类</span>
</a>
<a class="mui-tab-item" id="page_mall" target="../wangzhan/mall.html">
<span class="mui-icon iconfont icon-mall"></span>
<span class="mui-tab-label">商城</span>
</a>
<a class="mui-tab-item" id="page_jifen" target="../wangzhan/jifen.html">
<span class="mui-icon mui-icon-jifen"></span>
<span class="mui-tab-label">积分</span>
</a>
<a class="mui-tab-item" id="page_qiandao" target="../wangzhan/qiandao.html">
<span class="mui-icon mui-icon-qiandao"></span>
<span class="mui-tab-label">签到</span>
</a>
<a class="mui-tab-item" id="page_huiyuan" target="../wangzhan/huiyuan.html">
<span class="mui-icon mui-icon-huiyuan"></span>
<span class="mui-tab-label">会员</span>
</a>
</nav>
<script>
document.getElementById('page_index').addEventListener('tap', function() {
//打开关于页面
mui.openWindow({
url: '../page/home.html',
id:'page_index',
createNew:false,
waiting:{
autoShow:false,
}
});
});
document.getElementById('page_huiyuan').addEventListener('tap', function() {
//打开关于页面
mui.openWindow({
url: '../wangzhan/huiyuan.html',
id:'page_huiyuan',
preload:false,
styles:{
top:'45px',//新页面顶部位置
bottom:'50px',//新页面底部位置
},
createNew:false,
waiting:{
autoShow:false,
}
});
});
3 个回复
晓灰灰
lz 此问题是否解决,我现在也是遇到了同样的问题
y***@163.com
我也是的,不是多次,是第一次 就觉得闪闪的,什么转场动画啊,一点也不流畅的感觉。。。
8***@qq.com - 1111
我也发现这个问题,有没有哪位大神 解决了哇