From e3c0ae2df98bcdd6653e32493d03da481f83cb06 Mon Sep 17 00:00:00 2001 From: zmj <1493694146@qq.com> Date: Wed, 8 Nov 2023 09:13:20 +0800 Subject: [PATCH] =?UTF-8?q?=E9=95=87=E5=85=AC=E5=8F=B8=E9=87=87=E9=9B=86?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- subpkg/townTask/gatherRecords.vue | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/subpkg/townTask/gatherRecords.vue b/subpkg/townTask/gatherRecords.vue index 6479b8d..a0a6815 100644 --- a/subpkg/townTask/gatherRecords.vue +++ b/subpkg/townTask/gatherRecords.vue @@ -44,7 +44,7 @@ - + + @@ -102,13 +102,20 @@ // townTask3List() }, methods: { - open() { - this.show = true - }, - close() { - this.show = false - }, + // open() { + // this.show = true + // }, + // close() { + // this.show = false + // }, + creatFn() { + if (this.page == 1) { + this.navgo(`/subpkg/townTask/townGather?type=plant&task_id=${this.task_id}`) + } else { + this.navgo(`/subpkg/townTask/townGather?type=supply&task_id=${this.task_id}`) + } + }, navgo(url) { this.show = false uni.navigateTo({ @@ -118,7 +125,7 @@ changeTypeCurrent(e) { this.page = e.id // if(e.) - console.log(e.id) + } }