document.getElementById('offCanvasContentScroll').addEventListener("swipeleft",function(){
console.log("你正在向左滑动");
mui.openWindow({
url: 'attention.html',
id:'attention',
styles:{
top:'44px',//新页面顶部位置
bottom:'0px',//新页面底部位置
},
show:{
autoShow:true,//页面loaded事件发生后自动显示,默认为true
aniShow:'slide-in-right',//页面显示动画,默认为”slide-in-right“;
duration:'1000'//页面动画持续时间,Android平台默认100毫秒,iOS平台默认200毫秒;
},
});
});
在目标页面向左滑动,打开新页面,页面显示动画没有效果,求解
1 个回复
DCloud_UNI_FXY
我这里用你的代码测试没问题