diff --git a/pages/navigation/search/searchPage.vue b/pages/navigation/search/searchPage.vue index a3f80af..f7f09cd 100644 --- a/pages/navigation/search/searchPage.vue +++ b/pages/navigation/search/searchPage.vue @@ -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(); diff --git a/pages/tabbar/home/template/tpl.js b/pages/tabbar/home/template/tpl.js index cc5e0fa..007519e 100644 --- a/pages/tabbar/home/template/tpl.js +++ b/pages/tabbar/home/template/tpl.js @@ -20,7 +20,7 @@ export function modelNavigateTo(item) { }); } break; - case "stores": + case "shops": uni.navigateTo({ url: `/pages/product/shopPage?id=${val.id}`, });