From 86035bc1115373024b4a10aa92cb60325ff4294b Mon Sep 17 00:00:00 2001
From: hzj <1304805162@qq.com>
Date: Mon, 19 Jan 2026 21:01:46 +0800
Subject: [PATCH] =?UTF-8?q?feat(cp=E6=8E=92=E8=A1=8C=E6=A6=9C):=20?=
=?UTF-8?q?=E5=8F=91=E9=80=81=E4=BF=A1=E4=BB=B6=E6=8C=89=E9=92=AE=E9=98=B2?=
=?UTF-8?q?=E6=8A=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/Ranking/Couple/index.vue | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/src/views/Ranking/Couple/index.vue b/src/views/Ranking/Couple/index.vue
index af7f9ac..b221418 100644
--- a/src/views/Ranking/Couple/index.vue
+++ b/src/views/Ranking/Couple/index.vue
@@ -965,12 +965,15 @@
- {{ record.prize?.prizeName }}
+ {{ record?.prize?.prizeName }}
+
+
+ *{{ record?.prize?.days }}Days
@@ -1208,6 +1211,7 @@ import { showError, showSuccess } from '@/utils/toast.js'
import { handleAvatarImageError, handleRewardImageError } from '@/utils/imageHandler.js'
import { useCoupleStore } from '@/stores/couple'
import { storeToRefs } from 'pinia'
+import { useThrottle, useDebounce } from '@/utils/useDebounce.js'
import { formatRewardDisplay } from '@/utils/rewardFormatter.js'
import {
@@ -1459,7 +1463,11 @@ const cancelSend = () => {
}
// 发送情书
-const sendLoveLetter = async () => {
+const sendLoveLetter = useDebounce(() => {
+ sendLetter() //发送信件
+}, 1000)
+
+const sendLetter = async () => {
if (!selectedCouple.value.account) return
try {
await apiSendLoveLetter({