|
@@ -9,9 +9,8 @@
|
|
|
<view class="content-view">
|
|
<view class="content-view">
|
|
|
<view :class="['product-title', 'ellipsis2']">{{ i.goods_name }}</view>
|
|
<view :class="['product-title', 'ellipsis2']">{{ i.goods_name }}</view>
|
|
|
<view class="product-price">
|
|
<view class="product-price">
|
|
|
- <text class="product-price-favour" v-if="type==6">¥{{i.cost_price}}</text>
|
|
|
|
|
- <text class="product-price-original"><text class="product-unit">¥</text>{{ i.price }}</text>
|
|
|
|
|
-
|
|
|
|
|
|
|
+ <text class="product-price-favour" v-if="type==6">{{(i.cost_price)}}</text>
|
|
|
|
|
+ <text class="product-price-original">{{ (i.price) }}</text>
|
|
|
<!-- <text class="product-tip">{{i.tip}}</text> -->
|
|
<!-- <text class="product-tip">{{i.tip}}</text> -->
|
|
|
</view>
|
|
</view>
|
|
|
<view class="product-txt" v-if="type != 6">赠送{{ i.give_integral ? i.give_integral + "批发积分" : i.give_cha_bao + "茶宝" }}</view>
|
|
<view class="product-txt" v-if="type != 6">赠送{{ i.give_integral ? i.give_integral + "批发积分" : i.give_cha_bao + "茶宝" }}</view>
|
|
@@ -183,13 +182,24 @@ page {
|
|
|
|
|
|
|
|
.product-price-original {
|
|
.product-price-original {
|
|
|
color: #18bb88;
|
|
color: #18bb88;
|
|
|
- font-size: 32rpx;
|
|
|
|
|
|
|
+ font-size: 28rpx;
|
|
|
|
|
+ &:before{
|
|
|
|
|
+ content:"¥";
|
|
|
|
|
+ font-size: 20rpx;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.product-price-favour {
|
|
.product-price-favour {
|
|
|
- color: #888888;
|
|
|
|
|
|
|
+ color: #888;
|
|
|
text-decoration: line-through;
|
|
text-decoration: line-through;
|
|
|
- margin-left: 10upx;
|
|
|
|
|
|
|
+ font-size: 22rpx;
|
|
|
|
|
+ // margin-left: 10rpx;
|
|
|
|
|
+ margin-right: 10rpx;
|
|
|
|
|
+ &:before{
|
|
|
|
|
+ content:"¥";
|
|
|
|
|
+ font-size: 20rpx;
|
|
|
|
|
+ text-decoration: none;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.product-tip {
|
|
.product-tip {
|
|
@@ -203,7 +213,7 @@ page {
|
|
|
|
|
|
|
|
.product-unit {
|
|
.product-unit {
|
|
|
font-size: 24rpx;
|
|
font-size: 24rpx;
|
|
|
- color: #18bb88;
|
|
|
|
|
|
|
+ // color: #18bb88;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.green{
|
|
.green{
|