略略略略略略略略略略略略

This commit is contained in:
李志鹏
2026-01-08 14:29:10 +08:00
parent 567ae02c48
commit 4e0faed88e
17 changed files with 229 additions and 152 deletions

View File

@@ -71,8 +71,8 @@ const editorConfig = {
const exportImage = async () => {
if (canvasEditor.value) {
const base64 = await canvasEditor.value.exportImage({
isContainFixed: false, // 是否导出底图
isContainFixedOther: false, // 是否导出其他固定图层
isContainFixed: true, // 是否导出底图
isContainFixedOther: true, // 是否导出其他固定图层
isContainBg: false, // 是否导出背景
isEnhanceImg: false, // 是否导出增强图片
});
@@ -301,7 +301,7 @@ const otherData = {
designType: "Library",
path: "/src/assets/images/canvas/yinhua1.jpg",
location: [250, 780],
scale: [0.5 * 0.7, 0.272541 * 0.7],
scale: [0.3, 0.4],
angle: 0,
},
{
@@ -309,8 +309,8 @@ const otherData = {
level2Type: "Pattern",
designType: "Library",
path: "/src/assets/images/canvas/yinhua1.jpg",
location: [250, 780],
scale: [0.5 * 0.7, 0.272541 * 0.7],
location: [650, 650],
scale: [0.15, 0.2],
angle: 0,
},
{
@@ -318,8 +318,8 @@ const otherData = {
level2Type: "Pattern",
designType: "Library",
path: "/src/assets/images/canvas/yinhua1.jpg",
location: [300, 500],
scale: [0.5 * 0.4, 0.272541 * 0.4],
location: [700, 400],
scale: [0.1, 0.133],
angle: 0,
}
]