Commit 3e2abe75cff9b513d6d21228de526eea5dc3e2af

Authored by 后端研发-倪永富
1 parent 44c26815

小数点的问题

pages/goods/goodsInfo/goodsInfo.wxml
... ... @@ -244,7 +244,7 @@
244 244 </view>
245 245 </block>
246 246 <block wx:else>
247   - <text class="rel yuan">¥</text>{{ filters.toFix(data.shop_price,2)}}
  247 + <text class="rel yuan">¥</text>{{filters.toFix(data.shop_price,2)}}
248 248 <view class='yj'><text>原价:¥{{data.market_price}}</text></view>
249 249 </block>
250 250 </view>
... ... @@ -286,7 +286,7 @@
286 286 <view class="fs24 white view card-name ellipsis-1">{{g_filters.get_card_price(data,card_list,1)}}</view>
287 287 </view>
288 288 <view class="card-effect">
289   - <view class="fs24 xc-black3">成为{{g_filters.get_card_price(data,card_list,1)}}立<text class="co-red">省{{data.market_price-g_filters.get_card_price(data,card_list,0)}}</text>元</view>
  289 + <view class="fs24 xc-black3">成为{{g_filters.get_card_price(data,card_list,1)}}立<text class="co-red">省{{filters.toFix(data.market_price-g_filters.get_card_price(data,card_list,0),2)}}</text>元</view>
290 290 <view class="fs22 xc-ash"> 开通会员 尽享更多优惠 </view>
291 291 </view>
292 292 </view>
... ...