diff --git a/pageChat/chat.vue b/pageChat/chat.vue
index 77ec76f..b7f0bd7 100644
--- a/pageChat/chat.vue
+++ b/pageChat/chat.vue
@@ -50,6 +50,10 @@
>
+
+ {{item.hasGet||0}}人已领取
+ 优惠券
+
{{ item.coupon.title }}
-
-
+
+
+
¥
- 15
+ {{
+ item.coupon.discountAmount
+ }}
+
+ 满{{ item.coupon.fullAmount }}可用
- 满{{item.coupon.fullAmount}}可用
-
+
+
+
+
+ 商品兑换券
+
+ 满{{ item.coupon.fullAmount }}可用
+
+
+
+
+
+
+ {{ item.coupon.discountRate / 100 }}折
+
+ 满{{ item.coupon.fullAmount }}可用
+
+
+
+
+
+ 第二件半价券
+
+
+
+
+
+
+
+ 买一送一券
+
+
+
+
{{item.coupon.couponName}}
有效期:{{ returnTime(item.coupon) }}
@@ -34,6 +85,7 @@
+
diff --git a/pageChat/coupon-activity/index.vue b/pageChat/coupon-activity/index.vue
index 3043a56..7e4df64 100644
--- a/pageChat/coupon-activity/index.vue
+++ b/pageChat/coupon-activity/index.vue
@@ -163,8 +163,9 @@ function sendMsg(msg) {
});
}
function toShare(item) {
+ const hasGet=item.couponJson.giveNum-item.couponJson.leftNum
sendMsg({
- coupon: { ...item.couponJson, title: item.title,activity_id:item.id },
+ coupon: { ...item.couponJson, title: item.title,activity_id:item.id, hasGet:hasGet<=0?0:hasGet} ,
chat_coupon_id:item.id,
msg_type: 4,
});