Browse Source

Merge branch 'dev' of http://124.70.149.18:10880/lianghj/queenshow into dev

bianjiang 1 year ago
parent
commit
255c1c61d8

+ 16 - 3
src/modules/editor/components/CompUI/customUI/Cards/Card2/index.tsx

@@ -35,7 +35,12 @@ export const { createComp, useCompData } = createCompHooks({
 
 
     item1: () =>
     item1: () =>
       createCompId("Image", {
       createCompId("Image", {
-        value: { url: thumbnail, x: 26.5, y: -23.0, s: 4.05 },
+        value: { 
+          url: thumbnail, 
+          matrix: "matrix(4.05, 0, 0, 4.05, -44.1375, -205.257)",
+          w: 95.5,
+          h: 80.0033
+         },
         layout: {
         layout: {
           size: [191, 191],
           size: [191, 191],
           transformMatrix:"matrix(1,0,0,1, 40, 170)",
           transformMatrix:"matrix(1,0,0,1, 40, 170)",
@@ -44,7 +49,11 @@ export const { createComp, useCompData } = createCompHooks({
       }),
       }),
     item2: () =>
     item2: () =>
       createCompId("Image", {
       createCompId("Image", {
-        value: { url: thumbnail, x: -4.0, y: -13.5, s: 3.9 },
+        value: { url: thumbnail, 
+          matrix: "matrix(3.9, 0, 0, 3.9, -153.475, -159.756)",
+          w: 95.5,
+          h: 80.0033
+        },
         layout: {
         layout: {
           size: [191, 191],
           size: [191, 191],
           transformMatrix:"matrix(1, 0, 0, 1, 153, 136)",
           transformMatrix:"matrix(1, 0, 0, 1, 153, 136)",
@@ -53,7 +62,11 @@ export const { createComp, useCompData } = createCompHooks({
       }),
       }),
     item3: () =>
     item3: () =>
       createCompId("Image", {
       createCompId("Image", {
-        value: { url: thumbnail, x: -34.0, y: -3.5, s: 4.0 },
+        value: { url: thumbnail,
+          matrix: " matrix(4, 0, 0, 4, -273.25, -123.757)",
+          w: 95.5,
+          h: 80.0033
+        },
         layout: {
         layout: {
           size: [191, 191],
           size: [191, 191],
           transformMatrix: "matrix(1, 0, 0, 1, 269, 100)",
           transformMatrix: "matrix(1, 0, 0, 1, 269, 100)",