|
@@ -39,6 +39,10 @@
|
|
|
<view class="Spec">
|
|
|
规格:{{tag.goodsSpec_name}}
|
|
|
</view>
|
|
|
+ <view class="label">
|
|
|
+ <text v-if="tag.gift.length>0" class="label_1">赠品</text>
|
|
|
+ <text v-if="tag.sp_price" class="label_2">特价</text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view class="r">
|
|
|
<view class="price" v-if="type=='0'">
|
|
@@ -693,6 +697,28 @@
|
|
|
font-size: var(--font12Size);
|
|
|
color: var(--f85Color);
|
|
|
}
|
|
|
+
|
|
|
+ .label {
|
|
|
+ display: flex;
|
|
|
+ padding: 1vw 0 0 0;
|
|
|
+
|
|
|
+ .label_1 {
|
|
|
+ margin: 0 1vw 0 0;
|
|
|
+ font-size: 12px;
|
|
|
+ color: #FFA500;
|
|
|
+ border: 1px solid #FFA500;
|
|
|
+ border-radius: 5px;
|
|
|
+ padding: 0 1vw;
|
|
|
+ }
|
|
|
+
|
|
|
+ .label_2 {
|
|
|
+ font-size: 12px;
|
|
|
+ border: 1px solid var(--fFB1Color);
|
|
|
+ color: var(--fFB1Color);
|
|
|
+ border-radius: 5px;
|
|
|
+ padding: 0 1vw;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.r {
|