解决秒杀价格的原价格没有小数点问题
This commit is contained in:
parent
15bf3ad508
commit
5afc3affc8
@ -36,8 +36,8 @@
|
||||
<view class="origin-price ss-flex ss-col-center" v-if="state.goodsInfo.marketPrice">
|
||||
|
||||
<view class="origin-price-text">
|
||||
{{ state.selectedSku.marketPrice || state.goodsInfo.marketPrice }}
|
||||
<!-- {{ fen2yuan(state.selectedSku.marketPrice || state.goodsInfo.marketPrice) }} -->
|
||||
<!-- {{ state.selectedSku.marketPrice || state.goodsInfo.marketPrice }} -->
|
||||
{{ fen2yuan(state.selectedSku.marketPrice || state.goodsInfo.marketPrice) }}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -94,8 +94,8 @@
|
||||
v-if="state.goodsInfo.marketPrice"
|
||||
@tap="sheep.$router.go('/pages/goods/index', { id: state.goodsInfo.id })">
|
||||
<view>
|
||||
<!-- <view class="btn-price">{{ fen2yuan(state.goodsInfo.marketPrice) }}</view> -->
|
||||
<view class="btn-price">{{state.goodsInfo.marketPrice}}</view>
|
||||
<view class="btn-price">{{ fen2yuan(state.goodsInfo.marketPrice) }}</view>
|
||||
<!-- <view class="btn-price">{{state.goodsInfo.marketPrice}}</view> -->
|
||||
<view>原价购买</view>
|
||||
</view>
|
||||
</button>
|
||||
|
Loading…
Reference in New Issue
Block a user