|
@@ -83,7 +83,12 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="bottomBox" v-if="!hideBuyState">
|
|
|
- <view class="priceTag">¥ {{toFixed(detail.standPrice)}}</view>
|
|
|
+ <view>
|
|
|
+ <text class="priceTag">¥ {{toFixed(detail.standPrice)}}</text>
|
|
|
+ <!-- <view class="priceTag">¥ {{toFixed(detail.linePrice)}}</view> -->
|
|
|
+ <text v-if="detail.linePrice" class="sale"> ¥ </text>
|
|
|
+ <text v-if="detail.linePrice" class="price_line"> {{ detail.linePrice }}</text>
|
|
|
+ </view>
|
|
|
<view style="display: flex;color: #FFFFFF;align-items: center;">
|
|
|
<view class="btn1" @click="addCart">加购物车</view>
|
|
|
<view class="btn2" @click="buy">立即购买 </view>
|
|
@@ -508,7 +513,7 @@ export default {
|
|
|
margin-right: 12rpx;
|
|
|
}
|
|
|
.noteTag{
|
|
|
- ont-size: 24rpx;
|
|
|
+ font-size: 24rpx;
|
|
|
font-family: PingFang SC;
|
|
|
font-weight: 500;
|
|
|
color: #999999;
|
|
@@ -520,6 +525,17 @@ export default {
|
|
|
font-weight: bold;
|
|
|
color: #FF2D55;
|
|
|
}
|
|
|
+ .sale {
|
|
|
+ color: #999999;
|
|
|
+ font-size: 28rpx;
|
|
|
+ margin-left: 8rpx;
|
|
|
+ }
|
|
|
+ .price_line {
|
|
|
+ color: #999999;
|
|
|
+ font-size: 28rpx;
|
|
|
+ text-decoration:line-through;
|
|
|
+ font-weight: 400;
|
|
|
+ }
|
|
|
.titleTag{
|
|
|
font-size: 32rpx;
|
|
|
font-weight: bold;
|