fix: image
This commit is contained in:
@@ -66,6 +66,7 @@
|
|||||||
fontFamily: selectedFont.family,
|
fontFamily: selectedFont.family,
|
||||||
fontSize: fontSize + 'rpx',
|
fontSize: fontSize + 'rpx',
|
||||||
lineHeight: fontSize * 1.5 + 'rpx',
|
lineHeight: fontSize * 1.5 + 'rpx',
|
||||||
|
fontWeight: 'bold',
|
||||||
}"
|
}"
|
||||||
>{{
|
>{{
|
||||||
(targetName || "") + "\n " + (blessingText.content || "")
|
(targetName || "") + "\n " + (blessingText.content || "")
|
||||||
@@ -622,9 +623,11 @@ const handleSignatureBlur = async () => {
|
|||||||
const userAvatar = ref(userStore?.userInfo?.avatarUrl || DEFAULT_AVATAR);
|
const userAvatar = ref(userStore?.userInfo?.avatarUrl || DEFAULT_AVATAR);
|
||||||
|
|
||||||
const blessingText = ref({});
|
const blessingText = ref({});
|
||||||
const fontSize = ref(32);
|
const fontSize = ref(38);
|
||||||
|
|
||||||
const textColors = [
|
const textColors = [
|
||||||
|
'#F8DA84',
|
||||||
|
'#B4802C',
|
||||||
"#000000",
|
"#000000",
|
||||||
"#ffffff",
|
"#ffffff",
|
||||||
"#ff3b30",
|
"#ff3b30",
|
||||||
@@ -637,7 +640,7 @@ const textColors = [
|
|||||||
"#9013FE",
|
"#9013FE",
|
||||||
"#FFC0CB",
|
"#FFC0CB",
|
||||||
];
|
];
|
||||||
const selectedColor = ref("#000000");
|
const selectedColor = ref("#F8DA84");
|
||||||
const signatureColor = ref("#000000");
|
const signatureColor = ref("#000000");
|
||||||
|
|
||||||
const fontList = [
|
const fontList = [
|
||||||
@@ -1283,7 +1286,7 @@ function drawBubbleText(ctx, options) {
|
|||||||
if (!text) return;
|
if (!text) return;
|
||||||
|
|
||||||
ctx.fillStyle = textColor;
|
ctx.fillStyle = textColor;
|
||||||
ctx.font = `${fontSize}px '${fontFamily}'`;
|
ctx.font = `bold ${fontSize}px '${fontFamily}'`;
|
||||||
ctx.textAlign = "left";
|
ctx.textAlign = "left";
|
||||||
ctx.textBaseline = "top";
|
ctx.textBaseline = "top";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user