Commit c209a7e4 authored by hbcui1984's avatar hbcui1984

删除mui.currentWebview

parent 826c6bf0
...@@ -70,8 +70,9 @@ ...@@ -70,8 +70,9 @@
if(!showMenu){ if(!showMenu){
//侧滑菜单处于隐藏状态,则立即显示出来; //侧滑菜单处于隐藏状态,则立即显示出来;
menu.show('none',0,function () { menu.show('none',0,function () {
//主窗体开始侧滑; //主窗体开始侧滑并显示遮罩
mui.currentWebview.setStyle({ main.setStyle({
mask:'rgba(0,0,0,0.4)',
left:'70%', left:'70%',
transition: { transition: {
duration: 150 duration: 150
...@@ -79,13 +80,7 @@ ...@@ -79,13 +80,7 @@
}); });
showMenu = true; showMenu = true;
}); });
//显示遮罩
main.setStyle({
mask:'rgba(0,0,0,0.4)'
});
// setTimeout(function () {
//
// },150);
} }
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment