Commit 03f02d8f authored by hbcui1984's avatar hbcui1984

hello mui:父模板webview隐藏动画结束后,再隐藏子webview

parent 029e5f44
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
var contentWebview = null; var contentWebview = null;
mui.back = function() { mui.back = function() {
var current = plus.webview.currentWebview(); var current = plus.webview.currentWebview();
current.hide('auto'); current.hide('auto',function () {
setTimeout(function() { setTimeout(function() {
document.getElementById("title").className = 'mui-title mui-fadeout'; document.getElementById("title").className = 'mui-title mui-fadeout';
if(contentWebview==null){ if(contentWebview==null){
...@@ -91,6 +91,7 @@ ...@@ -91,6 +91,7 @@
} }
contentWebview.hide("none"); contentWebview.hide("none");
}, 200); }, 200);
});
} }
var titleElem = document.getElementById("title") var titleElem = document.getElementById("title")
......
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