From 9671d60555b678f7bedd66d6759dc02f5a8bcafa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Thu, 11 Nov 2021 18:15:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=95=86=E5=93=81=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E6=A0=B7=E5=BC=8F=20=E4=BB=A5=E5=8F=8Aes=E4=B8=AD?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E9=83=A8=E5=88=86=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/navigation/search/search.scss | 1 + pages/navigation/search/searchPage.vue | 5 +---- pages/product/goods.vue | 1 + pages/product/shopPageGoods.vue | 2 -- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/pages/navigation/search/search.scss b/pages/navigation/search/search.scss index e4f2fdd..a3efed1 100644 --- a/pages/navigation/search/search.scss +++ b/pages/navigation/search/search.scss @@ -55,6 +55,7 @@ page { padding: 30rpx; > .sort-item { > .sort-title { + margin: 20rpx 0; font-size: 26rpx; font-weight: bold; } diff --git a/pages/navigation/search/searchPage.vue b/pages/navigation/search/searchPage.vue index 21cf078..486ab93 100644 --- a/pages/navigation/search/searchPage.vue +++ b/pages/navigation/search/searchPage.vue @@ -321,8 +321,7 @@ export default { pageNumber: 1, pageSize: 10, // sort: 'grade_asc', - sort: "releaseTime", - order: "desc", + keyword: "", }, minPrice: "", @@ -528,8 +527,6 @@ export default { pageNumber: 1, pageSize: 10, categoryId: this.routerVal.category || "", - order: "desc", - sort: "releaseTime", }; this.goodsList = []; this.loadData(); diff --git a/pages/product/goods.vue b/pages/product/goods.vue index c8b31bc..c3fa1b0 100644 --- a/pages/product/goods.vue +++ b/pages/product/goods.vue @@ -749,6 +749,7 @@ export default { category: this.goodsDetail.categoryId, keyword: this.goodsDetail.name, }).then((res) => { + console.warn(this.likeGoodsList ) this.likeGoodsList = res.data.result.content; }); }, diff --git a/pages/product/shopPageGoods.vue b/pages/product/shopPageGoods.vue index 10a91a7..91ec53b 100644 --- a/pages/product/shopPageGoods.vue +++ b/pages/product/shopPageGoods.vue @@ -32,8 +32,6 @@ export default { params: { pageNumber: 1, pageSize: 10, - - order: "desc", keyword: "", storeCatId: "", storeId: "",