Commit cf2f5e26bdbd3e5708c134e4bc2cad53aef15cf9

Authored by yvan.ni
1 parent dd8ca6e1

生成海报的时候,允许零售价格的时候

packageA/pages/serviceCard_pd/goodsInfo/goodsInfo.js
... ... @@ -3587,7 +3587,7 @@ Page({
3587 3587  
3588 3588 var wp= 52 * unit;
3589 3589 var hp=755 * unit
3590   - self.draw_pos_price(context,wp,hp,self.data.data.market_price,unit);
  3590 + self.draw_pos_price(context,wp,hp,self.data.data.show_price,unit);
3591 3591 }
3592 3592  
3593 3593  
... ... @@ -3612,7 +3612,7 @@ Page({
3612 3612 context.fillText('¥' + price, 54 * unit, 735 * unit);
3613 3613 var wp= 62 * unit+ut.measureText('¥' + price, 32 * unit);
3614 3614 var hp=735 * unit
3615   - this.draw_pos_price(context,wp,hp,this.data.data.market_price,unit);
  3615 + this.draw_pos_price(context,wp,hp,this.data.data.show_price,unit);
3616 3616  
3617 3617 }
3618 3618  
... ...