|
...
|
...
|
@@ -238,6 +238,7 @@ Page({ |
|
|
|
this.param.tags = this.filterGroupData.tags;
|
|
|
|
this.hasFilterData=true
|
|
|
|
}
|
|
|
|
console.log('this.filterGroupData',this.filterGroupData)
|
|
|
|
if (this.filterGroupData.cuisine) {
|
|
|
|
this.param.cuisine = this.filterGroupData.cuisine;
|
|
|
|
this.hasFilterData=true
|
|
...
|
...
|
@@ -446,19 +447,11 @@ Page({ |
|
|
|
this.getList()
|
|
|
|
},
|
|
|
|
moveToLocation(){
|
|
|
|
if(!this.location || !this.location.latitude || !this.location.longitude){
|
|
|
|
this.selectComponent('#getpos').getPos(true);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
this.suggestion=null
|
|
|
|
this.hasCleanSuggestion=true
|
|
|
|
delete this.options.keyword
|
|
|
|
this.setData({
|
|
|
|
suggestion:null,
|
|
|
|
hasSuggestion:false,
|
|
|
|
keyword:'',
|
|
|
|
})
|
|
|
|
//PubSub.emit('searchParam', {fun:'moveToLocation'})
|
|
|
|
setTimeout(()=>{this.getList()},0)
|
|
|
|
this.selectComponent('#getpos').getPos();
|
|
|
|
},
|
|
|
|
filterShow(){
|
|
|
|
this.selectComponent('#filter').show(this.filterParams);
|
...
|
...
|
|