mui中打开新页面时右滑返回和打开动画

popGesture是styles里面的一个属性

                       mui.openWindow({
				url: '../src/detail.html',
				id: 'detail',
				show: {
					aniShow: "slide-in-right",
					autoShow: true, //页面loaded事件发生后自动显示,默认为true
				},
				styles: {
					popGesture: "close",
				},
				waiting: {
					autoShow: true, //自动显示等待框,默认为true
					title: '正在加载...', //等待对话框上显示的提示内容
				}
			})


猜你喜欢

转载自blog.csdn.net/qq_34328404/article/details/78017542