Commit c5a0e09c by 展昭

Merge branch 'master' into dev

parents a7714cee efb7bb40
Showing with 11 additions and 10 deletions
...@@ -48,16 +48,17 @@ Vue.prototype.setPageNavState = function () { ...@@ -48,16 +48,17 @@ Vue.prototype.setPageNavState = function () {
); );
window.WebViewJavascriptBridge.callHandler( window.WebViewJavascriptBridge.callHandler(
"getBarHeight", "getBarHeight",
{ null,
isShowClose: false, function(response) {
isShowBack: false, console.log(
isCloseLeft: false, "getBarHeight来自 ios/android的回传数据: ",
isShowTitle: false, response
isShowNav: false, );
isCloseWebView: false if (response) {
}, const barHeight = response.statusBarHeight;
function (response) { const conHeight = 46 + barHeight;
console.log("main getBarHeight ios/android的回传数据: ", response); console.log('conHeight=',conHeight);
}
} }
); );
......
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 sign in to comment