From a1fa0c4f153dae79e30df21ffa998ed95c856d51 Mon Sep 17 00:00:00 2001
From: weipengfei <2187978347@qq.com>
Date: Sun, 21 Jan 2024 23:52:07 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/newActivity/invitation/invitation.vue | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/pages/newActivity/invitation/invitation.vue b/pages/newActivity/invitation/invitation.vue
index 9de6cef..58ac88e 100644
--- a/pages/newActivity/invitation/invitation.vue
+++ b/pages/newActivity/invitation/invitation.vue
@@ -27,7 +27,7 @@
-
+
@@ -58,10 +58,10 @@
恭喜你!成功获得
- 元
+ {{red_packet.amount}}元
购买指定商品可直接抵扣使用
- 2024-10-10 18:00:00过期
-
+ {{red_packet.end_time}}过期
+
@@ -130,6 +130,9 @@ export default {
if(res.data.allow_receive) this.status = 1;
})
},
+ opened(){
+ Toast('已经领取过啦!');
+ },
open(){
this.$refs.redPacket.open();
},
@@ -147,7 +150,7 @@ export default {
try{
let {data} = await storeActivityReceive();
this.$nextTick(()=>{
- this.red_packet = data.result;
+ this.red_packet = data;
this.$u.sleep(800).then(()=>{
this.status = 2;
this.$u.sleep(100).then(()=>{