diff --git a/pageB/search/out.vue b/pageB/search/out.vue index e4db6b3..e79b153 100644 --- a/pageB/search/out.vue +++ b/pageB/search/out.vue @@ -205,6 +205,7 @@ export default { }, switchCurrent(current) { // if(current == 1 && this.current == 1) this.priceOrderAsc = !this.priceOrderAsc; + this.page = 1; this.current = current; this.goodsList = [] this.ShopSearch() diff --git a/pageB/search/searchGoods.vue b/pageB/search/searchGoods.vue index b20a417..f6f6400 100644 --- a/pageB/search/searchGoods.vue +++ b/pageB/search/searchGoods.vue @@ -128,8 +128,9 @@ export default { }) }, switchCurrent(current) { - this.ShopSearch() + this.page = 1 if(current == 1 && this.current == 1) this.priceOrderAsc = !this.priceOrderAsc; + this.ShopSearch() this.current = current; }, setViewHeight() { diff --git a/pageD/attention/attention.vue b/pageD/attention/attention.vue index afe7eb0..26205dc 100644 --- a/pageD/attention/attention.vue +++ b/pageD/attention/attention.vue @@ -10,7 +10,7 @@ 已关注 - + @@ -39,6 +39,10 @@ onLoad(){ this.snsfriendList() }, + onShow(){ + this.page = 1; + this.snsfriendList(); + }, methods: { // 点击切换颜色 tapClick(index) { diff --git a/pages/index/index.vue b/pages/index/index.vue index 257bdca..30e1048 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -271,7 +271,7 @@ } this.getArticlelist(); if (this.hasLogin) { - this.isNewmembervoucher(); + // this.isNewmembervoucher(); } }, onLoad(){