Commit 0478109e authored by youjie's avatar youjie

no message

parent 25263139
......@@ -17,13 +17,13 @@
:longitude="center.longitude"
:latitude="center.latitude"
:include-points="includePoints"
:include-points="includePoints.points"
-->
<map id="map" style="width: 100%; height: 100%;"
:longitude="center.longitude"
:latitude="center.latitude"
:markers="markers"
:include-points="includePoints"
:scale="scale"
@callouttap="handleCalloutClick"
>
</map>
......@@ -96,12 +96,14 @@
center: { longitude: 116.397428, latitude: 39.90923 },
markers: [],
markersObj:{
id: 1,
id: null,
latitude: 39.909,
longitude: 116.39742,
iconPath: '',
title: '',
alpha: 0,
width: 30,
height: 30,
callout:{
content:'¥ 99999起',
bgColor: '#FF3166',
......@@ -116,6 +118,8 @@
padding: 5,
display: 'ALWAYS',
},
joinCluster: true,
clusterId: 10,
},
bubble:[
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638761641584224459.png',
......@@ -158,10 +162,9 @@
padding: [20, 50, 20, 50],
MapType: 0,
includePoints: {
padding: [0, 0, 0, 0],
points: [],
},
points: [],
scale: 13,
};
},
components: {
......@@ -195,7 +198,6 @@
uni.setNavigationBarTitle({
title: "酒店",
});
},
methods: {
getItem(parameters,obj) {
......@@ -305,7 +307,6 @@
this.HotelList = [];
this.markers = []
this.includePoints.points = []
this.points = []
}
this.apipost( "dmc_post_B2BAndB2CGetDidaHotelPage", this.searchObj,
(res) => {
......@@ -344,10 +345,6 @@
latitude: pageData[i].latitude,
longitude: pageData[i].longitude,
})
this.points.push({
latitude: pageData[i].latitude,
longitude: pageData[i].longitude,
})
let obj = JSON.parse(JSON.stringify(this.markersObj))
obj = {
...obj,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment