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 @@ 立即秒杀 - +