|
...
|
...
|
@@ -11,6 +11,11 @@ Page({ |
|
|
|
data: {
|
|
|
|
location:'获取中...',
|
|
|
|
hasFilter:false,//
|
|
|
|
taocanpos:{
|
|
|
|
top:193,
|
|
|
|
left:30,
|
|
|
|
right:30
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
/**
|
|
...
|
...
|
@@ -109,17 +114,17 @@ Page({ |
|
|
|
this.position=e.detail.position
|
|
|
|
this.setData({
|
|
|
|
location:e.detail.isAddr?e.detail.address:e.detail.city.name,
|
|
|
|
IsSetActivityByFoods:false,
|
|
|
|
IsSetActivityByFoods:true,
|
|
|
|
sellers:[],
|
|
|
|
})
|
|
|
|
App.Customer.IsSetActivityByFoods({
|
|
|
|
pid:this.city.pid,
|
|
|
|
code:this.city.code,
|
|
|
|
}).then(res=>{
|
|
|
|
this.setData({
|
|
|
|
IsSetActivityByFoods:res.data,
|
|
|
|
})
|
|
|
|
})
|
|
|
|
// App.Customer.IsSetActivityByFoods({
|
|
|
|
// pid:this.city.pid,
|
|
|
|
// code:this.city.code,
|
|
|
|
// }).then(res=>{
|
|
|
|
// this.setData({
|
|
|
|
// IsSetActivityByFoods:res.data,
|
|
|
|
// })
|
|
|
|
// })
|
|
|
|
this.GetRecomList()
|
|
|
|
},
|
|
|
|
filterParams:null,
|
|
...
|
...
|
@@ -146,12 +151,13 @@ Page({ |
|
|
|
}
|
|
|
|
},
|
|
|
|
goPath(e){
|
|
|
|
let path=util.attr(e,'path');
|
|
|
|
let path=util.attr(e,'path'),tabidx=util.attr(e,'tabidx');
|
|
|
|
wx.navigateTo({
|
|
|
|
url:util.http_build_query({
|
|
|
|
filter:this.filterParams?JSON.stringify(this.filterParams):null,
|
|
|
|
city:JSON.stringify(this.city),
|
|
|
|
hows:JSON.stringify(this.findSellerData),
|
|
|
|
tabidx:tabidx,
|
|
|
|
},path)
|
|
|
|
})
|
|
|
|
},
|
...
|
...
|
|