mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-17 07:55:53 +08:00
优化商品筛选楼层装修判断
This commit is contained in:
@@ -501,6 +501,7 @@ export default {
|
||||
this.sortParams = {
|
||||
pageNumber: 1,
|
||||
pageSize: 10,
|
||||
categoryId:this.routerVal.category || ''
|
||||
};
|
||||
this.sortPopup = false;
|
||||
this.initSortGoods();
|
||||
@@ -509,6 +510,9 @@ export default {
|
||||
this.params = {
|
||||
pageNumber: 1,
|
||||
pageSize: 10,
|
||||
categoryId:this.routerVal.category || '',
|
||||
order: 'desc',
|
||||
sort: 'releaseTime'
|
||||
};
|
||||
this.goodsList = [];
|
||||
this.loadData();
|
||||
|
||||
@@ -20,7 +20,7 @@ export function modelNavigateTo(item) {
|
||||
});
|
||||
}
|
||||
break;
|
||||
case "stores":
|
||||
case "shops":
|
||||
uni.navigateTo({
|
||||
url: `/pages/product/shopPage?id=${val.id}`,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user