Commit 41eae8f5 authored by hbcui1984's avatar hbcui1984

解决iOS平台侧滑遮罩不隐藏的问题

parent 041aa61f
...@@ -93,6 +93,9 @@ ...@@ -93,6 +93,9 @@
mui.openWindow({ mui.openWindow({
id: id, id: id,
url: this.href, url: this.href,
styles:{
zindex:2
},
waiting:{ waiting:{
autoShow:false autoShow:false
} }
......
...@@ -37,6 +37,9 @@ ...@@ -37,6 +37,9 @@
}); });
mui.plusReady(function() { mui.plusReady(function() {
if(mui.os.android){
plus.screen.lockOrientation("portrait-primary");
}
//处理侧滑导航,为了避免和子页面初始化等竞争资源,延迟加载侧滑页面; //处理侧滑导航,为了避免和子页面初始化等竞争资源,延迟加载侧滑页面;
setTimeout(function () { setTimeout(function () {
menu= mui.preload({ menu= mui.preload({
...@@ -57,6 +60,7 @@ ...@@ -57,6 +60,7 @@
styles:{ styles:{
left:'70%', left:'70%',
width:'30%', width:'30%',
zindex:1,
opacity:0.1 opacity:0.1
} }
}); });
......
...@@ -440,7 +440,8 @@ ...@@ -440,7 +440,8 @@
url:header, url:header,
id:name+"-main", id:name+"-main",
styles:{ styles:{
popGesture:"hide" popGesture:"hide",
zindex:2
}, },
extras:{ extras:{
mType: 'main' mType: 'main'
...@@ -452,7 +453,8 @@ ...@@ -452,7 +453,8 @@
id:name+"-sub", id:name+"-sub",
styles:{ styles:{
top: '48px', top: '48px',
bottom: '0px' bottom: '0px',
zindex:2
}, },
extras:{ extras:{
mType: 'sub' mType: 'sub'
...@@ -521,6 +523,9 @@ ...@@ -521,6 +523,9 @@
mui.openWindow({ mui.openWindow({
id: id, id: id,
url: this.href, url: this.href,
styles:{
zindex:2
},
waiting: { waiting: {
autoShow: false autoShow: false
} }
......
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