Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
hrs_app_h5
/
bill
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
516bb048
authored
Aug 28, 2020
by
展昭
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
03
parent
d2e526cb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
public/index.html
public/index.html
View file @
516bb048
...
...
@@ -170,12 +170,13 @@
$
(
"#getOS"
).
click
(
function
()
{
// 通过JsBridge调用原生方法,写法固定,第一个参数时方法名,第二个参数时传入参数,第三个参数时响应回调
window
.
WebViewJavascriptBridge
.
callHandler
(
'setPageNavState'
,
{
isShowClose
:
true
,
headerColor
:
"#f0f"
,
isShowClose
:
false
,
isShowBack
:
false
,
isCloseLeft
:
tru
e
,
isShowTitle
:
tru
e
,
isShowNav
:
tru
e
,
isCloseWebView
:
tru
e
isCloseLeft
:
fals
e
,
isShowTitle
:
fals
e
,
isShowNav
:
fals
e
,
isCloseWebView
:
fals
e
},
function
(
response
)
{
alert
(
response
);
showResponse
(
response
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment