zhashaonan 7 years ago
parent
commit
95e1dce8cb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/details/details.wxml

+ 1 - 1
pages/details/details.wxml

@@ -29,7 +29,7 @@
     </view>
 
     <view class="goods_desc">
-      <text wx:if="{{getOneSummary['act_type'] == 0}}" decode="{{true}}">红包抵{{(getOneSummary.goods_price*100 - getOneSummary.bonus_price*100) / 100}}元&nbsp;/</text>
+      <text wx:if="{{getOneSummary['act_type'] == 0}}" decode="{{true}}">红包抵{{(getOneSummary.goods_price*10000 - getOneSummary.bonus_price*10000) / 10000}}元&nbsp;/</text>
       <text decode="{{true}}">已售{{getOneSummary.goods_salenum}}件&nbsp;/&nbsp;库存{{getOneSummary.goods_storage}}件</text>
     </view>
   </view>