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
0de7c4b6
authored
2018-09-08 19:00:46 +0800
by
ex
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
无法获取定位提示
1 parent
982bafbd
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
5 deletions
js/JSBridge.js
js/controller/mainController.js
js/controller/mapController.js
js/service/globalService.js
js/service/wechatPaymentService.js
js/JSBridge.js
View file @
0de7c4b
...
...
@@ -103,7 +103,7 @@ AppClient.prototype.getGPS = function (jsonStr, callback) {
setTimeout
(
function
()
{
if
(
!
isRes
){
layer
.
open
({
content
:
'无法获取定位信息,检查定位设置,或重新
开发
'
content
:
'无法获取定位信息,检查定位设置,或重新
打开
'
})
callback
(
30.2741500000
,
120.1551500000
,
function
(){})
}
...
...
js/controller/mainController.js
View file @
0de7c4b
...
...
@@ -302,7 +302,9 @@ angular.module('myApp')
$rootScope
.
$watch
(
"isLoadFinish"
,
function
(
newVal
,
oldVal
){
if
(
newVal
===
oldVal
)
return
;
if
(
newVal
)
{
document
.
getElementById
(
"sliderMenu"
).
style
.
display
=
"block"
;
if
(
document
.
getElementById
(
"sliderMenu"
)){
document
.
getElementById
(
"sliderMenu"
).
style
.
display
=
"block"
;
}
}
})
...
...
js/controller/mapController.js
View file @
0de7c4b
...
...
@@ -94,6 +94,7 @@ angular.module('myApp')
}
var
initMarkers
=
function
(
points
,
map
)
{
debugger
for
(
var
i
=
0
;
i
<
markers
.
length
;
i
++
)
{
// document.getElementById("mapContainer").removeChild(markers[i].div);
map
.
removeOverlay
(
markers
[
i
]);
...
...
js/service/globalService.js
View file @
0de7c4b
...
...
@@ -25,7 +25,7 @@ angular.module('myApp.services')
globalConfig
.
setParam
(
"dingdaAPI"
,
dingdaAPI
);
//--------------------财务服务--------------
// 生产环境
var
financeAPI
=
"http://
finance.dy.dingdatech.com
"
;
var
financeAPI
=
"http://
47.99.81.49:50413
"
;
// 测试环境
//var financeAPI = "http://finance.api.dingdachuxing.com";
globalConfig
.
setParam
(
"financeAPI"
,
financeAPI
);
...
...
js/service/wechatPaymentService.js
View file @
0de7c4b
...
...
@@ -5,7 +5,7 @@ angular.module('myApp.services')
// var host = 'http://finance.dy.dingdatech.com/service';
// var host = 'http://lsz1.28ms.com/service'
var
host
=
'http://
h5api.dy.dingdatech.com:880
/service'
var
host
=
'http://
47.99.81.49:50413
/service'
var
h5wxhost
=
'http://h5api.dy.dingdachuxing.com/service/balance/'
;
...
...
@@ -115,7 +115,6 @@ angular.module('myApp.services')
' <input type="text" name="amount" value="'
+
amount
+
'" />'
+
' <input type="text" name="body" value="租车租金"/>'
+
' <input type="text" name="type" value="100" />'
+
' <input type="text" name="token" value="'
+
token
+
'" />'
+
' <input type="submit" id="ok">'
+
' </input>'
+
' </form>'
...
...
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