|
@@ -238,6 +238,7 @@ Page({ |
|
@@ -238,6 +238,7 @@ Page({ |
|
238
|
this.param.tags = this.filterGroupData.tags;
|
238
|
this.param.tags = this.filterGroupData.tags;
|
|
239
|
this.hasFilterData=true
|
239
|
this.hasFilterData=true
|
|
240
|
}
|
240
|
}
|
|
|
|
241
|
+ console.log('this.filterGroupData',this.filterGroupData)
|
|
241
|
if (this.filterGroupData.cuisine) {
|
242
|
if (this.filterGroupData.cuisine) {
|
|
242
|
this.param.cuisine = this.filterGroupData.cuisine;
|
243
|
this.param.cuisine = this.filterGroupData.cuisine;
|
|
243
|
this.hasFilterData=true
|
244
|
this.hasFilterData=true
|
|
@@ -446,19 +447,11 @@ Page({ |
|
@@ -446,19 +447,11 @@ Page({ |
|
446
|
this.getList()
|
447
|
this.getList()
|
|
447
|
},
|
448
|
},
|
|
448
|
moveToLocation(){
|
449
|
moveToLocation(){
|
|
449
|
- if(!this.location || !this.location.latitude || !this.location.longitude){
|
|
|
|
450
|
- this.selectComponent('#getpos').getPos(true);
|
|
|
|
451
|
- return;
|
|
|
|
452
|
- }
|
|
|
|
453
|
- this.suggestion=null
|
|
|
|
454
|
- this.hasCleanSuggestion=true
|
450
|
+ delete this.options.keyword
|
|
455
|
this.setData({
|
451
|
this.setData({
|
|
456
|
- suggestion:null,
|
|
|
|
457
|
- hasSuggestion:false,
|
|
|
|
458
|
keyword:'',
|
452
|
keyword:'',
|
|
459
|
})
|
453
|
})
|
|
460
|
- //PubSub.emit('searchParam', {fun:'moveToLocation'})
|
|
|
|
461
|
- setTimeout(()=>{this.getList()},0)
|
454
|
+ this.selectComponent('#getpos').getPos();
|
|
462
|
},
|
455
|
},
|
|
463
|
filterShow(){
|
456
|
filterShow(){
|
|
464
|
this.selectComponent('#filter').show(this.filterParams);
|
457
|
this.selectComponent('#filter').show(this.filterParams);
|