| xqd
@@ -414,7 +414,6 @@
|
|
|
...tempobj,
|
|
|
...param
|
|
|
}).then(res => {
|
|
|
-
|
|
|
this.hotelList = res.data.data.map(item=>{
|
|
|
item.logo = this.$utils.toHttps(item.logo);
|
|
|
return {
|
| xqd
@@ -453,8 +452,9 @@
|
|
|
this.hotelList.sort((prev,next)=>{
|
|
|
return prev.distanceToMe-next.distanceToMe;
|
|
|
})
|
|
|
+
|
|
|
setTimeout(()=>{
|
|
|
- if(this.beginConfig.hotel_id==0){
|
|
|
+ if(!this.beginConfig.hotel_id){
|
|
|
this.$refs.map.markertap({markerId: this.hotelList[0].id})
|
|
|
}else{
|
|
|
this.localToMark(this.beginConfig.hotel_id);
|
| xqd
@@ -496,7 +496,6 @@
|
|
|
//合作伙伴刷选
|
|
|
change(e) {
|
|
|
},
|
|
|
-
|
|
|
//展开地区选择
|
|
|
openArea() {
|
|
|
this.isSelectArea = !this.isSelectArea
|