From 1a5279493b4d96315beafa8b7cbf5062585e91f5 Mon Sep 17 00:00:00 2001 From: bingshuo <565183519@qq.com> Date: Wed, 27 May 2026 19:19:14 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=B0=8F=E7=BA=A2=E4=B9=A6=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=E5=BA=95=E9=83=A8=E6=94=B9=E4=B8=BAcover.guanghulab.c?= =?UTF-8?q?om=E5=AD=90=E5=9F=9F=E5=90=8D=20=C2=B7=20=E7=AD=89=E5=AE=BD?= =?UTF-8?q?=E5=AD=97=E4=BD=93=E6=B0=B4=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- image-studio/templates/xiaohongshu.js | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/image-studio/templates/xiaohongshu.js b/image-studio/templates/xiaohongshu.js index 41ddfe0..b976ea9 100644 --- a/image-studio/templates/xiaohongshu.js +++ b/image-studio/templates/xiaohongshu.js @@ -52,16 +52,10 @@ export function xiaohongshuCard(data) { if (trimmed.startsWith('## ')) { return `
${formatted}
` }).join('\n') - const hasList = bodyLines.some(l => { - const t = l.trimStart() - return t.startsWith('- ') || t.startsWith('• ') - }) - const C = { bg: 'var(--bg, #faf8f5)', primary: 'var(--primary, #1a1a2e)', @@ -293,7 +287,7 @@ export function xiaohongshuCard(data) { border-radius: 2px; } - /* ── 底部 ── */ + /* ── 底部 · 子域名水印 ── */ .footer { display: flex; justify-content: space-between; @@ -305,6 +299,14 @@ export function xiaohongshuCard(data) { letter-spacing: 1px; } + .footer-domain { + font-family: 'SF Mono', 'Fira Code', monospace; + font-size: 16px; + color: ${C.accent}; + opacity: 0.6; + letter-spacing: 1px; + } + .footer-dot { display: inline-block; width: 6px; @@ -323,7 +325,7 @@ export function xiaohongshuCard(data) {