Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
dy-wx2
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
723ca0bc
authored
2018-08-25 18:10:50 +0800
by
ex
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug 修复
1 parent
9399a019
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
index.html
js/JSBridge.js
index.html
View file @
723ca0b
...
...
@@ -99,7 +99,6 @@
<link
href=
"css/app.css"
rel=
"stylesheet"
/>
<link
href=
"bootstrap/css/bootstrap.min.css"
rel=
"stylesheet"
>
<script
type=
"text/javascript"
src=
"js/jquery-1.9.1.js"
></script>
<script
type=
"text/javascript"
src=
"js/JSBridge.js"
></script>
<script
type=
"text/javascript"
src=
"js/angularjs/angular.min.js"
></script>
<script
type=
"text/javascript"
src=
"js/angularjs/angular-local-storage.js"
></script>
<script
type=
"text/javascript"
src=
"js/angularjs/angular-ui-router.js"
></script>
...
...
@@ -113,6 +112,7 @@
<script
type=
"text/javascript"
src=
"http://api.map.baidu.com/api?v=2.0&ak=QVYxRW2ZxRxLGHycLEcZUTtNfBK8rvwp"
></script>
<script
type=
"text/javascript"
src=
"js/layer/layer.js"
></script>
<script
type=
"text/javascript"
src=
"js/layer/layerMobile/layer.js"
></script>
<script
type=
"text/javascript"
src=
"js/JSBridge.js"
></script>
<!--<script src="js/compress.min.js" type="text/javascript" charset="utf-8"></script>-->
<script
type=
"text/javascript"
src=
"js/app.js"
></script>
...
...
js/JSBridge.js
View file @
723ca0b
...
...
@@ -10,6 +10,13 @@ AppClient.prototype.closePage = function() {
this
.
appObj
.
callHandler
(
"closePageAction"
);
}
}
AppClient
.
prototype
.
login
=
function
()
{
if
(
this
.
isAndroid
)
{
this
.
appObj
.
closePageAction
();
}
else
{
this
.
appObj
.
callHandler
(
"closePageAction"
);
}
}
function
isJson
(
str
)
{
try
{
JSON
.
parse
(
str
);
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment