用户:高德key、1公里
This commit is contained in:
parent
0a076c245a
commit
12844b406c
@ -159,10 +159,10 @@
|
|||||||
const hasOrder = ref(false); //是否有订单
|
const hasOrder = ref(false); //是否有订单
|
||||||
const showOrder = ref(false);
|
const showOrder = ref(false);
|
||||||
const order = ref({
|
const order = ref({
|
||||||
bikecode: "123456",
|
bikecode: "",
|
||||||
money: "2.5",
|
money: "",
|
||||||
time: "22.58min",
|
time: "",
|
||||||
mileage: "5.6km"
|
mileage: ""
|
||||||
});
|
});
|
||||||
|
|
||||||
//订单信息
|
//订单信息
|
||||||
@ -201,10 +201,9 @@
|
|||||||
const params = {
|
const params = {
|
||||||
latitude,
|
latitude,
|
||||||
longitude,
|
longitude,
|
||||||
radius: 20
|
radius: 1
|
||||||
};
|
};
|
||||||
callOrdereApi("userOrders/bikeList", params, "post").then(res => {
|
callOrdereApi("userOrders/bikeList", params, "post").then(res => {
|
||||||
console.log("11111111111111111", "userOrders/bikeList", res);
|
|
||||||
const {
|
const {
|
||||||
code,
|
code,
|
||||||
data,
|
data,
|
||||||
@ -321,7 +320,6 @@
|
|||||||
callOrdereApi("userOrders/checkHistoryOrder", {
|
callOrdereApi("userOrders/checkHistoryOrder", {
|
||||||
userId
|
userId
|
||||||
}, "get").then(res => {
|
}, "get").then(res => {
|
||||||
console.log("111111111111111", "userOrders/checkHistoryOrder", res);
|
|
||||||
const {
|
const {
|
||||||
code,
|
code,
|
||||||
data,
|
data,
|
||||||
@ -411,9 +409,7 @@
|
|||||||
endTime
|
endTime
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log("7777777777777", params);
|
|
||||||
callOperateApi("ebikeTracking/query", params, "post").then(res => {
|
callOperateApi("ebikeTracking/query", params, "post").then(res => {
|
||||||
console.log("7777777777777", "ebikeTracking/query", res);
|
|
||||||
const {
|
const {
|
||||||
code,
|
code,
|
||||||
data,
|
data,
|
||||||
@ -639,7 +635,6 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
onUnload(() => {
|
onUnload(() => {
|
||||||
console.log("9999999999999999999", "onUnload", orderTimer);
|
|
||||||
})
|
})
|
||||||
|
|
||||||
function parseDate(createTime) {
|
function parseDate(createTime) {
|
||||||
|
|||||||
@ -8,7 +8,7 @@ import {
|
|||||||
|
|
||||||
const imgPath = config.imgPath;
|
const imgPath = config.imgPath;
|
||||||
|
|
||||||
export const sdkKey = '44FBZ-K4ZC3-NDE33-O6JAE-VN3GO-NDFRQ';
|
export const sdkKey = '22095eb86ca9e318c404f9f4a31b20d5';
|
||||||
|
|
||||||
export function getMap (mapid, instance) {
|
export function getMap (mapid, instance) {
|
||||||
return uni.createMapContext(mapid, {
|
return uni.createMapContext(mapid, {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user