Commit e429b52fb83f529d0d825459741f0d78e3e364a1

Authored by yvan.ni
1 parent c83ee0ec

1. 价格分享

packageA/pages/activity_share/activity_share.js
@@ -574,8 +574,8 @@ Page({ @@ -574,8 +574,8 @@ Page({
574 context.fillText("¥", 416 * unit, 185 * unit); 574 context.fillText("¥", 416 * unit, 185 * unit);
575 context.setFontSize(31 * unit) 575 context.setFontSize(31 * unit)
576 var pri0 = th.data.share_good.shop_price; 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 pri0 = parseFloat(pri0).toFixed(2); 580 pri0 = parseFloat(pri0).toFixed(2);
581 context.fillText(pri0, 438 * unit, 185 * unit); 581 context.fillText(pri0, 438 * unit, 185 * unit);