fix: default color

This commit is contained in:
zzc
2026-02-01 00:18:13 +08:00
parent ec48778ee1
commit f9779908d9

View File

@@ -347,8 +347,8 @@ const blessingText = ref({});
const fontSize = ref(32); const fontSize = ref(32);
const textColors = [ const textColors = [
"#ffffff",
"#000000", "#000000",
"#ffffff",
"#ff3b30", "#ff3b30",
"#F5A623", "#F5A623",
"#8B572A", "#8B572A",
@@ -359,8 +359,8 @@ const textColors = [
"#9013FE", "#9013FE",
"#FFC0CB", "#FFC0CB",
]; ];
const selectedColor = ref("#ffffff"); const selectedColor = ref("#000000");
const signatureColor = ref("#ffffff"); const signatureColor = ref("#000000");
const fontList = [ const fontList = [
{ name: "默认", family: "PingFang SC", url: "" }, { name: "默认", family: "PingFang SC", url: "" },
@@ -902,7 +902,7 @@ function drawUserBubble(ctx, options) {
fontSizeName = 24, fontSizeName = 24,
fontSizeDesc = 20, fontSizeDesc = 20,
bubbleColor = "rgba(255,255,255,0.18)", bubbleColor = "rgba(255,255,255,0.18)",
textColor = "#ffffff", textColor = "#000000",
} = options; } = options;
// 设置字体 // 设置字体