Commit 8caeb545444ccc9263171b1d426d9ba3f8ba7b46
1 parent
ac2aad22
1、参与拼团后下方的其他拼团商品的价格显示的金额设为固定了0.01
2、立省的金额会出现多个小数位的问题。
Showing
3 changed files
with
3 additions
and
3 deletions
pages/goods/goodsInfo/goodsInfo.wxml
| ... | ... | @@ -306,7 +306,7 @@ |
| 306 | 306 | <view class="fs24 white view card-name ellipsis-1">{{card_name}}</view> |
| 307 | 307 | </view> |
| 308 | 308 | <view class="card-effect"> |
| 309 | - <view class="fs24 xc-black3">成为{{card_name}}立<text class="co-red">省{{data.market_price-data[card_field]}}</text>元</view> | |
| 309 | + <view class="fs24 xc-black3">成为{{card_name}}立<text class="co-red">省{{filters.toFix(data.market_price-data[card_field],2)}}</text>元</view> | |
| 310 | 310 | <view class="fs22 xc-ash"> 开通会员 尽享更多优惠 </view> |
| 311 | 311 | </view> |
| 312 | 312 | </view> | ... | ... |
pages/team/team_show/team_show.wxml
| ... | ... | @@ -169,7 +169,7 @@ |
| 169 | 169 | <text>{{item.goods_name}}</text> |
| 170 | 170 | </view> |
| 171 | 171 | <view class='price'> |
| 172 | - <view class='jgleft'>¥0.01</view> | |
| 172 | + <view class='jgleft'>¥{{item.price}}</view> | |
| 173 | 173 | <view class='jgright'>{{teamlist.ct_num}}人 |
| 174 | 174 | <span>参团</span> |
| 175 | 175 | </view> | ... | ... |
pages/team/team_success/team_success.wxml
| ... | ... | @@ -244,7 +244,7 @@ |
| 244 | 244 | <view class='price flex-vertical-between'> |
| 245 | 245 | <view class='jgleft fs32 flex-center xc-wc'> |
| 246 | 246 | <view class="xc-ping xc-wc fs26 t-c">拼</view> |
| 247 | - <text class="fs20"style='height:39rpx;margin-right:5rpx;margin-left:15rpx;' >¥</text> 0.01 | |
| 247 | + <text class="fs20"style='height:39rpx;margin-right:5rpx;margin-left:15rpx;' >¥</text>{{teamlist.price}} | |
| 248 | 248 | </view> |
| 249 | 249 | <view class='jgright'>{{teamlist.ct_num}} |
| 250 | 250 | <span>人参团</span> | ... | ... |