From f4d6a5fcf313b846c1d3f11fdc6fba5e05d83128 Mon Sep 17 00:00:00 2001 From: zzc <1761997216@qq.com> Date: Sun, 8 Feb 2026 11:48:39 +0800 Subject: [PATCH] fix: image --- pages/make/index.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pages/make/index.vue b/pages/make/index.vue index 662c1bc..c4a8b70 100644 --- a/pages/make/index.vue +++ b/pages/make/index.vue @@ -66,6 +66,7 @@ fontFamily: selectedFont.family, fontSize: fontSize + 'rpx', lineHeight: fontSize * 1.5 + 'rpx', + fontWeight: 'bold', }" >{{ (targetName || "") + "\n " + (blessingText.content || "") @@ -622,9 +623,11 @@ const handleSignatureBlur = async () => { const userAvatar = ref(userStore?.userInfo?.avatarUrl || DEFAULT_AVATAR); const blessingText = ref({}); -const fontSize = ref(32); +const fontSize = ref(38); const textColors = [ + '#F8DA84', + '#B4802C', "#000000", "#ffffff", "#ff3b30", @@ -637,7 +640,7 @@ const textColors = [ "#9013FE", "#FFC0CB", ]; -const selectedColor = ref("#000000"); +const selectedColor = ref("#F8DA84"); const signatureColor = ref("#000000"); const fontList = [ @@ -1283,7 +1286,7 @@ function drawBubbleText(ctx, options) { if (!text) return; ctx.fillStyle = textColor; - ctx.font = `${fontSize}px '${fontFamily}'`; + ctx.font = `bold ${fontSize}px '${fontFamily}'`; ctx.textAlign = "left"; ctx.textBaseline = "top";