zs 2 năm trước cách đây
mục cha
commit
394b5abef6
1 tập tin đã thay đổi với 50 bổ sung0 xóa
  1. 50 0
      pagesMy/order/info.vue

+ 50 - 0
pagesMy/order/info.vue

@@ -44,6 +44,10 @@
 													<view class="specs">
 														{{tag.name}}
 													</view>
+													<view class="other">
+														<text v-if="tag.gift.length>0" class="gift">赠品</text>
+														<text v-if="tag.sp_price" class="act">特价</text>
+													</view>
 												</view>
 												<view class="goodsother">
 													<view v-if="info.type=='0'" class="price">
@@ -103,6 +107,10 @@
 												<view class="specs">
 													{{item.name}}
 												</view>
+												<view class="other">
+													<text v-if="item.gift.length>0" class="gift">赠品</text>
+													<text v-if="item.sp_price" class="act">特价</text>
+												</view>
 											</view>
 											<view class="goodsother">
 												<view v-if="info.type=='0'" class="price">
@@ -377,6 +385,27 @@
 											font-size: var(--font12Size);
 										}
 
+										.other {
+											display: flex;
+											padding: 1vw 0 0 0;
+
+											.gift {
+												margin: 0 1vw 0 0;
+												font-size: 12px;
+												color: #FFA500;
+												border: 1px solid #FFA500;
+												border-radius: 5px;
+												padding: 0 1vw;
+											}
+
+											.act {
+												font-size: 12px;
+												border: 1px solid var(--fFB1Color);
+												color: var(--fFB1Color);
+												border-radius: 5px;
+												padding: 0 1vw;
+											}
+										}
 									}
 
 									.goodsother {
@@ -458,6 +487,27 @@
 										font-size: var(--font12Size);
 									}
 
+									.other {
+										display: flex;
+										padding: 1vw 0 0 0;
+
+										.gift {
+											margin: 0 1vw 0 0;
+											font-size: 12px;
+											color: #FFA500;
+											border: 1px solid #FFA500;
+											border-radius: 5px;
+											padding: 0 1vw;
+										}
+
+										.act {
+											font-size: 12px;
+											border: 1px solid var(--fFB1Color);
+											color: var(--fFB1Color);
+											border-radius: 5px;
+											padding: 0 1vw;
+										}
+									}
 								}
 
 								.goodsother {