店铺搜索
This commit is contained in:
@@ -15,11 +15,16 @@ export default {
|
||||
return{
|
||||
type: '', // 1 商家达人社区 2 商品
|
||||
keyword: "",
|
||||
searchwordlist: [],
|
||||
searchwordlist: [],
|
||||
sid:0
|
||||
}
|
||||
},
|
||||
// type: 1 商品 2: 其他
|
||||
onLoad(option) {
|
||||
console.log(option.id)
|
||||
if(option.id != undefined || option.id){
|
||||
this.sid = option.id
|
||||
}
|
||||
this.type = option.type;
|
||||
this.curent = option.curent || 0
|
||||
this.getWordList();
|
||||
@@ -75,6 +80,10 @@ export default {
|
||||
params: params,
|
||||
})
|
||||
}else{
|
||||
if(this.sid !=0 ){
|
||||
params.sid = this.sid
|
||||
console.log(this.sid)
|
||||
}
|
||||
this.$u.route({
|
||||
url: "/pageB/search/searchGoods",
|
||||
params: params,
|
||||
|
||||
Reference in New Issue
Block a user