From d7f5aab41512ddbba16983ae12c16e9d5335541b Mon Sep 17 00:00:00 2001 From: BTMuli Date: Tue, 19 May 2026 20:15:33 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20=E7=89=B9=E6=AE=8A=E5=A4=84?= =?UTF-8?q?=E7=90=86=E5=B8=83=E4=BC=A6=E5=A6=AE=E5=90=8D=E7=89=87=E6=8F=8F?= =?UTF-8?q?=E8=BF=B0=E8=A7=A3=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/app/to-nameCard.vue | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/components/app/to-nameCard.vue b/src/components/app/to-nameCard.vue index 88964be9..45cfde94 100644 --- a/src/components/app/to-nameCard.vue +++ b/src/components/app/to-nameCard.vue @@ -76,6 +76,21 @@ function parseNameCard(desc: string): string { if (content.length <= 32) array.push(content); else array.push(...parseDesc(content)); } + /* 布伦妮·制裁 */ + if (props?.data?.id === 210281) { + const idx = desc.indexOf("」"); + const quotePart = desc.slice(0, idx + 1); + const afterPart = desc.slice(idx + 1).trimStart(); + array = ["名片纹饰。"]; + const quoteContent = quotePart.match(/「(.+?)」/)?.[1]; + if (quoteContent) { + array.push("「"); + array.push(...parseDesc(quoteContent, true)); + const maxLength = Math.max(...array.map((item) => item.length)); + array.push(" ".repeat(maxLength - 4) + "」"); + } + array.push(afterPart); + } const res = array.join("\n"); if (!res.endsWith("\n")) return res + "\n"; return res;