From 4d0541ce007b3dde9206ea023ddbcbbfc33d2eaa Mon Sep 17 00:00:00 2001 From: zhengshuiqi Date: Sat, 26 Nov 2022 10:58:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DICON=E6=B6=88=E5=A4=B1?= =?UTF-8?q?=E9=97=AE=E9=A2=98&=E4=BF=AE=E5=A4=8D=E4=BC=98=E6=83=A0?= =?UTF-8?q?=E5=8A=B5=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/account/myCoupons.vue | 7 ++++++- pages/index/index.vue | 4 +--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pages/account/myCoupons.vue b/pages/account/myCoupons.vue index cea8244..280aeeb 100644 --- a/pages/account/myCoupons.vue +++ b/pages/account/myCoupons.vue @@ -23,7 +23,7 @@ sorry,no coupons~ - + @@ -52,6 +52,11 @@ back(){ uni.navigateBack() }, + goPages() { + uni.navigateTo({ + url:"/pages/index/pickUpCentre" + }) + }, goPage(e){ if(e==1){ uni.switchTab({ diff --git a/pages/index/index.vue b/pages/index/index.vue index efcf871..2de2390 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -579,7 +579,6 @@ item.content = '' this.info.push(item) this.len = item.blocks.length - // this.len+= this.info.blocks.length //console.log(this.info,'info') } @@ -680,7 +679,6 @@ uni.hideTabBar() }, 1500) console.log(item) - if (item.goodid) { this.query.goods_id = item.goodid this.cartQuery.goods_id = item.goodid @@ -690,7 +688,7 @@ this.cartQuery.goods_id = item.block_link.substring(i + 1, item.block_link.length) } console.log(this.query.goods_id) - this.info = [] + // this.info = [] this.goods_attr_list = [] defaultRequest(this.query).then(res => {