|
...
|
...
|
@@ -45,6 +45,8 @@ Page({ |
|
|
|
/**
|
|
|
|
hasSuggestion=1&keyword=橡树湾&lat=39.662877&lng=118.130962¢re_pos=39.662877,118.130962&multiIndex=0&filter={"consumeStr":"¥200-300","min":"200","max":"300","active":"200,300"}&city={"code":"610100","pid":"610000","name":"西安市","status":"1","last_date":"1598949575"}&hows={"params":{"pnum":{"index":3,"val":4,"type":"pnum"},"date":{"index":0,"val":1606983211,"type":"date"},"dur":{"index":2,"val":3,"type":"dur"}},"paramObj":{"when_date":"2020-12-03","several":4,"daily":3},"paramStr":"12月03日(今天) 晚餐 4位"}
|
|
|
|
|
|
|
|
lat=39.65157&lng=118.15044&keyword=1&multiIndex=0&city={"code":"130200","pid":"130000","name":"唐山市","status":"1","last_date":"1598949575"}&hows={"params":{"pnum":{"index":5,"val":6,"type":"pnum"},"date":{"index":1,"val":1607399207,"type":"date"},"dur":{"index":2,"val":3,"type":"dur"}},"paramObj":{"when_date":"2020-12-08","several":6,"daily":3},"paramStr":"12月08日(明天) 晚餐 6位"}&filter={"consumeStr":"¥101-220","min":"101","max":"220","active":"101,220"}
|
|
|
|
|
|
|
|
city={"code":"130200","pid":"130000","name":"唐山市","status":"1","last_date":"1598949575"}&hows={"params":{"pnum":{"index":3,"val":4,"type":"pnum"},"date":{"index":0,"val":1606984766,"type":"date"},"dur":{"index":2,"val":3,"type":"dur"}},"paramObj":{"when_date":"2020-12-03","several":4,"daily":3},"paramStr":"12月03日(今天) 晚餐 4位"}
|
|
|
|
*/
|
|
|
|
wx.getSystemInfo({
|
|
...
|
...
|
@@ -61,6 +63,7 @@ Page({ |
|
|
|
this.setData({
|
|
|
|
filterParams:this.filterParams,
|
|
|
|
})
|
|
|
|
this.filterGroupData.average=this.filterParams.active
|
|
|
|
}
|
|
|
|
if(options.city){
|
|
|
|
this.city=JSON.parse(options.city)
|
|
...
|
...
|
@@ -85,9 +88,14 @@ Page({ |
|
|
|
}
|
|
|
|
this.setData({
|
|
|
|
hasSuggestion:true,
|
|
|
|
suggestion:this.suggestion
|
|
|
|
suggestion:this.suggestion,
|
|
|
|
keyword:this.options.keyword,
|
|
|
|
})
|
|
|
|
delete this.options.keyword
|
|
|
|
}else if(this.options.keyword){
|
|
|
|
this.setData({
|
|
|
|
keyword:options.keyword,
|
|
|
|
})
|
|
|
|
}
|
|
|
|
let tags=[
|
|
|
|
{id:1,name:'环境好'},
|
|
...
|
...
|
@@ -247,9 +255,11 @@ Page({ |
|
|
|
})
|
|
|
|
this.hasGetSellerEnd=true
|
|
|
|
this.triggerEvent('event',{type:'getListEnd',total:res.data.length})
|
|
|
|
/*
|
|
|
|
if(res.data.length==0 && this.offset==1 && this.location){
|
|
|
|
this.onpos({detail:this.location})
|
|
|
|
this.GetRecommendSellerList()
|
|
|
|
}
|
|
|
|
*/
|
|
|
|
})
|
|
|
|
},
|
|
|
|
/**
|
...
|
...
|
|