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 () {
);
window.WebViewJavascriptBridge.callHandler(
"getBarHeight",
{
isShowClose: false,
isShowBack: false,
isCloseLeft: false,
isShowTitle: false,
isShowNav: false,
isCloseWebView: false
},
function (response) {
console.log("main getBarHeight ios/android的回传数据: ", response);
null,
function(response) {
console.log(
"getBarHeight来自 ios/android的回传数据: ",
response
);
if (response) {
const barHeight = response.statusBarHeight;
const conHeight = 46 + barHeight;
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