Commit aae54ecfe79d05172fd68dfdbf8abfc4282fb2d0
1 parent
97f7902b
优惠促销 多促销 点击跳转
Showing
1 changed file
with
3 additions
and
0 deletions
components/promate_pop/promate_pop.js
| @@ -38,6 +38,9 @@ Component({ | @@ -38,6 +38,9 @@ Component({ | ||
| 38 | var item=this.data.cx_prom_group[index]; | 38 | var item=this.data.cx_prom_group[index]; | 
| 39 | 39 | ||
| 40 | var prom_id = item.prom_id; | 40 | var prom_id = item.prom_id; | 
| 41 | + if(!prom_id) prom_id=item.id; | ||
| 42 | + | ||
| 43 | + | ||
| 41 | var prom_type = item.prom_type; | 44 | var prom_type = item.prom_type; | 
| 42 | var url=''; | 45 | var url=''; | 
| 43 | switch (parseInt(prom_type)){ | 46 | switch (parseInt(prom_type)){ |