diff --git a/src/api/user.ts b/src/api/user.ts index af203830..cb2ff4be 100644 --- a/src/api/user.ts +++ b/src/api/user.ts @@ -2,7 +2,7 @@ * @Author: 秦少卫 * @Date: 2024-04-24 14:07:06 * @LastEditors: 秦少卫 - * @LastEditTime: 2024-05-29 10:07:24 + * @LastEditTime: 2024-05-30 15:12:53 * @Description: 用户接口登录 */ diff --git a/src/assets/icon/fileType.png b/src/assets/icon/fileType.png new file mode 100644 index 00000000..a5693ec0 Binary files /dev/null and b/src/assets/icon/fileType.png differ diff --git a/src/components/attributeColor.vue b/src/components/attributeColor.vue index 0e627d35..96191e6a 100644 --- a/src/components/attributeColor.vue +++ b/src/components/attributeColor.vue @@ -2,7 +2,7 @@ * @Author: 秦少卫 * @Date: 2024-05-21 10:59:48 * @LastEditors: 秦少卫 - * @LastEditTime: 2024-05-22 09:12:41 + * @LastEditTime: 2024-05-30 10:34:49 * @Description: 渐变 --> @@ -52,13 +52,11 @@ const getObjectAttr = (e) => { const activeObject = canvasEditor.canvas.getActiveObject(); // 不是当前obj,跳过 if (e && e.target && e.target !== activeObject) return; - if (activeObject) { - console.log(activeObject.type); + if (activeObject && mixinState.mSelectMode === 'one') { const fill = activeObject.get('fill'); if (typeof fill === 'string') { baseAttr.fill = fill; } else { - console.log(fill); baseAttr.fill = fabricGradientToCss(fill, activeObject); } } diff --git a/src/components/importJSON.vue b/src/components/importJSON.vue index 5e8681d2..24578d3e 100644 --- a/src/components/importJSON.vue +++ b/src/components/importJSON.vue @@ -2,7 +2,7 @@ * @Author: 秦少卫 * @Date: 2022-09-03 19:16:55 * @LastEditors: 秦少卫 - * @LastEditTime: 2024-05-27 18:56:58 + * @LastEditTime: 2024-05-30 14:14:02 * @Description: 导入JSON文件 --> @@ -25,7 +25,6 @@ - + + + + + diff --git a/src/components/myMaterial/components/fileType.vue b/src/components/myMaterial/components/fileType.vue new file mode 100644 index 00000000..8f5c056e --- /dev/null +++ b/src/components/myMaterial/components/fileType.vue @@ -0,0 +1,135 @@ + + + + + + + diff --git a/src/components/myMaterial/index.vue b/src/components/myMaterial/index.vue index 45a332ee..20a16be5 100644 --- a/src/components/myMaterial/index.vue +++ b/src/components/myMaterial/index.vue @@ -2,13 +2,13 @@ * @Author: 秦少卫 * @Date: 2024-04-25 15:30:54 * @LastEditors: 秦少卫 - * @LastEditTime: 2024-05-11 17:12:21 + * @LastEditTime: 2024-05-30 11:53:28 * @Description: 我的素材 -->