|
|
@@ -9,12 +9,13 @@
|
|
|
<view class="content-view">
|
|
|
<view :class="['product-title', 'ellipsis1']">{{ i.goods_name }}</view>
|
|
|
<view class="product-price">
|
|
|
- <text class="product-price-original"><text class="product-unit">¥</text>{{ i.price }}</text>
|
|
|
<text class="product-price-favour">¥{{i.cost_price}}</text>
|
|
|
+ <text class="product-price-original"><text class="product-unit">¥</text>{{ i.price }}</text>
|
|
|
+
|
|
|
<!-- <text class="product-tip">{{i.tip}}</text> -->
|
|
|
</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-else>每{{i.interval_time}}分钟降价{{i.drop_range * 100}}%</view>
|
|
|
+ <view class="product-txt" v-else>每<text class="green">{{i.interval_time}}</text> 分钟降价 <text class="green">{{i.drop_range * 100}}%</text> </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -205,6 +206,10 @@ page {
|
|
|
color: #18bb88;
|
|
|
}
|
|
|
|
|
|
+ .green{
|
|
|
+ color: #18bb88;
|
|
|
+ }
|
|
|
+
|
|
|
.product-txt {
|
|
|
font-size: 22rpx;
|
|
|
color: #787878;
|