Commit a6257bbe by 赵艳波

tj

parent ef648a3e
Showing with 12 additions and 0 deletions
......@@ -38,7 +38,19 @@ Vue.prototype.setPageNavState = function () {
isShowTitle: false,
isShowNav: false,
isCloseWebView: false
});
bridge.getBarHeight().then(response => {
response = JSON.parse(response);
const barHeight = response.statusBarHeight;
localStorage.setItem("barHeight", barHeight);
console.log('main barHeight=', barHeight);
})
bridge.setBarColor({ "barColor": "#0978e7" });
// try {
// initJsBridge((params) => {
// window.WebViewJavascriptBridge.callHandler(
......
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