Commit 516bb048 by 展昭

03

parent d2e526cb
Showing with 6 additions and 5 deletions
...@@ -170,12 +170,13 @@ ...@@ -170,12 +170,13 @@
$("#getOS").click(function () { $("#getOS").click(function () {
// 通过JsBridge调用原生方法,写法固定,第一个参数时方法名,第二个参数时传入参数,第三个参数时响应回调 // 通过JsBridge调用原生方法,写法固定,第一个参数时方法名,第二个参数时传入参数,第三个参数时响应回调
window.WebViewJavascriptBridge.callHandler('setPageNavState', { window.WebViewJavascriptBridge.callHandler('setPageNavState', {
isShowClose: true, headerColor: "#f0f",
isShowClose: false,
isShowBack: false, isShowBack: false,
isCloseLeft: true, isCloseLeft: false,
isShowTitle: true, isShowTitle: false,
isShowNav: true, isShowNav: false,
isCloseWebView: true isCloseWebView: false
}, function (response) { }, function (response) {
alert(response); alert(response);
showResponse(response); showResponse(response);
......
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