From 523dadd55d8bd187d7490462b3b2666767459577 Mon Sep 17 00:00:00 2001 From: ghusermoon <2673031505@qq.com> Date: Tue, 11 Aug 2020 18:24:56 +0800 Subject: [PATCH] fixing bug 8.11 --- common/api/shop.js | 7 +++++++ pageB/sdetails/index.vue | 35 ++++++++++++++++++++++++++++------- pageC/merchant/index.vue | 2 +- pages.json | 8 ++++---- 4 files changed, 40 insertions(+), 12 deletions(-) diff --git a/common/api/shop.js b/common/api/shop.js index b4b890b..3e49ee4 100644 --- a/common/api/shop.js +++ b/common/api/shop.js @@ -232,6 +232,13 @@ export default { getPinTuanPush() { return vm.$u.post('Specialci/pintuanPush'); }, + // 拼团验证 + pintuanVerify({ pintuan_id, pintuangroup_headid }) { + return vm.$u.post('Specialci/pintuanVerify', { + pintuan_id: pintuan_id, + pintuangroup_headid: pintuangroup_headid, + }); + }, // 开团/参团 withImmediate({ pintuan_id, pintuangroup_headid, pintuangroup_id}) { return vm.$u.post('Specialci/withImmediate', { diff --git a/pageB/sdetails/index.vue b/pageB/sdetails/index.vue index 734ff0e..3e9a71b 100644 --- a/pageB/sdetails/index.vue +++ b/pageB/sdetails/index.vue @@ -27,10 +27,10 @@ ¥{{ goodsInfo.pintuan_price || '0.00' }} ¥{{ goodsInfo.goods_price || '0.00' }} - - + + - {{ !goodsInfo.goods_collect ? '收藏' : '已收藏' }} + {{ !goodsInfo.is_collect == 1 ? '收藏' : '已收藏' }} @@ -139,7 +139,6 @@ - @@ -180,7 +179,7 @@ 立即秒杀 - +