Commit b5faf6202897370a6a359499661dbc34c31e7596
1 parent
5eb83af2
//拼团在点击回来的时候,还是只能是立即购买,不能有购物车的情况
Showing
1 changed file
with
12 additions
and
0 deletions
pages/goods/goodsInfo/goodsInfo.js
| ... | ... | @@ -3396,6 +3396,18 @@ Page({ |
| 3396 | 3396 | }) |
| 3397 | 3397 | } |
| 3398 | 3398 | |
| 3399 | + //拼团在点击回来的时候,还是只能是立即购买,不能有购物车的情况 | |
| 3400 | + if(this.data.base_nor_prom_type==6 && parseInt(gid+'')==parseInt(this.data.base_nor_goods_id+'')){ | |
| 3401 | + this.setData({ | |
| 3402 | + openSpecModal_pt:1, | |
| 3403 | + openSpecModal:0, | |
| 3404 | + sku_g:this.data.sku_g_pt, | |
| 3405 | + is_normal:1 | |
| 3406 | + }) | |
| 3407 | + nor=1; | |
| 3408 | + } | |
| 3409 | + | |
| 3410 | + | |
| 3399 | 3411 | //that.data.change=1; |
| 3400 | 3412 | var item = null; |
| 3401 | 3413 | for (var i in sku_g) { | ... | ... |