Commit e429b52fb83f529d0d825459741f0d78e3e364a1
1 parent
c83ee0ec
1. 价格分享
Showing
1 changed file
with
2 additions
and
2 deletions
packageA/pages/activity_share/activity_share.js
| ... | ... | @@ -574,8 +574,8 @@ Page({ |
| 574 | 574 | context.fillText("¥", 416 * unit, 185 * unit); |
| 575 | 575 | context.setFontSize(31 * unit) |
| 576 | 576 | var pri0 = th.data.share_good.shop_price; |
| 577 | - if (th.data.prom_act) | |
| 578 | - pri0 = th.data.prom_act.price; | |
| 577 | + if (th.data.share_good.price) | |
| 578 | + pri0 = th.data.share_good.price; | |
| 579 | 579 | |
| 580 | 580 | pri0 = parseFloat(pri0).toFixed(2); |
| 581 | 581 | context.fillText(pri0, 438 * unit, 185 * unit); | ... | ... |