Merged
Merge Request #164
·
created by
1、参与拼团后下方的其他拼团商品的价格显示的金额设为固定了0.01
2、立省的金额会出现多个小数位的问题。
From
dev
into
test
-
Status changed to merged
-
mentioned in commit 29fbcf16069fc9d966c3a622a267f77ddba054e0
-
2、立省的金额会出现多个小数位的问题。
Showing
3 changed files
pages/goods/goodsInfo/goodsInfo.wxml
| @@ -306,7 +306,7 @@ | @@ -306,7 +306,7 @@ | ||
| 306 | <view class="fs24 white view card-name ellipsis-1">{{card_name}}</view> | 306 | <view class="fs24 white view card-name ellipsis-1">{{card_name}}</view> |
| 307 | </view> | 307 | </view> |
| 308 | <view class="card-effect"> | 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 | <view class="fs22 xc-ash"> 开通会员 尽享更多优惠 </view> | 310 | <view class="fs22 xc-ash"> 开通会员 尽享更多优惠 </view> |
| 311 | </view> | 311 | </view> |
| 312 | </view> | 312 | </view> |
pages/team/team_show/team_show.wxml
| @@ -169,7 +169,7 @@ | @@ -169,7 +169,7 @@ | ||
| 169 | <text>{{item.goods_name}}</text> | 169 | <text>{{item.goods_name}}</text> |
| 170 | </view> | 170 | </view> |
| 171 | <view class='price'> | 171 | <view class='price'> |
| 172 | - <view class='jgleft'>¥0.01</view> | 172 | + <view class='jgleft'>¥{{item.price}}</view> |
| 173 | <view class='jgright'>{{teamlist.ct_num}}人 | 173 | <view class='jgright'>{{teamlist.ct_num}}人 |
| 174 | <span>参团</span> | 174 | <span>参团</span> |
| 175 | </view> | 175 | </view> |
pages/team/team_success/team_success.wxml
| @@ -244,7 +244,7 @@ | @@ -244,7 +244,7 @@ | ||
| 244 | <view class='price flex-vertical-between'> | 244 | <view class='price flex-vertical-between'> |
| 245 | <view class='jgleft fs32 flex-center xc-wc'> | 245 | <view class='jgleft fs32 flex-center xc-wc'> |
| 246 | <view class="xc-ping xc-wc fs26 t-c">拼</view> | 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 | </view> | 248 | </view> |
| 249 | <view class='jgright'>{{teamlist.ct_num}} | 249 | <view class='jgright'>{{teamlist.ct_num}} |
| 250 | <span>人参团</span> | 250 | <span>人参团</span> |