优化商品筛选楼层装修判断
parent
b1c518c3a8
commit
68bc1d6974
|
@ -501,6 +501,7 @@ export default {
|
||||||
this.sortParams = {
|
this.sortParams = {
|
||||||
pageNumber: 1,
|
pageNumber: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
|
categoryId:this.routerVal.category || ''
|
||||||
};
|
};
|
||||||
this.sortPopup = false;
|
this.sortPopup = false;
|
||||||
this.initSortGoods();
|
this.initSortGoods();
|
||||||
|
@ -509,6 +510,9 @@ export default {
|
||||||
this.params = {
|
this.params = {
|
||||||
pageNumber: 1,
|
pageNumber: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
|
categoryId:this.routerVal.category || '',
|
||||||
|
order: 'desc',
|
||||||
|
sort: 'releaseTime'
|
||||||
};
|
};
|
||||||
this.goodsList = [];
|
this.goodsList = [];
|
||||||
this.loadData();
|
this.loadData();
|
||||||
|
|
|
@ -20,7 +20,7 @@ export function modelNavigateTo(item) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "stores":
|
case "shops":
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/product/shopPage?id=${val.id}`,
|
url: `/pages/product/shopPage?id=${val.id}`,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue