From a1c7edf8aec52ce5a11f98490c1ea1218e7e9e34 Mon Sep 17 00:00:00 2001 From: abson Date: Mon, 7 Mar 2022 15:12:35 +0800 Subject: [PATCH] 拼团会员身份 --- pages/goods/goodsInfo/goodsInfo.js | 8 +++++--- pages/goods/goodsInfo/goodsInfo.wxml | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pages/goods/goodsInfo/goodsInfo.js b/pages/goods/goodsInfo/goodsInfo.js index 146b870..4e83a6f 100644 --- a/pages/goods/goodsInfo/goodsInfo.js +++ b/pages/goods/goodsInfo/goodsInfo.js @@ -3632,7 +3632,6 @@ Page({ pageSize: 1000 } }).then(res => { - let pd_list = res.data.data.pageData; if (res.data.code == 0 && pd_list.length > 0) { flag = pd_list.some(pd => { @@ -4362,6 +4361,7 @@ Page({ go_cj_team: function (e) { var ind = e.currentTarget.dataset.ind; var item = this.data.teamgroup[ind]; + var goods_id = e.currentTarget.dataset.goodsid; var id = item.id; var th = this; @@ -4406,15 +4406,17 @@ Page({ getApp().goto("/pages/team/team_success/team_success?ordersn=" + odr.order_sn); } else { + console.log(222,goods_id) wx.navigateTo({ - url: "/pages/team/team_show/team_show?tg_id=" + id, + url: "/pages/team/team_show/team_show?tg_id=" + id +"&goods_id="+goods_id, }); } } //--跳转到参团-- else { + console.log(1111,th.data.goods_id) wx.navigateTo({ - url: "/pages/team/team_show/team_show?tg_id=" + id, + url: "/pages/team/team_show/team_show?tg_id=" + id+"&goods_id="+goods_id, }); } } diff --git a/pages/goods/goodsInfo/goodsInfo.wxml b/pages/goods/goodsInfo/goodsInfo.wxml index 5fcc7ad..fa37630 100644 --- a/pages/goods/goodsInfo/goodsInfo.wxml +++ b/pages/goods/goodsInfo/goodsInfo.wxml @@ -216,7 +216,7 @@ - + -- libgit2 0.21.4