From 927e9df7de55514e032bdeee9543294f9e0d8028 Mon Sep 17 00:00:00 2001 From: Gsh <15170702455@163.com> Date: Sun, 2 Nov 2025 00:55:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=86=E4=BA=AB=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E5=9B=BA=E5=AE=9A=E4=B8=BA=E6=B5=B7=E5=A4=96=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/CardFlipActivity.vue | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Yi.Ai.Vue3/src/components/userPersonalCenter/components/CardFlipActivity.vue b/Yi.Ai.Vue3/src/components/userPersonalCenter/components/CardFlipActivity.vue index 80e83546..bb6d96ef 100644 --- a/Yi.Ai.Vue3/src/components/userPersonalCenter/components/CardFlipActivity.vue +++ b/Yi.Ai.Vue3/src/components/userPersonalCenter/components/CardFlipActivity.vue @@ -109,7 +109,7 @@ watch( }, 500); } }, - { immediate: true } + { immediate: true }, ); // ============ 新增:初始洗牌动画 ============ @@ -773,9 +773,11 @@ function copyInviteCode() { */ function generateShareLink(): string { const inviteCode = taskData.value?.myInviteCode; - if (!inviteCode) return ''; + if (!inviteCode) + return ''; - const baseUrl = window.location.origin; + // const baseUrl = window.location.origin; + const baseUrl = 'https://yxai.chat'; const path = window.location.pathname; return `${baseUrl}${path}?inviteCode=${inviteCode}`; } @@ -1158,7 +1160,9 @@ function getCardClass(record: CardFlipRecord): string[] { 💌 分享给好友,好友使用后可解锁最后3次翻牌机会

-
📱 分享预览
+
+ 📱 分享预览 +
{{ generateShareContent() }}