From 8caeb545444ccc9263171b1d426d9ba3f8ba7b46 Mon Sep 17 00:00:00 2001 From: yvan.ni Date: Mon, 18 Nov 2019 11:28:39 +0800 Subject: [PATCH] 1、参与拼团后下方的其他拼团商品的价格显示的金额设为固定了0.01 2、立省的金额会出现多个小数位的问题。 --- pages/goods/goodsInfo/goodsInfo.wxml | 2 +- pages/team/team_show/team_show.wxml | 2 +- pages/team/team_success/team_success.wxml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/goods/goodsInfo/goodsInfo.wxml b/pages/goods/goodsInfo/goodsInfo.wxml index 38c2489..efb1d69 100644 --- a/pages/goods/goodsInfo/goodsInfo.wxml +++ b/pages/goods/goodsInfo/goodsInfo.wxml @@ -306,7 +306,7 @@ {{card_name}} - 成为{{card_name}}立省{{data.market_price-data[card_field]}} + 成为{{card_name}}立省{{filters.toFix(data.market_price-data[card_field],2)}} 开通会员 尽享更多优惠 diff --git a/pages/team/team_show/team_show.wxml b/pages/team/team_show/team_show.wxml index 17d294f..bbaf47a 100644 --- a/pages/team/team_show/team_show.wxml +++ b/pages/team/team_show/team_show.wxml @@ -169,7 +169,7 @@ {{item.goods_name}} - ¥0.01 + ¥{{item.price}} {{teamlist.ct_num}}人 参团 diff --git a/pages/team/team_success/team_success.wxml b/pages/team/team_success/team_success.wxml index 721ca77..baab0ea 100644 --- a/pages/team/team_success/team_success.wxml +++ b/pages/team/team_success/team_success.wxml @@ -244,7 +244,7 @@ - ¥ 0.01 + ¥{{teamlist.price}} {{teamlist.ct_num}} 人参团 -- libgit2 0.21.4