Commit 31665ced8b9f64a56bfbd88d368974187c924cc7
1 parent
ec746ef7
虚拟商品的优化
Showing
1 changed file
with
3 additions
and
3 deletions
packageA/pages/prom_list/prom_list.js
... | ... | @@ -1622,12 +1622,12 @@ Page({ |
1622 | 1622 | var plist=null; |
1623 | 1623 | var lock=0; |
1624 | 1624 | |
1625 | - //---如果是活动的时候--- | |
1626 | - if(th.data.prom_type==1 || th.data.prom_type==6){ | |
1625 | + //---如果是活动的时候,或者是虚拟商品的时候--- | |
1626 | + if(th.data.prom_type==1 || th.data.prom_type==6 || getApp().is_virtual(goodsinfo)){ | |
1627 | 1627 | func(); return false; |
1628 | 1628 | } |
1629 | 1629 | |
1630 | - if(this.data.sales_rules!=2){ | |
1630 | + if(this.data.sales_rules<2){ | |
1631 | 1631 | func(); |
1632 | 1632 | }else{ |
1633 | 1633 | ... | ... |