|
|
@@ -10,11 +10,11 @@
|
|
|
<view class="tit" >{{ info.itemName || "" }}</view>
|
|
|
<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;line-height: 1;font-size: 20rpx">
|
|
|
+ <view class="flex-space" style="margin-bottom: 50rpx;margin-top:15rpx" v-if="isDiscounts&&Number(oldPrice)>Number(info.price)">
|
|
|
+ <view style="padding:3rpx 10rpx 3rpx 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>
|
|
|
+ <text style="text-decoration:line-through;color:#A9A9A9">¥{{oldPrice}}</text>
|
|
|
</view>
|
|
|
<view class="price" >¥{{ info.price }}</view>
|
|
|
</view>
|
|
|
@@ -233,7 +233,7 @@ export default {
|
|
|
font-size: 32px;
|
|
|
font-weight: 700;
|
|
|
color: #333333;
|
|
|
- padding-top: 10px;
|
|
|
+ padding-top: 2rpx 0 2rpx 0;
|
|
|
}
|
|
|
& .kc {
|
|
|
position: relative;
|