5196708a by ex

‘layer’

1 parent cfbe0386
......@@ -56,10 +56,16 @@ AppClient.prototype.getGPS = function (callbackName, callback, jsonStr) {
}
};
window.postERCode = function (_params) {
alert(JSON.stringify(_params))
layer.open({
content: JSON.stringify(_params),
time: 10
});
}
window.postGPS = function (params) {
alert(JSON.stringify(params))
layer.open({
content: JSON.stringify(_params),
time: 10
});
}
if(window.android) {
......
......@@ -115,7 +115,10 @@ angular.module('myApp')
$rootScope.openScan = false;
if(appClient){
appClient.getERCode('postERCode', function (res) {
alert(JSON.stringify(res))
layer.open({
content: JSON.stringify(res) + 'cb',
time: 10
});
}, '')
} else {
layer.open({
......
......@@ -299,7 +299,10 @@ angular.module('myApp')
// });
if(appClient){
appClient.getERCode('postGPS', function (res) {
alert(JSON.stringify(res))
layer.open({
content: JSON.stringify(res) + 'cb',
time: 10
});
onSuccess({
latitude:30.2741500000,
longitude:120.1551500000
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!