zs 2 years ago
parent
commit
5777fe0934
1 changed files with 26 additions and 0 deletions
  1. 26 0
      pagesHome/order/order.vue

+ 26 - 0
pagesHome/order/order.vue

@@ -39,6 +39,10 @@
 											<view class="Spec">
 											<view class="Spec">
 												规格:{{tag.goodsSpec_name}}
 												规格:{{tag.goodsSpec_name}}
 											</view>
 											</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>
 										<view class="r">
 										<view class="r">
 											<view class="price" v-if="type=='0'">
 											<view class="price" v-if="type=='0'">
@@ -693,6 +697,28 @@
 									font-size: var(--font12Size);
 									font-size: var(--font12Size);
 									color: var(--f85Color);
 									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 {
 							.r {