From ff04ac44598bdf09e771b0fc87ad97886370eb8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=8B=E4=BA=8E=E5=88=9D=E8=A7=81?= <752204717@qq.com> Date: Thu, 20 Jun 2024 14:23:46 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=92=E6=9D=80+=E5=81=A5=E5=BA=B7=E8=B6=85?= =?UTF-8?q?=E5=B8=82=E5=95=86=E5=93=81=E8=B4=AD=E4=B9=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/peanut/home.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pages/peanut/home.vue b/pages/peanut/home.vue index b939c7f..0087dfb 100644 --- a/pages/peanut/home.vue +++ b/pages/peanut/home.vue @@ -103,7 +103,7 @@ - + @@ -141,7 +141,7 @@ - + @@ -330,6 +330,13 @@ //方法 methods: { ...mapMutations(['setUserInfo']), + goGoodsDetail(v,isMiaosha) { + console.log(v); + uni.navigateTo({ + // url: '../bookShop/commodityDetail?id=' + item.id + url: `/pages/goods/index/index?navTitle=${v.title}&isMiaosha=${isMiaosha}&title=${v.title}&id=${v.productId}`, + }); + }, getWebViewMessage(e) { uni.showModal({ content: JSON.stringify(e.detail),