|
@@ -10,7 +10,10 @@
|
|
|
<span v-if="Number(detail.cha_bao) != 0 && Number(detail.cost_price) != 0">+</span>
|
|
<span v-if="Number(detail.cha_bao) != 0 && Number(detail.cost_price) != 0">+</span>
|
|
|
<span v-if="Number(detail.cha_bao) != 0">{{ detail.cha_bao }}茶宝</span>
|
|
<span v-if="Number(detail.cha_bao) != 0">{{ detail.cha_bao }}茶宝</span>
|
|
|
</view>
|
|
</view>
|
|
|
- <view v-else class="price" :class="type == 2 ? 'samll' : ''">¥{{ type == 2 ? detail.trade_price : detail.cost_price }}</view>
|
|
|
|
|
|
|
+ <view v-else class="price" :class="type == 2 ? 'samll' : ''">
|
|
|
|
|
+ <text>¥{{ type == 2 ? detail.trade_price : detail.cost_price }}</text>
|
|
|
|
|
+ <text v-if="type == 6" class="p_favour">{{detail.original_price}}</text>
|
|
|
|
|
+ </view>
|
|
|
<view class="price_span flex_r flex_ac flex_je">
|
|
<view class="price_span flex_r flex_ac flex_je">
|
|
|
<view class="triangle"></view>
|
|
<view class="triangle"></view>
|
|
|
<view class="span_conten flex_r flex_ac flex_jc">{{ tidyTpye(goodsDa.type) }}</view>
|
|
<view class="span_conten flex_r flex_ac flex_jc">{{ tidyTpye(goodsDa.type) }}</view>
|
|
@@ -341,7 +344,7 @@ page {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.price text {
|
|
.price text {
|
|
|
- font-size: 24rpx;
|
|
|
|
|
|
|
+ // font-size: 24rpx;
|
|
|
color: #fff;
|
|
color: #fff;
|
|
|
font-family: "SourceHanSansCN-Medium";
|
|
font-family: "SourceHanSansCN-Medium";
|
|
|
}
|
|
}
|
|
@@ -358,6 +361,14 @@ page {
|
|
|
color: #fff;
|
|
color: #fff;
|
|
|
font-family: "SourceHanSansCN-Medium";
|
|
font-family: "SourceHanSansCN-Medium";
|
|
|
margin-left: 20rpx;
|
|
margin-left: 20rpx;
|
|
|
|
|
+ .p_favour{
|
|
|
|
|
+ font-size: 28rpx;
|
|
|
|
|
+ margin-left: 20rpx;
|
|
|
|
|
+ text-decoration: line-through;
|
|
|
|
|
+ &:before{
|
|
|
|
|
+ content:"¥";
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.span_conten {
|
|
.span_conten {
|