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(()=>{