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";