From a45db4afbf84346a516770b3dd75d0279fd281c1 Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Wed, 12 Aug 2020 09:32:02 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=B5=8B=E5=80=BCpage1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pageB/search/out.vue | 1 + pageB/search/searchGoods.vue | 3 ++- pageD/attention/attention.vue | 6 +++++- pages/index/index.vue | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) 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(){ -- 2.39.5 From d2c6bcb1bc96a5f8f86de7de7a611d0d5e98be99 Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Wed, 12 Aug 2020 10:43:47 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=88=97=E8=A1=A8=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/zhibo/index.nvue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/zhibo/index.nvue b/pages/zhibo/index.nvue index 4caab61..f981639 100644 --- a/pages/zhibo/index.nvue +++ b/pages/zhibo/index.nvue @@ -391,7 +391,7 @@ export default { that.$forceUpdate(); console.log(that.room) - },60 * 1000) + },10 * 1000) uni.request({ url:"https://dmmall.sdbairui.com/api/Specialci/livingUserInfo", data:{ -- 2.39.5