|
|
@@ -11,7 +11,7 @@
|
|
|
<view class="kc num-open_bx flex-space" v-if="type == COMMODITY_TYPE.COMMON">
|
|
|
<view v-if="!offPrice">
|
|
|
<view class="flex-space" style="margin-bottom: 36rpx" v-if="isDiscounts&&Number(oldPrice)>Number(info.price)">
|
|
|
- <view style="padding:0 10rpx;text-align: center;color: red;border: 1px solid red;margin-right: 20rpx">
|
|
|
+ <view style="padding:0 10rpx;text-align: center;color: red;border: 1px solid red;margin-right: 20rpx;line-height: 1;font-size: 20rpx">
|
|
|
{{((Number(info.price)/Number(oldPrice)).toFixed(2)*10).toFixed(1)+'折'}}
|
|
|
</view>
|
|
|
<text style="text-decoration:line-through; ">{{oldPrice}}</text>
|