Commit 516bb048 by 展昭

03

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