|
...
|
...
|
@@ -17,7 +17,7 @@ Page({ |
|
|
|
{id:2,name:'菜品有特色'},
|
|
|
|
{id:3,name:'超大包间'},
|
|
|
|
],
|
|
|
|
markers:[],
|
|
|
|
sellers:[],
|
|
|
|
hasMore:true,
|
|
|
|
hasDisabled:true,
|
|
|
|
hasSuggestion:false,
|
|
...
|
...
|
@@ -282,11 +282,11 @@ Page({ |
|
|
|
},
|
|
|
|
getListMore(){
|
|
|
|
this.param.offset+=1;
|
|
|
|
let markers=this.data.markers;
|
|
|
|
let sellers=this.data.sellers;
|
|
|
|
App.Customer.SellerLists(this.param).then(res=>{
|
|
|
|
this.setData({
|
|
|
|
hasMore:res.data.length==this.size,
|
|
|
|
markers:markers.concat(this.sellerFormat(res.data)),
|
|
|
|
sellers:sellers.concat(this.sellerFormat(res.data)),
|
|
|
|
})
|
|
|
|
})
|
|
|
|
},
|
|
...
|
...
|
@@ -389,9 +389,9 @@ Page({ |
|
|
|
this.onpos(e)
|
|
|
|
},500)
|
|
|
|
}
|
|
|
|
if(this.data.markers.length<1){
|
|
|
|
this.GetRecommendSellerList()
|
|
|
|
}
|
|
|
|
// if(this.data.sellers.length<1){
|
|
|
|
// this.GetRecommendSellerList()
|
|
|
|
// }
|
|
|
|
},
|
|
|
|
GetRecommendSellerList(){
|
|
|
|
let param={sid:'sid'}
|
...
|
...
|
|