Commit 31665ced8b9f64a56bfbd88d368974187c924cc7

Authored by yvan.ni
1 parent ec746ef7

虚拟商品的优化

packageA/pages/prom_list/prom_list.js
@@ -1622,12 +1622,12 @@ Page({ @@ -1622,12 +1622,12 @@ Page({
1622 var plist=null; 1622 var plist=null;
1623 var lock=0; 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 func(); return false; 1627 func(); return false;
1628 } 1628 }
1629 1629
1630 - if(this.data.sales_rules!=2){ 1630 + if(this.data.sales_rules<2){
1631 func(); 1631 func();
1632 }else{ 1632 }else{
1633 1633