0de7c4b6 by ex

无法获取定位提示

1 parent 982bafbd
......@@ -103,7 +103,7 @@ AppClient.prototype.getGPS = function (jsonStr, callback) {
setTimeout(function () {
if(!isRes){
layer.open({
content: '无法获取定位信息,检查定位设置,或重新开发'
content: '无法获取定位信息,检查定位设置,或重新打开'
})
callback(30.2741500000, 120.1551500000, function(){})
}
......
......@@ -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";
}
}
})
......
......@@ -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]);
......
......@@ -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);
......
......@@ -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>'
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!