整体调整
This commit is contained in:
@@ -90,6 +90,8 @@ export default {
|
||||
isFenxiao: 0,
|
||||
isVip: 0,
|
||||
cid: null,
|
||||
newStatus:null,
|
||||
recommandStatus:null,
|
||||
priceOrder: 0, //1 价格从低到高 2价格从高到低
|
||||
cateList: [],
|
||||
goodsList: [],
|
||||
@@ -107,7 +109,8 @@ export default {
|
||||
this.cateId = options.sid;
|
||||
this.isVip = options.isVip;
|
||||
this.isFenxiao = options.isFenxiao;
|
||||
console.log(options);
|
||||
this.newStatus= options.newStatus;
|
||||
this.recommandStatus= options.recommandStatus;
|
||||
this.productAttributeCategoryId = options.productAttributeCategoryId;
|
||||
this.loadCateList(options.fid, options.sid);
|
||||
this.loadData();
|
||||
@@ -167,8 +170,8 @@ export default {
|
||||
|
||||
}
|
||||
if (this.productAttributeCategoryId) {
|
||||
params.productAttributeCategoryId = this.productAttributeCategoryId;
|
||||
}
|
||||
params.productAttributeCategoryId = this.productAttributeCategoryId;
|
||||
}
|
||||
if (this.keyword) {
|
||||
params.keyword = this.keyword;
|
||||
}
|
||||
@@ -178,6 +181,12 @@ export default {
|
||||
if (this.isFenxiao) {
|
||||
params.isFenxiao = 1;
|
||||
}
|
||||
if (this.newStatus) {
|
||||
params.newStatus = this.newStatus;
|
||||
}
|
||||
if (this.recommandStatus) {
|
||||
params.recommandStatus = this.recommandStatus;
|
||||
}
|
||||
|
||||
console.log("params>>>>",params)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user