|
|
@ -14,11 +14,8 @@ |
|
|
<view class="lf-font-40">{{ goods_detail.name }}</view> |
|
|
<view class="lf-font-40">{{ goods_detail.name }}</view> |
|
|
<view class="lf-row-between lf-font-24 lf-m-t-30 lf-p-b-20"> |
|
|
<view class="lf-row-between lf-font-24 lf-m-t-30 lf-p-b-20"> |
|
|
<view class="lf-flex price"> |
|
|
<view class="lf-flex price"> |
|
|
<view class="lf-font-bold"> |
|
|
|
|
|
<text class="lf-font-24">¥</text> |
|
|
|
|
|
<text class="lf-font-42">{{ goods_detail.specs[0].selling_price }}</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view>¥{{ goods_detail.specs[0].original_price }}</view> |
|
|
|
|
|
|
|
|
<lf-price :price="goods_detail.specs[0].selling_price"></lf-price> |
|
|
|
|
|
<view class="lf-m-l-20">¥{{ goods_detail.specs[0].original_price }}</view> |
|
|
<view v-if="goods_detail.specs[0].cost">{{ goods_detail.specs[0].cost }}</view> |
|
|
<view v-if="goods_detail.specs[0].cost">{{ goods_detail.specs[0].cost }}</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="lf-font-24"> |
|
|
<view class="lf-font-24"> |
|
|
@ -204,17 +201,17 @@ |
|
|
padding: 0 32rpx; |
|
|
padding: 0 32rpx; |
|
|
padding-top: 20rpx; |
|
|
padding-top: 20rpx; |
|
|
background-color: #FFFFFF; |
|
|
background-color: #FFFFFF; |
|
|
|
|
|
// .price>view:nth-of-type(1){ |
|
|
|
|
|
// color: #FF0000; |
|
|
|
|
|
// margin-right: 22rpx; |
|
|
|
|
|
// font-weight: bold; |
|
|
|
|
|
// } |
|
|
.price>view:nth-of-type(1){ |
|
|
.price>view:nth-of-type(1){ |
|
|
color: #FF0000; |
|
|
|
|
|
margin-right: 22rpx; |
|
|
|
|
|
font-weight: bold; |
|
|
|
|
|
} |
|
|
|
|
|
.price>view:nth-of-type(2){ |
|
|
|
|
|
text-decoration: line-through; |
|
|
text-decoration: line-through; |
|
|
color: #777777; |
|
|
color: #777777; |
|
|
margin-right: 22rpx; |
|
|
margin-right: 22rpx; |
|
|
} |
|
|
} |
|
|
.price>view:nth-of-type(3){ |
|
|
|
|
|
|
|
|
.price>view:nth-of-type(2){ |
|
|
width: max-content; |
|
|
width: max-content; |
|
|
padding: 0 18rpx; |
|
|
padding: 0 18rpx; |
|
|
height: 46rpx; |
|
|
height: 46rpx; |
|
|
|